Boost logo

Boost :

Subject: Re: [boost] Showstopper for Boost 1.56?
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2014-07-29 08:12:48

On 29 Jul 2014 at 13:11, Jürgen Hunold wrote:

> > Is anyone else seeing this warnings spew on Boost 1.56 beta when
> > compiled with clang 3.4?
> No. But I don't see an AFIO module at the moment.

It hasn't been reviewed yet. It's very easy to install though, see

> >
> > Linux64_clang%203.4/11/consoleFull
> Yes, clang has a lot more warning. Which ones did you enable?

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:

-fvisibility-inlines-hidden -fstrict-aliasing -Wstrict-aliasing
-Wno-unused -Wno-mismatched-tags -fvisibility=hidden -fopenmp

If you ask b2 to print what it's actually calling clang++ with, you

  "clang++" -c -x c++ -std=c++0x -fvisibility-inlines-hidden
-fstrict-aliasing -Wstrict-aliasing -Wno-unused -Wno-mismatched-tags
-fvisibility=hidden -fopenmp -fasynchronous-unwind-tables -O3
-finline-functions -Wno-inline -Wall -pthread -fPIC -std=c++0x
-fvisibility-inlines-hidden -fstrict-aliasing -Wstrict-aliasing
-Wno-unused -Wno-mismatched-tags -fvisibility=hidden -fopenmp
-fasynchronous-unwind-tables -DBOOST_AFIO_DYN_LINK=1
-DBOOST_THREAD_USE_DLL=1 -DNDEBUG -I"." -I"boost/afio" -o
" "libs/afio/src/afio.cpp"

I don't see what would cause the -Wc99-extensions spew, apart from
-Wall which isn't being added by me.

I see that clang 3.3 has the same warnings spew:

As does clang 3.2:


ned Productions Limited Consulting

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