On 8/22/21 1:17 PM, Bruno Haible wrote:
-#if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5)
+#if (!defined __cplusplus || _GL_GNUC_PREREQ (4, 5)) || defined __clang__

I got a bit confused by the extra parentheses, thinking that somehow GCC and Clang differ with respect to C++. Perhaps remove the extra parens?

Also, your example used C code, but this fix doesn't affect C code. So can we assume the real problem was with C++ code?

Reply via email to