re PR libstdc++/69881 (with gcc-6 of today building gcc-4.9 fails)

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
This commit is contained in:
Bernd Edlinger 2016-02-23 15:57:09 +00:00 committed by Bernd Edlinger
parent d286e1e304
commit 5f6dd5930f
3 changed files with 12 additions and 0 deletions

View 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

View File

@ -38,6 +38,7 @@
#pragma GCC system_header
#undef __need___va_list
#include <bits/c++config.h>
#include <stdarg.h>

View File

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