[Bug libstdc++/12778] 3.4 1022 bootstrap failure building libstdc++-v3/src/basic_file.cc

paolo at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Oct 26 13:54:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12778



------- Additional Comments From paolo at gcc dot gnu dot org  2003-10-26 12:59 -------
Hi again, can you try bootstrapping with this one line patch applied?

Probably, it's just a matter of including stdio.h...

Don't ask me why the problem doesn't occur on linux...

Paolo.

////////

diff -urN libstdc++-v3-orig/config/io/basic_file_stdio.cc
libstdc++-v3/config/io/basic_file_stdio.cc
--- libstdc++-v3-1/config/io/basic_file_stdio.cc	2003-10-22 21:51:11.000000000 +0200
+++ libstdc++-v3/config/io/basic_file_stdio.cc	2003-10-26 13:52:51.000000000 +0100
@@ -68,6 +68,8 @@
 # endif
 #endif
 
+#include <cstdio>
+
 #include <limits> // For <off_t>::max() and min()
 
 namespace std



More information about the Gcc-bugs mailing list