]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
compiler: Adjust for GCC always being built with C++.
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 15 Aug 2012 03:47:05 +0000 (03:47 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 15 Aug 2012 03:47:05 +0000 (03:47 +0000)
From-SVN: r190405

gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/gogo-tree.cc
gcc/go/gofrontend/types.cc

index a2ac98703b44aaa687ff32392fa51aef35177bd8..17e28e5e4851a9e26b413e9b6d7d2f7f13c67056 100644 (file)
 
 #include <gmp.h>
 
-#ifndef ENABLE_BUILD_WITH_CXX
-extern "C"
-{
-#endif
-
 #include "toplev.h"
 #include "intl.h"
 #include "tree.h"
@@ -24,10 +19,6 @@ extern "C"
 #include "real.h"
 #include "realmpfr.h"
 
-#ifndef ENABLE_BUILD_WITH_CXX
-}
-#endif
-
 #include "go-c.h"
 #include "gogo.h"
 #include "types.h"
index bc33769a07a5f77c74579143b13757356c7bf4f6..c933d937596859a214d4aa7e82e632ebc817a42f 100644 (file)
@@ -8,11 +8,6 @@
 
 #include <gmp.h>
 
-#ifndef ENABLE_BUILD_WITH_CXX
-extern "C"
-{
-#endif
-
 #include "toplev.h"
 #include "tree.h"
 #include "gimple.h"
@@ -22,12 +17,8 @@ extern "C"
 #include "convert.h"
 #include "output.h"
 #include "diagnostic.h"
-
-#ifndef ENABLE_BUILD_WITH_CXX
-}
-#endif
-
 #include "go-c.h"
+
 #include "types.h"
 #include "expressions.h"
 #include "statements.h"
index 228f3faa4a4f3a8a3798f83334ccb55d1f605622..c52f41b76ecc3a73fb1ebd64af8f67cdb5b30bb8 100644 (file)
@@ -8,11 +8,6 @@
 
 #include <gmp.h>
 
-#ifndef ENABLE_BUILD_WITH_CXX
-extern "C"
-{
-#endif
-
 #include "toplev.h"
 #include "intl.h"
 #include "tree.h"
@@ -20,10 +15,6 @@ extern "C"
 #include "real.h"
 #include "convert.h"
 
-#ifndef ENABLE_BUILD_WITH_CXX
-}
-#endif
-
 #include "go-c.h"
 #include "gogo.h"
 #include "operator.h"