|
Boost : |
Subject: Re: [boost] Showstopper for Boost 1.56?
From: Peter Dimov (lists_at_[hidden])
Date: 2014-07-29 09:27:42
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk