|
Boost : |
Subject: Re: [boost] Showstopper for Boost 1.56?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2014-07-30 00:23:57
On 07/30/2014 04:58 AM, Niall Douglas wrote:
> On 29 Jul 2014 at 20:48, Edward Diener wrote:
>
>>> I think we all agree that 23Mb of warnings spew per build using Boost
>>> 1.56 with clang is unacceptable for release. Either
>>> Boost.Preprocessor needs fixing, or clang toolset builds explicitly
>>> need to add -Wno-c99-extensions to every Boost build.
>>
>> The change that was made in Preprocessor is that variadic macros support
>> is turned on for clang by default. I made this change after a number of
>> complaints from users compiling with clang and after verifying that
>> clang has always had variadic macro support.
>>
>> I do realize that clang will spit out lots of warnings, so maybe making
>> this change was not a good idea on a practical level.
>
> That's great news, now we know the cause of the spew!
>
> This is definitely a showstopper for Boost 1.56, megabytes of warning
> spew on clang would be embarrassing for an official release. Bug is
> filed at:
>
> https://svn.boost.org/trac/boost/ticket/10276
I suppose this is unfortunate all round - in particular using -Wno-c99-extensions is way
wider than the warning we're trying to suppress here.
In either case, for a simple change like this, a pull request might be better than
an issue.
- Volodya
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk