|
Boost Users : |
From: Jaroslav Gresula (jgresula_at_[hidden])
Date: 2006-01-22 16:15:11
If I want to disable a specific warning on gcc (3.4.2, mingw) and use
-Wall at the same time then on the gcc commnad line the -Wall option
must precede the option disabling the specific warning.
E.g.
gcc -Wno-non-virtual-dtor -Wall main.cxx
ignores the '-Wno-non-virtual-dtor' option, whereas
gcc -Wall -Wno-non-virtual-dtor main.cxx
works as expected. My problem is that I can't achieve the correct option
order with Boost.Build v2 as the -Wall is used by default and the
disabling option is always put before it.
I tried to specify it in the toolset configuration:
using gcc : : : <cxxflags>-Wno-non-virtual-dtor ;
and also putting
<toolset>gcc:<cxxflags>-Wno-non-virtual-dtor ;
into project's requirements but neither works.
Please, could anyone help me out with this?
-- Jarda
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net