[PATCH 1/9] c: fix _Noreturn support detection
Akim Demaille <[email protected]> Thu, 12 Aug 2021 10:18:24 +0200
| Newsgroups | gmane.comp.parsers.bison.patches |
|---|---|
| Message-ID | <[email protected]> |
Reported by Christopher Nielsen <[email protected]>. <https://trac.macports.org/ticket/59927#comment:59> and <https://trac.macports.org/ticket/59927#comment:62>. * data/skeletons/c.m4: Fix typo. --- data/skeletons/c.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/skeletons/c.m4 b/data/skeletons/c.m4 index 2f774a26..2425b071 100644 --- a/data/skeletons/c.m4 +++ b/data/skeletons/c.m4 @@ -393,7 +393,7 @@ dnl use C' _Noreturn in C++, to avoid -Wc11-extensions warnings. # elif ((!defined __cplusplus || defined __clang__) \ && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ || (!defined __STRICT_ANSI__ \ - && (__4 < __GNUC__ + (7 <= __GNUC_MINOR__) \ + && (4 < __GNUC__ + (7 <= __GNUC_MINOR__) \ || (defined __apple_build_version__ \ ? 6000000 <= __apple_build_version__ \ : 3 < __clang_major__ + (5 <= __clang_minor__)))))) -- 2.32.0