Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2005-06-28 04:43:38


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk