Boost logo

Boost :

From: Chris Trengove (trengove_at_[hidden])
Date: 2003-08-24 22:47:26


Compilation of Boost.Regex using Borland C++ 5.5 currently gives a bunch of
"previous options and warnings not restored" messages. The culprit is
boost/regex/config/cstring.hpp where the lines

#ifdef __BORLANDC__
#pragma option pop
#endif

are incorrectly located within the #ifdef BOOST_NO_STDC_NAMESPACE directive.
They need to be moved down past the corresponding #endif.

Of course, fixing this then unmasks a slew of other compilation warnings, in
particular, in perl_matcher_recursive.hpp.

Chris Trengove


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