Wed, 21 Jan 2026 22:39:04 +0100
remove -pedantic from the header compilation check to allow anonymous structs
relates to #799
| check-all.sh | file | annotate | diff | comparison | revisions |
--- a/check-all.sh Wed Jan 21 22:24:28 2026 +0100 +++ b/check-all.sh Wed Jan 21 22:39:04 2026 +0100 @@ -42,8 +42,10 @@ for cxx in clang++ g++; do printf "Check header errors/warnings with $cxx..." + # no -pedantic to allow anonymous structs if $cxx -o /dev/null -I src \ - -Werror -Wall -Wextra -pedantic tests/cpptest.cpp ; then + -Werror -Wall -Wextra \ + tests/cpptest.cpp ; then echo "ok." else echo "fail."