Quantcast
Viewing all articles
Browse latest Browse all 22126

-isystem for MS Visual Studio C++ Compiler

I usually like to have a lot of warnings enabled when programming. However, some libraries contains code that easily causes warnings (.., python, Qt, ..). When compiling with gcc I can just use -isystem instead of -I to silence that. How can I do the same with the MS compiler? I know of the warning #pragma, but I would like a solution that does not involve compiler specific code all over the place. I also know that I can turn off specific warnings, but that is not what I want either.

BTW: isystem should be a tag of this question, but I was not allowed to do that..

SUMMARY: I want to see all warnings from my code, and no warnings from external code.


Viewing all articles
Browse latest Browse all 22126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>