On Tue, Jun 10, 2014 at 10:53 AM, Vicente J. Botet Escriba <vicente.botet@wanadoo.fr> wrote:
Le 10/06/14 17:32, Vicente J. Botet Escriba a écrit :
Le 10/06/14 14:48, Tom Kent a écrit :
On Tue, Jun 10, 2014 at 12:41 AM, Vicente J. Botet Escriba <vicente.botet@wanadoo.fr> wrote:
Hi,
There are a lot of warning due to C99 variadic macros.

See http://www.boost.org/development/tests/develop/developer/output/teeks99-04b-Ubuntu12-04-64-boost-bin-v2-libs-thread-test-future__wait_p-test-clang-linux-3-4-debug-threading-multi.html


We need add

-Wno-c99-extensions for c++98

-Wno-variadic-macros for C++11

I don't know how to add them selectively with bjam.

Please could you add them explicitly on your user.config in order to be able to see what is going wrong?

Sure, where do I put them in the user-config.jam file? I have a very minimal one right now. 

Here is mine

using clang : 3.2 : /Users/viboes/clang/clang+llvm-3.2-x86_64-apple-darwin11/bin/clang++ :  <cxxflags>-Wno-c99-extensions ;
using clang : 3.2_11 : /Users/viboes/clang/clang+llvm-3.2-x86_64-apple-darwin11/bin/clang++ : <cxxflags>"-std=c++11 -stdlib=libc++" <linkflags>"-std=c++11 -stdlib=libc++"  <cxxflags>-Wno-variadic-macros ;

Vicente
You need to add also <cxxflags>-Wno-variadic-macros for C++98.

teeks99-03* should now be cycling with -Wno-c99-extensions

I don't have any setup to do C++11 yet.

Tom