| 1 |
# allow crash debugging |
| 2 |
-ggdb |
| 3 |
|
| 4 |
# produce coverage reports |
| 5 |
-ftest-coverage |
| 6 |
-fprofile-arcs |
| 7 |
|
| 8 |
# don't compile on weird code |
| 9 |
-std=c99 |
| 10 |
-pedantic |
| 11 |
-fno-strict-aliasing -Werror |
| 12 |
-Wall |
| 13 |
-Wbad-function-cast |
| 14 |
-Wcast-align |
| 15 |
# https://github.com/python/cpython/issues/120293 |
| 16 |
-Wcast-qual |
| 17 |
-Wconversion |
| 18 |
-Wdeclaration-after-statement |
| 19 |
-Wextra |
| 20 |
-Winit-self |
| 21 |
-Wmissing-declarations |
| 22 |
# -Wmissing-include-dirs |
| 23 |
-Wmissing-prototypes |
| 24 |
-Wnested-externs |
| 25 |
-Wno-long-long |
| 26 |
-Wno-missing-field-initializers |
| 27 |
-Wno-overlength-strings |
| 28 |
-Wno-unused-parameter |
| 29 |
-Wshadow |
| 30 |
-Wstrict-overflow=4 |
| 31 |
-Wundef |