Commit 3ff15c3b by Ian Lance Taylor Committed by Ian Lance Taylor

re PR bootstrap/54659 (Bootstrap with --disable-nls broken under Windows)

	PR bootstrap/54659

compiler: Don't include <gmp.h>, now included by go-system.h.

	* go-system.h: Don't include <cstdio>.

From-SVN: r194669
parent b1ad2a2a
2012-12-21 Ian Lance Taylor <iant@google.com>
PR bootstrap/54659
* go-system.h: Don't include <cstdio>.
2012-12-18 Ian Lance Taylor <iant@google.com> 2012-12-18 Ian Lance Taylor <iant@google.com>
PR go/55201 PR go/55201
......
...@@ -125,15 +125,6 @@ struct hash<T*> ...@@ -125,15 +125,6 @@ struct hash<T*>
// system.h. // system.h.
#include <iostream> #include <iostream>
// Some versions of gmp.h assume that #include <iostream> will define
// std::FILE. This is not true with libstdc++ 4.3 and later. This is
// fixed in GMP 4.3, but at this point we don't know which version of
// GMP is in use. Since the top level configure script accepts GMP
// 4.2, at least for now we #include <cstdio> to ensure that GMP 4.2
// will work. FIXME: This can be removed when we require GMP 4.3 or
// later.
#include <cstdio>
#include "system.h" #include "system.h"
#include "ansidecl.h" #include "ansidecl.h"
#include "coretypes.h" #include "coretypes.h"
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
#include <algorithm> #include <algorithm>
#include <gmp.h>
#include "toplev.h" #include "toplev.h"
#include "intl.h" #include "intl.h"
#include "tree.h" #include "tree.h"
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#ifndef GO_EXPRESSIONS_H #ifndef GO_EXPRESSIONS_H
#define GO_EXPRESSIONS_H #define GO_EXPRESSIONS_H
#include <gmp.h>
#include <mpfr.h> #include <mpfr.h>
#include "operator.h" #include "operator.h"
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
#include "go-system.h" #include "go-system.h"
#include <gmp.h>
#include "toplev.h" #include "toplev.h"
#include "tree.h" #include "tree.h"
#include "gimple.h" #include "gimple.h"
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#ifndef GO_LEX_H #ifndef GO_LEX_H
#define GO_LEX_H #define GO_LEX_H
#include <gmp.h>
#include <mpfr.h> #include <mpfr.h>
#include "operator.h" #include "operator.h"
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
#include "go-system.h" #include "go-system.h"
#include <gmp.h>
#include "gogo.h" #include "gogo.h"
#include "types.h" #include "types.h"
#include "expressions.h" #include "expressions.h"
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
#include "go-system.h" #include "go-system.h"
#include <gmp.h>
#include "go-c.h" #include "go-c.h"
#include "types.h" #include "types.h"
#include "expressions.h" #include "expressions.h"
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
#include "go-system.h" #include "go-system.h"
#include <gmp.h>
#include "toplev.h" #include "toplev.h"
#include "intl.h" #include "intl.h"
#include "tree.h" #include "tree.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment