The highest warning level in Visual C ++ is / Wall. The alert level can also be set numerically with / W 0, / W1, ... / W4 to generate increasing alert levels.
The compiler will also check for 64-bit portability issues with / Wp 64.
And you can say that it treats warnings as errors using / wx
Visual C ++ doesn't seem to have the real equivalent of -pedantic - which asks gcc to report all warnings that should be reported by the ISO C and C ++ standards.
billmcc
source share