Boost logo

Boost :

Subject: Re: [boost] lots of warning with gcc-4.8.1 + boost-1.54.0
From: Petr Machata (pmachata_at_[hidden])
Date: 2013-07-18 20:09:11

Nathan Ridge <zeratul976_at_[hidden]> writes:

>> On 3 July 2013 02:41, Nathan Ridge wrote:
>>>> ./boost/bind/arg.hpp:37:22: warning: typedef ‘T_must_be_placeholder’ locally
>>>> defined but not used [-Wunused-local-typedefs]
>> It was new in GCC 4.7,
> I've seen spews of that warning for other large projects, such as
> clang or wxWidgets, not just boost.
> Would GCC consider removing it from -Wall?

GCC doesn't emit this warning if such typedefs are annotated with
__attribute__((__unused__)). We just need to fix all instances of this
problem. So far I identified these there:

- (Boost.Bind)
- (Boost.ConceptCheck)
- (Boost.Serialization)


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