]> Savannah Git Hosting - gnulib.git/commit
assert-h, verify: Fix conflict with standard C++ header files on macOS.
authorBruno Haible <bruno@clisp.org>
Sat, 4 Feb 2023 13:31:08 +0000 (14:31 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 10 Feb 2023 02:35:06 +0000 (03:35 +0100)
commit31017aa45ea0254dd8d6b29424bd2e45e5d32dde
tree667a4d38866acaf4c92a212ff4e39f0dfe1e7a77
parent58ca5b93a4653c7c88f9f742fb7f4b0fc827d506
assert-h, verify: Fix conflict with standard C++ header files on macOS.

* lib/verify.h (_Static_assert): Don't redefine with clang ≥ 3.8.0
in C++ mode.
* tests/test-assert-h-c++.cc: Also check against conflict with the
standard C++ header files.
* tests/test-assert-h-c++2.cc: Likewise.
ChangeLog
lib/verify.h
tests/test-assert-h-c++.cc
tests/test-assert-h-c++2.cc