On 2023-02-26 08:43, Bruno Haible wrote:
-# if __GNUC__ >= 7
+# if (__GNUC__ >= 7) || (__clang_major__ >= 10)

Sorry I didn't see this earlier.

Since this is protected by #ifdef _LIBC" it might be better to do this the glibc way. Something like the following, perhaps?

   # if __GNUC_PREREQ (7,0) || __glibc_has_attribute (__fallthrough__)

Reply via email to