[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost
Subject:    Re: [boost] Showstopper for Boost 1.56?
From:       "Peter Dimov" <lists () pdimov ! com>
Date:       2014-07-29 13:45:06
Message-ID: 5DA9D5E9D76D46188A6C61B0421E1152 () pdimov5
[Download RAW message or body]

Niall Douglas wrote:

> On 29 Jul 2014 at 16:27, Peter Dimov wrote:
>
> > > 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.
>
> That occurred to me too, so I tried -std=c++11 and got the same warnings 
> spew.

Definitely a clang bug then. It should not enable C99 warnings by default in 
C++11 mode. The fix is to disable the warning in the Jamfile. I thought that 
the clang toolset already did that as we've discussed this issue with Edward 
Diener in the past, but I can't find -Wno-c99-extensions anywhere. 


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic