Author: axeld Date: 2010-08-18 16:41:53 +0200 (Wed, 18 Aug 2010) New Revision: 38236 Changeset: http://dev.haiku-os.org/changeset/38236 Modified: buildtools/trunk/legacy/gcc/gcc/cccp.c Log: * Enable c9x for C++ as well to enable the standard way for variadic macros (this has no other side effect). Modified: buildtools/trunk/legacy/gcc/gcc/cccp.c =================================================================== --- buildtools/trunk/legacy/gcc/gcc/cccp.c 2010-08-18 13:55:36 UTC (rev 38235) +++ buildtools/trunk/legacy/gcc/gcc/cccp.c 2010-08-18 14:41:53 UTC (rev 38236) @@ -1480,7 +1480,7 @@ else if (! strcmp (argv[i], "-lang-c89")) cplusplus = 0, cplusplus_comments = 0, c89 = 1, c9x = 0, objc = 0; else if (! strcmp (argv[i], "-lang-c++")) - cplusplus = 1, cplusplus_comments = 1, c89 = 0, c9x = 0, objc = 0; + cplusplus = 1, cplusplus_comments = 1, c89 = 0, c9x = 1, objc = 0; else if (! strcmp (argv[i], "-lang-objc")) cplusplus = 0, cplusplus_comments = 1, c89 = 0, c9x = 0, objc = 1; else if (! strcmp (argv[i], "-lang-objc++"))