check-all.sh

changeset 1703
bbbcf550f1ed
parent 1700
d2a36d28c565
--- 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."

mercurial