Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-10-12 09:12:31


Geoff Wedig wrote:
> Peter Dimov wrote:
>> Geoff Wedig wrote:
>>
>>> I am attempting to port our source, which makes heavy use of boost,
>>> to RHEL5 with gcc version 4.1.1-18. I am getting 'defined but not
>>> used' warnings from placeholders.hpp. Since we've got a clean
>>> build policy, we need to clean this up somehow. I've done a bit of
>>> googling on both the boost site and the internet trying to
>>> determine where this error appeared from since our other compiles
>>> don't show it.
>>
>> Can you post one such warning, and the version of Boost that you're
>> using?
>
> Sorry this took me so long. Got distracted by a different issue that
> I've been tracking down.
>
> The warnings look like this:
>
> .../boost_1_33_1/boost/bind/placeholders.hpp:56: warning:
> â<unnamed>::_3â defined but not used

You could try the following trivial patch:

http://boost.cvs.sourceforge.net/boost/boost/boost/bind/placeholders.hpp?r1=1.13&r2=1.14

and see if it helps. This is a fix for a problem with g++ precompiled
headers, but it should take care of the warning as well.


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