Is it possible to somehow indicate that warning is not included for the whole project?

When I set the warning level to maximum, errors of third-party libraries and, it seems, visual itself, have gone. There are a lot of them. I did not find any information on the Internet.

    1 answer 1

    Herb Sutter recommends compiling with the maximum level of warning'ov, and seek code that does not issue them. And to selectively disable warning'ov in third-party libraries to connect them not directly, but through its intermediate header, in which to disable warning'and specifically for plug-in libraries. That is, in your case, you need to create one or more header'ov of the form:

    externals.h

    #pragma warning (push) #pragma warning(disable:4700) #include "externlib.h" #pragma warning (pop) 

    A description of pragmas is, for example, here: