We develop for both Windows & Linux, but often developers work primarily on the Windows side, and when we later compile the same code on Linux the compiler chokes due to stricter syntax requirements (usually more need for 'typename' prefacing qualified types, and redeclaration of parent-class typedefs in templatized subclasses, etc.).
I realize the Linux compiler is probably trying to maintain compatibilty with gcc, while the Windows compiler is trying to be compatible with Visual Studio.
Is there some way to force our Windows code to be stricter, without using an entirely new, non-VS-compatible setup? I tried /Qgcc-dialect:460, but this makes the Windows compiler choke on the Visual Studio /include files.
Seems unlikely that there is a way to do this, but just thought I'd ask :).
thanks for any help -- Daniel