|
Boost Testing : |
Subject: Re: [Boost-testing] igaztanaga-develop-gcc-3.4c++03
From: Edward Diener (eldiener_at_[hidden])
Date: 2016-12-21 16:42:36
On 12/20/2016 2:34 PM, Raffi Enficiaud wrote:
> Le 25/11/2016 à 20:27, Edward Diener a écrit :
>> On 11/24/2016 5:54 PM, Raffi Enficiaud wrote:
>>> Le 24/11/2016 à 23:40, Ion Gaztañaga a écrit :
>>>> On 21/11/2016 13:39, Raffi Enficiaud wrote:
>>>>> Hi there,
>>>>>
>>>>> There is an error for this runner:
>>>>>
>>>>> """
>>>>> cc1plus.exe: error: unrecognized command line option
>>>>> "-Wno-variadic-macros
>>>>> """"
>>>>>
>>>>> Would it be possible to remove this option?
>>>>>
>>>>> Thanks,
>>>>> Raffi
>>>>
>>>> The runner does not have this option. Would you point me to the failed
>>>> test? Maybe that option was added in a library Jamfile.
>>>>
>>>> Best,
>>>>
>>>> Ion
>>> Ah! then it comes from the Jamfile! Sorry for the noise.
>>>
>>> For info:
>>>
http://www.boost.org/development/tests/develop/developer/output/igaztanaga-develop-gcc-3-4c++03-boost-bin-v2-libs-test-test-algorithm-test-test-gcc-mngw-3-4c+-dbg-dbg-symbl-off.html
>>>
>>>
>>>
>>>
>>> I have this property:
>>>
>>> <toolset>gcc:<cxxflags>-Wno-variadic-macros
>>>
>>> which works well for all GCCs except for "gcc-mngw-3.4c+". Is the lack
>>> of the option specific to gcc-mngw? is it possible to
>>> distinguish/silence the problem for gcc-mngw?
>>
>> Look at the VMD test jamfile for how to set '-Wno-variadic-macros' only
>> when it is applicable.
>
> Apparently does not seem to work as expected, at least for 3.4 (runner
> "igaztanaga-develop-gcc-3.4c++03"),
>
>
http://www.boost.org/development/tests/develop/developer/output/igaztanaga-develop-gcc-3-4c++03-boost-bin-v2-libs-test-test-algorithm-test-test-gcc-mngw-3-4c+-dbg-dbg-symbl-off.html
>
>
> Any idea? The lines I added:
>
> [ predef-check "BOOST_COMP_GNUC >= 4.3.0" : :
> <cxxflags>-Wno-variadic-macros ]
>
> instead of
>
> <toolset>gcc:<cxxflags>-Wno-variadic-macros
Did you add:
import ../../predef/check/predef
: check require
: predef-check predef-require ;
at the top of the jamfile ?