|
Boost : |
From: John Maddock (john_maddock_at_[hidden])
Date: 2002-07-12 06:36:51
>
> > > Should BOOST_NO_STD_LOCALE be true for GCC when __GNUC__ < 3 ?
> >
> > It is already, but it's set in the standard library configuration
section,
> > since that part can be replaced (for example by STLport which does have
a
> > std::locale).
>
> Looking at the cvs version of config/stdlib/libstdcpp3.hpp it does not
> contain this logic. A quick test using config_info.cpp verifies that
> on my Mandrake Linux 2.96.2 gcc BOOST_NO_STD_LOCALE is set (correct)
> and not set on gcc 3.0.3 (also correct). Looks like what is really
> happening is that the stdlib/sgi.hpp is included for gcc 2.9x, true?
Yes, libstdcpp3.hpp is only for, well, libstdcpp3 not earlier versions which
are handled by the generic SGI logic (basically we can't really tell them
apart very easily).
John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk