This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/69881] with gcc-6 of today building gcc-4.9 fails


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69881

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #3)
> or 
> 
> #undef all these __need_XXX before including stddef.h,
> after all it is a bit bogus ghat gmp.h does:
> 
> #define __need_size_t  /* tell gcc stddef.h we only want size_t */
> #include <cstddef>     /* for size_t */

That is bogus.

> is cstddef supposed to honor __need_size_t at all?

No.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]