[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/9] c: fix _Noreturn support detection
From: |
Akim Demaille |
Subject: |
[PATCH 1/9] c: fix _Noreturn support detection |
Date: |
Thu, 12 Aug 2021 10:18:24 +0200 |
Reported by Christopher Nielsen <mascguy@github.com>.
<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
- [PATCH 0/9] Various fixes for the tests, Akim Demaille, 2021/08/12
- [PATCH 1/9] c: fix _Noreturn support detection,
Akim Demaille <=
- [PATCH 2/9] tests: be robust to old versions of xlstproc, Akim Demaille, 2021/08/12
- [PATCH 3/9] tests: remove obsolete checks, Akim Demaille, 2021/08/12
- [PATCH 4/9] build: check for C++ 20 and 2b, Akim Demaille, 2021/08/12
- [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Akim Demaille, 2021/08/12
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Hans Åberg, 2021/08/12
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Akim Demaille, 2021/08/13
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Hans Åberg, 2021/08/13
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Akim Demaille, 2021/08/17
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Hans Åberg, 2021/08/17
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Hans Åberg, 2021/08/17