⛏️ index : buildtools.git

author Axel Dörfler <axeld@pinc-software.de> 2010-08-18 14:41:53.0 +00:00:00
committer Axel Dörfler <axeld@pinc-software.de> 2010-08-18 14:41:53.0 +00:00:00
commit
3a923d4177452bbe857172ebf6db2b27fcd2ae54 [patch]
tree
2dfdd679b21496103cb730c26f1f3d7c961e20f3
parent
215ca35bee52fd27a420a1f77abdc51a89602a66
download
3a923d4177452bbe857172ebf6db2b27fcd2ae54.tar.gz

* 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

Diff

 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++"))