Boost logo

Boost :

Subject: Re: [boost] Showstopper for Boost 1.56?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2014-07-29 09:32:21


On Tue, Jul 29, 2014 at 5:27 PM, Peter Dimov <lists_at_[hidden]> wrote:
> Andrey Semashev wrote:
>>
>> On Tue, Jul 29, 2014 at 4:12 PM, Niall Douglas <s_sourceforge_at_[hidden]>
>> wrote:
>> >
>> > I don't believe I do anything special here. Moreover I wasn't seeing >
>> > this warning spew on Boost 1.55 with identical code.
>> >
>> > Here is what Jamfile sets:
>> >
>> > <toolset>clang:<cxxflags>"-std=c++0x -fvisibility-inlines-hidden
>> > -fstrict-aliasing > -Wstrict-aliasing -Wno-unused -Wno-mismatched-tags
>> > -fvisibility=hidden > -fopenmp -fasynchronous-unwind-tables"
>>
>> Unless I'm missing something, C++11 includes C99 preprocessor (variadic
>> macros, at least). So I don't see why these warnings should be emitted. A
>> compiler bug perhaps?
>
>
> C++11 (-std=c++11) does, but -std=c++0x probably doesn't.

Hm, I was under impression these were equivalent. Yep, they are:

https://gcc.gnu.org/gcc-4.7/changes.html

(I am assuming clang should be compatible with gcc; if not I consider
it a bug anyway).


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