On Sun, 2020-08-16 at 18:55 +0200, Bruno Haible 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)?

In my experience with clang, it always defines both __clang__ and
__GNUC__ so changes like this don't change behavior.

I definitely have no objection to adding them; I'm curious if there's
something going on here I'm not familiar with.

  $ clang -x c /dev/null -dM -E | grep -i gnu
  #define __GNUC_MINOR__ 2
  #define __GNUC_PATCHLEVEL__ 1
  #define __GNUC_STDC_INLINE__ 1
  #define __GNUC__ 4
  #define __gnu_linux__ 1



Reply via email to