I want to include Warning as Error in our current project / solution for obvious reasons.
There are several warnings that should NOT be handled as errors, such as Deprecated and the use of the #warning directives.
Is it possible?
I see that I can lead specific warnings to errors, but I would really like them to be inverted.
The closest I can get is to disable the 2 above warnings, but there will be no “warnings” for them.
Any suggestions?
To clarify:
I need warnings, not as an error. Thus, all warnings except the aforementioned exceptions will behave like an error, and the aforementioned ones will be warnings (which I see in the compiler results).
source
share