Commit 5ef7f88
Remove -std=c99 from default CI builds
Our CI was using -std=c99 for all builds, which causes Darwin headers
to hide BSD extension symbols. This masked the bswap32/bswap64 macro
collision reported in #419, since real-world users (e.g. Homebrew) build
without -std=c99 and see the conflict.
Remove -std=c99 from the default CFLAGS so the main CI matrix matches
what downstream consumers build with. Add a dedicated strict-C99 matrix
entry (ubuntu/gcc) to preserve language compliance checking.
Also change CMAKE_C_EXTENSIONS from OFF to ON to match default CMake
behavior and what users get when building with cmake.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a291335 commit 5ef7f88
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
32 | | - | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
| |||
0 commit comments