]> 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>
Fri, 31 May 2024 17:50:27 +0000 (19:50 +0200)
commitb922a9bcb56636fae8a394ea5042cdbfb5bbf1aa
tree9b0c735a6064b9cdb33e79c5715df4c59d1b0fec
parentc6942fe973af622bbeb5fafc5c1cd32c82a2cb7b
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