Opened 17 years ago

Closed 17 years ago

#587 closed Patches (Fixed)

[regex] fixes warning on mingw

Reported by: Kevin Sopp Owned by: John Maddock
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

[regex]
[current cvs]

mingw automatically defines NOMINMAX in bits/
os_defines.h to protect some standard headers. Compiler 
thus emits a warning about redefinition of NOMINMAX in 
static_mutex.cpp.

[solution]
Add #undef NOMINMAX before #define NOMINMAX to file
libs\regex\src\static_mutex.cpp(27)

Other files which define this are:
libs\regex\src\regex.cpp(31)
libs\regex\src\w32_regex_traits.cpp(27)


Change History (1)

comment:1 by John Maddock, 17 years ago

Status: assignedclosed
Logged In: YES 
user_id=14804

This will be fixed in cvs shortly.

John Maddock
Note: See TracTickets for help on using tickets.