Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2005-10-21 10:44:45

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 [




: # command

: # input files

: # requirements



<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"


: # test name


: # default-build


] ;


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

Boost list run by bdawes at, gregod at, cpdaniel at, john at