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++/65806] NetBSD's <stdint.h> expects __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Hmm, why doesn't GCC's own stdint.h solve this? It does:

# if defined __cplusplus && __cplusplus >= 201103L
#  undef __STDC_LIMIT_MACROS
#  define __STDC_LIMIT_MACROS
#  undef __STDC_CONSTANT_MACROS
#  define __STDC_CONSTANT_MACROS
# endif
# include_next <stdint.h>


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