Boost logo

Boost :

From: Geoff Wedig (wedig_at_[hidden])
Date: 2006-10-17 07:55:16

Peter Dimov wrote:
> 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:
> 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.

Yep, that worked like a charm. Thanks so much, I never would have
figured that one out on my own.


Boost list run by bdawes at, gregod at, cpdaniel at, john at