compiler: Adjust for GCC always being built with C++.

From-SVN: r190405
This commit is contained in:
Ian Lance Taylor 2012-08-15 03:47:05 +00:00
parent 18da4303c1
commit f5cc3cbbcf
3 changed files with 1 additions and 28 deletions

View File

@ -10,11 +10,6 @@
#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"

View 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"

View 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"