From: Artem Alimarine (artem_at_[hidden])
Date: 2006-08-11 14:39:33
Artem Alimarine wrote:
> I have a high warning level in my project. It leads to lots of warnings
> in stl and boost includes. How do I filter warnings in the system
> include files and in boost?
Oh, I figured out that the warnings can be given in the project as off
and in the targets as on. This way the boost libraries are built with
warnings off and my libraries with warnings on.
However, there is still a problem with warnings in the boost include
files. With MSVC they can be turned off by pragmas, in GCC not. However
in GCC the boost files can be declared as system header files. I do it
If there is a better way to achieve a clean compilation of own code with
high warning level, please let me know.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk