]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/69881 (with gcc-6 of today building gcc-4.9 fails)
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 23 Feb 2016 15:57:09 +0000 (15:57 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Tue, 23 Feb 2016 15:57:09 +0000 (15:57 +0000)
2016-02-23  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR libstdc++/69881
        * include/c_global/cstdarg: Undefine __need___va_list.
        * include/c_global/cstddef: Undefine all kinds of __need_*.

From-SVN: r233636

libstdc++-v3/ChangeLog
libstdc++-v3/include/c_global/cstdarg
libstdc++-v3/include/c_global/cstddef

index be4e95cbb4341a05d78f71e94af090d288609261..97170cd3d1a18bfc58455e40afc3ecf972024703 100644 (file)
@@ -1,3 +1,9 @@
+2016-02-23  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       PR libstdc++/69881
+       * include/c_global/cstdarg: Undefine __need___va_list.
+       * include/c_global/cstddef: Undefine all kinds of __need_*.
+
 2016-02-16  Tim Shen  <timshen@google.com>
 
        PR libstdc++/69794
index 390e1a2296e5eb42d0b61288272bd65152331434..46cf5a274a5efe90a1f1998ac9775ea8d401dc4c 100644 (file)
@@ -38,6 +38,7 @@
 
 #pragma GCC system_header
 
+#undef __need___va_list
 #include <bits/c++config.h>
 #include <stdarg.h>
 
index e55bc820cb81376f629c8722beb3076690ce0f84..1739121001e71914d148b804190e0c5ae0767e91 100644 (file)
 
 #pragma GCC system_header
 
+#undef __need_wchar_t
+#undef __need_ptrdiff_t
+#undef __need_size_t
+#undef __need_NULL
+#undef __need_wint_t
 #include <bits/c++config.h>
 #include <stddef.h>