"Jens Maurer" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Fernando Cacciola wrote: > > Recently, Jens Maurer changed the guard at function scope > > from: > > > > #ifndef __GNUC__ > > to > > #ifndef BOOST_NO_STDC_NAMESPACE > > > > and honestly, I didn't looked much at it as I should. > > > > BOOST_NO_STDC_NAMESPACE is documented to relate to C names, > > but swap is a C++ name so I don't think such macro > > should be used here. > > The CVS change of optional.hpp:1.10 is definitely incorrect, > because STDC_NAMESPACE refers to C names, not C++ names. > Sorry. > > However, just reverting the patch will make gcc-3.3 > non-functional, because std::swap(int,int) (for example) > is not going to be found. > > I've checked in a better fix to the main branch. optional_test.cpp > now works with gcc 2.95, gcc 3.0 and gcc 3.3 on Linux. > Please test on other platforms and (optionally) transport > the fix to the 1.30.0 CVS branch. > > Jens Maurer > Actually, I had fix it for RC_1_30_0 already. If the release goes OK, I think I should merge my fix back to the main trunk.
Thanks anyway. Fernando Cacciola _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost