# HG changeset patch # User Mike Becker # Date 1769031544 -3600 # Node ID bbbcf550f1ed090b75fbc9a1a6bd94c411b25af5 # Parent 3f05e8f97b22c3d94757237aa5c3e3513a1b0b01 remove -pedantic from the header compilation check to allow anonymous structs relates to #799 diff -r 3f05e8f97b22 -r bbbcf550f1ed check-all.sh --- 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."