]> Savannah Git Hosting - gnulib.git/commit
assert-h, verify: Fix compilation error with g++ (4.8.5) -std=gnu++11.
authorBruno Haible <bruno@clisp.org>
Thu, 30 May 2024 18:06:58 +0000 (20:06 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 30 May 2024 20:46:14 +0000 (22:46 +0200)
commit8d056c86162dbee3e9203153e836ecee5d0dbedc
treed29e8b3465f1ea3f1fb159b6feee6c6075a0ff81
parent9154b1dc075796af79bce7634b70d447cf485569
assert-h, verify: Fix compilation error with g++ (4.8.5) -std=gnu++11.

Reported by Harmen <harmen@stoppels.ch> at
<https://savannah.gnu.org/bugs/index.php?65811>.

* lib/verify.h (static_assert): In C++ mode with g++ < 6 and
-std=gnu++11, define in a way that supports also the 1-argument
invocations and the invocations inside C++ struct and class.
ChangeLog
lib/verify.h