[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: improve clang support (34)
From: |
Bruno Haible |
Subject: |
Re: improve clang support (34) |
Date: |
Sun, 16 Aug 2020 22:54:37 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-186-generic; KDE/5.18.0; x86_64; ; ) |
Hi Paul,
Paul Smith wrote:
> > +HAVE_INCLUDE_NEXT = (__GNUC__ || __clang__ || 60000000 <= __DECC_VER)
>
> Just wondering, are these changes for the sake of documentation, or are
> they really needed (do you see problems without them)?
This Makefile variable HAVE_INCLUDE_NEXT is not used in Gnulib, but some
packages may be using it. I included this module in the clang support for
completeness.
> In my experience with clang, it always defines both __clang__ and
> __GNUC__ so changes like this don't change behavior.
clang for Windows defines __clang__ but does not define __GNUC__. [1]
Bruno
[1] https://lists.gnu.org/archive/html/bug-gnulib/2020-08/msg00038.html