[regex] Compiler warnings

28 Jun
2005
28 Jun
'05
9:43 a.m.
Currently I get two warning when compiling regex with gcc-3.2.3 on Tru64 and I think the warnings are justified. The first one is in "basic_regex_parser.hpp" at line 1284 where it complains about a signed/unsigned mismatch. The code in question is "(i > (std::numeric_limits<charT>::max)())" where i is an int and charT=wchar_t is unsigned. Isn't there a conversion missing here? The second one is in "cpp_regex_traits.hpp" at line 970. There is a "BOOST_USE_FACET(std::numpunct<char>, ...)" which I think should read "BOOST_USE_FACET(std::numpunct<charT>, ...)". Markus
7289
Age (days ago)
7289
Last active (days ago)
1 comments
2 participants
participants (2)
-
John Maddock
-
Markus Schöpflin