From 3a923d4177452bbe857172ebf6db2b27fcd2ae54 Mon Sep 17 00:00:00 2001 From: Axel Dörfler Date: Wed, 18 Aug 2010 14:41:53 +0000 Subject: [PATCH] * Enable c9x for C++ as well to enable the standard way for variadic macros (this has no other side effect). git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38236 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- legacy/gcc/gcc/cccp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/gcc/gcc/cccp.c b/legacy/gcc/gcc/cccp.c index b55b6d1..384eac7 100644 --- a/legacy/gcc/gcc/cccp.c +++ b/legacy/gcc/gcc/cccp.c @@ -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++")) -- gitore 0.2.2