This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/69881] with gcc-6 of today building gcc-4.9 fails
- From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 20 Feb 2016 11:25:29 +0000
- Subject: [Bug libstdc++/69881] with gcc-6 of today building gcc-4.9 fails
- Auto-submitted: auto-generated
- References: <bug-69881-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69881
--- Comment #9 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
right now I am trying to boot-strap this:
Index: c/cstddef
===================================================================
--- c/cstddef (revision 233581)
+++ c/cstddef (working copy)
@@ -31,10 +31,11 @@
#pragma GCC system_header
-#define __need_size_t
-#define __need_ptrdiff_t
-#define __need_NULL
-#define __need_offsetof
+#undef __need_wchar_t
+#undef __need_size_t
+#undef __need_ptrdiff_t
+#undef __need_NULL
+#undef __need_wint_t
#include_next <stddef.h>
#endif
Index: c_global/cstddef
===================================================================
--- c_global/cstddef (revision 233581)
+++ c_global/cstddef (working copy)
@@ -41,6 +41,11 @@
#pragma GCC system_header
+#undef __need_wchar_t
+#undef __need_size_t
+#undef __need_ptrdiff_t
+#undef __need_NULL
+#undef __need_wint_t
#include <bits/c++config.h>
#include <stddef.h>
Index: c_std/cstddef
===================================================================
--- c_std/cstddef (revision 233581)
+++ c_std/cstddef (working copy)
@@ -41,6 +41,11 @@
#pragma GCC system_header
+#undef __need_wchar_t
+#undef __need_size_t
+#undef __need_ptrdiff_t
+#undef __need_NULL
+#undef __need_wint_t
#include <bits/c++config.h>
#include <stddef.h>