From: Paul Eggert Date: Fri, 13 Jan 2023 19:57:35 +0000 (-0800) Subject: assert-h: fix configure comment-out X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=e637459dc6dc12d98b0593d54fd11a569ab0bdbd;p=gnulib.git assert-h: fix configure comment-out * m4/assert_h.m4 (gl_ASSERT_H): Also break apart "#undef static_assert" with /**/. Problem discovered with xlclang 16.1, though it does not directly affect xlclang 16.1. --- diff --git a/ChangeLog b/ChangeLog index f6df46ab86..4ad7ed97d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2023-01-13 Paul Eggert + + assert-h: fix configure comment-out + * m4/assert_h.m4 (gl_ASSERT_H): Also break apart "#undef + static_assert" with /**/. Problem discovered with xlclang 16.1, + though it does not directly affect xlclang 16.1. + 2023-01-11 Bruno Haible Fix link errors on Android 4.3. diff --git a/m4/assert_h.m4 b/m4/assert_h.m4 index 6275f633a6..abba4fa3a1 100644 --- a/m4/assert_h.m4 +++ b/m4/assert_h.m4 @@ -60,7 +60,7 @@ AC_DEFUN([gl_ASSERT_H], /* Solaris 11.4 defines static_assert as a macro with 2 arguments. We need it also to be invocable with a single argument. */ #if defined __sun && (__STDC_VERSION__ - 0 >= 201112L) && !defined __cplusplus - #undef static_assert + #undef/**/static_assert #define static_assert _Static_assert #endif #endif])