In VS2015 is there an equivalent flag of GCC -fpermissive? That\'s for a cpp application Thanks S.
VC++ compiler permissive by default, but you can disable it using compiler flag /permissive- starting with VS2015 Update 3
The theoretical equivalent is /Ze
.
However, this allows Microsoft-specific extensions, whereas -fpermissive
allows GCC-specific extensions. If you want your code to be portable, write portable code. It's that simple.