mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-08-17 00:29:56 +00:00
ci.yml now runs the v3 C suites under three Linux toolchains: - v3-c-tests (default cc / GCC, -Wall -Wextra) - v3-c-tests-clang (stock Ubuntu clang) - v3-c-tests-clang21 (clang 21 from apt.llvm.org, matching local dev) The validator helper macros TG3__IDX_BAD / TG3__CHECK_REQ / TG3__CHECK_OPT used the GNU `, ##__VA_ARGS__` extension, which clang flags under -Wpedantic. Every call site already passes at least one variadic argument, so plain __VA_ARGS__ (C11) suffices. Local verification: clang-21 -Wall -Wextra builds tester_v3_c and tester_v3_c_v1port with zero warnings introduced by the v3 changes (only the pre-existing tg3__json_set_value_copy unused-function notice remains, unrelated to this work). All suites pass under gcc 13.3 and clang 21.1 alike, plus the 134-model cross-version verifier. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>