Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/include avoid __extension__ redefinition
details: https://anonhg.NetBSD.org/src/rev/941d4c07f5e2
branches: trunk
changeset: 1027661:941d4c07f5e2
user: christos <christos%NetBSD.org@localhost>
date: Tue Dec 14 21:38:06 2021 +0000
description:
avoid __extension__ redefinition
diffstat:
external/gpl3/gcc/dist/include/ansidecl.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 85a77ddad8f5 -r 941d4c07f5e2 external/gpl3/gcc/dist/include/ansidecl.h
--- a/external/gpl3/gcc/dist/include/ansidecl.h Tue Dec 14 21:37:06 2021 +0000
+++ b/external/gpl3/gcc/dist/include/ansidecl.h Tue Dec 14 21:38:06 2021 +0000
@@ -329,7 +329,7 @@
/* We use __extension__ in some places to suppress -pedantic warnings
about GCC extensions. This feature didn't work properly before
gcc 2.8. */
-#if GCC_VERSION < 2008
+#if GCC_VERSION < 2008 && !defined(__extension__)
#define __extension__
#endif
Home |
Main Index |
Thread Index |
Old Index