I would like to compile my project with / Wall.
When I do this, I get tons of warnings from third-party code (additional libraries, other system header files). The only place I include these third-party header files is in my precompiled header ( stdafx.h).
I tried this (in stdafx.h)
#pragma warning(push,3)
#pragma warning(pop)
to compile all third-party code with warning level 3.
However, I still get hundreds of warnings from files such as math.h, xmemory, vector, string_generator.hpp(boost.uuid), placeholders.hpp(boost.asio), ...
How can I compile all third-party code with warning level 3 when compiling my own code with warnings turned on?