|
Boost : |
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2003-11-27 14:05:08
If there is not way to make manipulators to work for gcc2.95 then go ahead
and apply it.
Gennadiy.
"John Maddock" <john_at_[hidden]> wrote in message
news:024401c3b4e0$18899690$6c840252_at_fuji...
> The following small patches get the unit test lib working with gcc2.95
again
> (tested on Red Hat Linux 9):
>
> Index: detail/wrap_stringstream.hpp
> ===================================================================
> RCS file: /cvsroot/boost/boost/boost/test/detail/wrap_stringstream.hpp,v
> retrieving revision 1.7
> diff -r1.7 wrap_stringstream.hpp
> 107a108
> > #ifndef BOOST_NO_STD_LOCALE
> 136a138
> > #endif
>
> Index: test_tools.cpp
> ===================================================================
> RCS file: /cvsroot/boost/boost/libs/test/src/test_tools.cpp,v
> retrieving revision 1.23
> diff -r1.23 test_tools.cpp
> 197c197,204
> < ostr << std::hex << std::showbase << (int)t;
> ---
> > ostr << std::hex
> > // showbase is only available for new style streams:
> > #ifndef BOOST_NO_STD_LOCALE
> > << std::showbase
> > #else
> > << "0x"
> > #endif
> > << (int)t;
> 205c212,219
> < ostr << std::hex << std::showbase << (int)t;
> ---
> > ostr << std::hex
> > // showbase is only available for new style streams:
> > #ifndef BOOST_NO_STD_LOCALE
> > << std::showbase
> > #else
> > << "0x"
> > #endif
> > << (int)t;
>
> If you want me to apply these let me know,
>
> Thanks,
>
> John.
>
> _______________________________________________
> Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk