]> 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 22:11:17 +0000 (00:11 +0200)
commit0770dc765c6f2fc66ae655f8b0228778e7121283
tree01bbc69872372db8a91133feb4a0f6547e73ab25
parent1e48983d6446f243ae7ecaf570e8ef953de3ddc2
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