]> 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 03:07:08 +0000 (04:07 +0100)
commit92675ce825a2068d1f87e7ac921e35ca60b3c34b
tree2a21f2f7433829d510470c64792e969852342637
parent0bcd75c26295f372552959f329239bd037991fe8
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