--- a/test/test-real-pgn.c Mon Aug 24 16:13:51 2026 +0200 +++ b/test/test-real-pgn.c Tue Aug 25 18:35:18 2026 +0200 @@ -31,8 +31,13 @@ #include "chess/pgn.h" #if __STDC_VERSION__ < 202310L -#error Need C23 compiler to compile this test. -#endif +/* since #warning is also a C23 feature, the only hope is this: */ +#pragma GCC warning "Need at least a C23 compiler to compile test-real-pgn.c" +CxTestSuite* test_real_pgn_suite(void) { + CxTestSuite* suite = cx_test_suite_new("Skip testing real PGN Files"); + return suite; +} +#else const char pgn_data[150][1500]; @@ -858,3 +863,5 @@ , '\0' }, }; + +#endif /* C23 compiler */