
I want to suppress certain warnings that the GCC compiler generates for serialization tests. This entail adding some switches to the gcc command line. So in my Jamfile I make the following modification: rule run-template ( test-name : sources * : requirements * ) { return [ run <lib>../../test/build/boost_test_exec_monitor $(sources) : # command : # input files : # requirements std::locale-support toolset::require-boost-spirit-support <borland*><*><cxxflags>"-w-8080 -w-8071 -w-8057 -w-8062 -w-8008 -w-0018 -w-8066" <gcc*><*><cxxflags>"-Wno-non-virtual-dtor -Wno-ctor-dtor-privacy" $(requirements) : # test name $(test-name) : # default-build debug ] ; } That is I added the line <gcc... This doesn't seem to produce the desired effect. That is, I don't see the new -W switches on the gcc command line. Any help would be appreicated. Robert Ramey