]> Savannah Git Hosting - gnulib.git/commit
verify: Avoid syntax error due to static_assert with clang in C++ mode.
authorBruno Haible <bruno@clisp.org>
Wed, 14 Sep 2022 20:21:47 +0000 (22:21 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 14 Sep 2022 20:21:47 +0000 (22:21 +0200)
commitd6f25832c0a02500602e44153e265e10a1d67ce4
treeff150f98901c570f400265207e2370b442131691
parentcf28d454d27ca3430164a2c07b302212f6804239
verify: Avoid syntax error due to static_assert with clang in C++ mode.

* lib/verify.h (static_assert): Don't define in clang C++ 6 or newer.
* m4/assert_h.m4 (gl_ASSERT_H): If we don't need to define static_assert
with clang in C++ mode, don't include <assert.h>.
ChangeLog
lib/verify.h
m4/assert_h.m4