Boost logo

Boost :

From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2003-03-17 23:13:15


I've just checked in a small patch to address this warning:

cc-1460 CC: WARNING File = boost/boost/test/detail/wrap_stringstream.hpp, Line
= 90
  Function function "boost::wrap_stringstream::str" is redeclared "inline"
after
          being called.

  wrap_stringstream::str()
                     ^

Here is the patch:

Index: wrap_stringstream.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/test/detail/wrap_stringstream.hpp,v
retrieving revision 1.2
diff -r1.2 wrap_stringstream.hpp
42,44c42,44
< wrap_stringstream& ref();
< wrapped_stream& stream();
< std::string const& str();

---
>     inline wrap_stringstream&   ref();
>     inline wrapped_stream&      stream();
>     inline std::string const&   str();
I've tested with gcc 2.69, Tru64/cxx and IRIX/CC (MIPSpro). I'll monitor our
auto-builds (next run in about 2 hours) to check that this doesn't unexpectedly
cause any problems somewhere else.
Ralf
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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