[config] Regression tests and warnings

It appears that the config regression tests treat all warnings as errors. Where is this specified in the jamfiles for config ? I need to run the config regression tests where -Wno-variadic-macros is defined for gcc, so that the warnings for using variadic macros are turned off and therefore no errors occur. What is the best way of modifying the config regression tests to do this ?

It appears that the config regression tests treat all warnings as errors. Where is this specified in the jamfiles for config ?
I need to run the config regression tests where -Wno-variadic-macros is defined for gcc, so that the warnings for using variadic macros are turned off and therefore no errors occur. What is the best way of modifying the config regression tests to do this ?
As far as I know it's not set anywhere - and indeed I do often see warnings from the test cases when running the tests - indeed the current GCC tests are all passing here: http://beta.boost.org/development/tests/trunk/developer/config.html. Can you be more specific? John.

On 5/3/2011 3:58 AM, John Maddock wrote:
It appears that the config regression tests treat all warnings as errors. Where is this specified in the jamfiles for config ?
I need to run the config regression tests where -Wno-variadic-macros is defined for gcc, so that the warnings for using variadic macros are turned off and therefore no errors occur. What is the best way of modifying the config regression tests to do this ?
As far as I know it's not set anywhere - and indeed I do often see warnings from the test cases when running the tests - indeed the current GCC tests are all passing here: http://beta.boost.org/development/tests/trunk/developer/config.html.
Can you be more specific?
My mistake. It is in type_traits that I see that warnings become errors in the regression tests. I need to change my local type_traits regression tests so that -Wno-variadic-macros is defined for gcc so that no errors occur in my testing.

My mistake. It is in type_traits that I see that warnings become errors in the regression tests. I need to change my local type_traits regression tests so that -Wno-variadic-macros is defined for gcc so that no errors occur in my testing.
Nod. I want to try and keep type_traits absolutely warning free. Using: bjam cxxflags=-Wno-variadic-macros will disable that warning temporarily. John.
participants (2)
-
Edward Diener
-
John Maddock