Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2006-11-05 07:18:59


Support Requests item #1590783, was opened at 2006-11-05 04:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=207586&aid=1590783&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: spirit
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: joel de guzman (djowel)
Summary: How to avoid compilation warning?

Initial Comment:
Hi,
We use the boost version 1.33.1 , which is compiled
with STLport.
We get the annoyed compilation warning on the
spirit/utility/impl/chset/range_run.ipp:
> more t.cpp
#include "boost/spirit/utility/distinct.hpp"
> g++ -I<path_to_STLport>/5.0.1/stlport -
I<path_to_boost>/1.33.1_with_stlport_5.0.1/include -c
t.cpp
/p/dt/cad/i386_linux26/STLport/5.0.1/stlport/stl/_algo
base.h: In function `const _Tp& stlp_std::min(const
_Tp&, const _Tp&) [with _Tp = wchar_t]':
/p/dt/cad/i386_linux26/boost/1.33.1_with_stlport_5.0.1
/include/boost/spirit/utility/impl/chset/range_run.ipp
:69: instantiated from `void
boost::spirit::utility::impl::range<CharT>::merge
(const boost::spirit::utility::impl::range<CharT>&)
[with CharT = wchar_t]'
/p/dt/cad/i386_linux26/boost/1.33.1_with_stlport_5.0.1
/include/boost/spirit/utility/impl/chset/range_run.ipp
:109: instantiated from `void
boost::spirit::utility::impl::range_run<CharT>::merge
(typename
stlp_std::vector<boost::spirit::utility::impl::range<C
harT>,
stlp_std::allocator<boost::spirit::utility::impl::rang
e<CharT> > >::iterator, const
boost::spirit::utility::impl::range<CharT>&) [with
CharT = wchar_t]'
/p/dt/cad/i386_linux26/boost/1.33.1_with_stlport_5.0.1
/include/boost/spirit/utility/impl/chset/range_run.ipp
:137: instantiated from `void
boost::spirit::utility::impl::range_run<CharT>::set
(const boost::spirit::utility::impl::range<CharT>&)
[with CharT = wchar_t]'
/p/dt/cad/i386_linux26/boost/1.33.1_with_stlport_5.0.1
/include/boost/spirit/utility/impl/chset/basic_chset.i
pp:49: instantiated from `void
boost::spirit::basic_chset<CharT>::set(CharT) [with
CharT = wchar_t]'
/p/dt/cad/i386_linux26/boost/1.33.1_with_stlport_5.0.1
/include/boost/spirit/utility/impl/chset.ipp:117:
instantiated from `boost::spirit::chset<CharT>::chset
(CharT) [with CharT = wchar_t]'
/p/dt/cad/i386_linux26/boost/1.33.1_with_stlport_5.0.1
/include/boost/spirit/utility/chset.hpp:132:
instantiated from here
/p/dt/cad/i386_linux26/STLport/5.0.1/stlport/stl/_algo
base.h:121: warning: returning reference to temporary

Is it possible to avoid or to suppress this warning?

Thanks,
Genia

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=207586&aid=1590783&group_id=7586

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


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