C++ User's Guide

Values

-compat=4

(Compatibility mode) Set language and binary compatibility to that of the 4.0.1, 4.1, and 4.2 compilers. 

-compat=5

(Standard mode) Set language and binary compatibility to that of the 5.0 compiler.