[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] diffseq: port to clang 18.1.6 in ‘patch’
From: |
Bruno Haible |
Subject: |
Re: [PATCH] diffseq: port to clang 18.1.6 in ‘patch’ |
Date: |
Sat, 24 Aug 2024 18:05:49 +0200 |
Hi Paul,
> -#if 4 <= __GNUC__ + (7 <= __GNUC_MINOR__)
> +#if 4 <= __GNUC__ + (7 <= __GNUC_MINOR__) && !__clang__
Why is this needed? clang 18 still masquerades as a GCC 4.2.1 compatible
compiler:
$ : | clang -E -dM - | grep __GNUC_
#define __GNUC_MINOR__ 2
#define __GNUC_PATCHLEVEL__ 1
#define __GNUC_STDC_INLINE__ 1
#define __GNUC__ 4
So, when we have a conditional that tests for GCC >= 4.7 or 10 or 14,
we don't need to exclude clang, because it's already excluded.
Or am missing something?
Bruno
- [PATCH] diffseq: port to clang 18.1.6 in ‘patch’, Paul Eggert, 2024/08/24
- Re: [PATCH] diffseq: port to clang 18.1.6 in ‘patch’,
Bruno Haible <=
- Re: [PATCH] diffseq: port to clang 18.1.6 in ‘patch’, Paul Eggert, 2024/08/25
- Re: [PATCH] diffseq: port to clang 18.1.6 in ‘patch’, Sam James, 2024/08/26
- Re: [PATCH] diffseq: port to clang 18.1.6 in ‘patch’, Bruno Haible, 2024/08/26
- Re: [PATCH] diffseq: port to clang 18.1.6 in ‘patch’, Bruno Haible, 2024/08/26
- Re: [PATCH] diffseq: port to clang 18.1.6 in ‘patch’, Sam James, 2024/08/26
- Re: OpenMandriva, Bruno Haible, 2024/08/26
- Re: OpenMandriva, Collin Funk, 2024/08/26
- Re: OpenMandriva, Bruno Haible, 2024/08/26
- Re: OpenMandriva, Bruno Haible, 2024/08/26
- Re: OpenMandriva, Bruno Haible, 2024/08/27