Boost logo

Boost Testing :

Subject: Re: [Boost-testing] Issues with variadic macros warnings
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2014-06-10 11:32:21


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_at_[hidden] <mailto:vicente.botet_at_[hidden]>> 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



Boost-testing list run by mbergal at meta-comm.com