$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2006-03-28 02:39:22
With -wall, GCC warns about classes with virtual functions but with no
virtual destructor, even if the destructor is protected and is never called
virtually. So I use "<toolset>gcc:<cflags>-Wno-non-virtual-dtor" in my
jamroot to disable this warning globally, and it works, but then I get this
on C files:
cc1: warning: command line option "-Wno-non-virtual-dtor" is valid for
C++/ObjC++ but not for C
I tried to use <cxxflags> instead of <cflags>, but then boost-build doesn't
pass "-Wno-non-virtual-dtor" when compiling CPP files.
What am I doing wrong? This warning just sucks, how do I disable it for
good?
Thanks,
Emil