-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Code Generation Tools
-
CODEGEN-1976
-
-
-
If possible, use the -ps or --strict_ansi options. This mode will use the strict definition of __cplusplus, which is 199711L.
-
Our parser mimicked G++ behavior for the value of this macro in relaxed ANSI mode. This reproduced a bug in G++ versions v.4.7 and v.4.3 that has since been fixed.
Value of __cplusplus is wrong