Boost logo

Boost :

Subject: Re: [boost] compilation warning on HEAD
From: Joshua Boyce (raptorfactor_at_[hidden])
Date: 2012-12-13 16:26:30

On Fri, Dec 14, 2012 at 4:04 AM, Gaetano Mendola <mendola_at_[hidden]> wrote:

> The HEAD in trunk have some compilation warnings using gcc 4.7.2
> the following will fix some of those.
> Another warning about unused result is in here:
> libs/serialization/src/basic_iarchive.cpp line 576, the value is
> used in a BOOST_ASSERT, I don't know how you manage those cases.
Typically the following will work:
int result = GetMeaningOfLife();
(void)result; // Tell the compiler to be quiet. Does not affect codegen.
BOOST_ASSERT(result == 42);

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