Commit ccff08f
committed
cmake: build against the C11 standard
The CMake build defaulted to C99 (matching the autotools AC_PROG_CC_C99).
Raise it to C11, kept as gnu11 (CMAKE_C_EXTENSIONS ON) since the sources
use GNU extensions (_GNU_SOURCE, asprintf). A commented C17 line is left
for when the minimum supported toolchain is GCC 8+/Clang 7+.1 parent bcd74c6 commit ccff08f
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
0 commit comments