]> Savannah Git Hosting - gnulib.git/commit
verify: Avoid syntax error due to static_assert with MSVC 14 in C++.
authorBruno Haible <bruno@clisp.org>
Wed, 14 Sep 2022 16:08:10 +0000 (18:08 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 14 Sep 2022 16:08:10 +0000 (18:08 +0200)
commit8be21b0a68da9a9527d9fab37c9a3acda819eb29
tree52dfd4eafa51b241b9a81d863ac60868ac75f936
parent167619228fc54207fb7631b4b07e5cdc446c7eb6
verify: Avoid syntax error due to static_assert with MSVC 14 in C++.

* lib/verify.h (static_assert): For MSVC in C++ mode, use a definition
that supports both the two-arguments and the one-argument syntax.
ChangeLog
lib/verify.h