This commit is contained in:
2026-05-10 08:55:46 -05:00
parent 1ad732ea4b
commit 7e9f73bfa7
7 changed files with 102 additions and 17 deletions

22
config/WARNINGS Normal file
View File

@@ -0,0 +1,22 @@
-Wall
-Wextra
-Wpedantic
-Wshadow
-Wmissing-prototypes
-Wcast-qual
-Wcast-align
-Wconversion
-Wsign-conversion
-Wdouble-promotion
-Wformat=2
-Wformat-security
-Wnull-dereference
-Wstrict-overflow=4
-Wundef
-Wswitch-enum
-Wswitch-default
-Wfloat-equal
-Wpointer-arith
-Wwrite-strings
-Wredundant-decls
-Wstack-protector

3
config/WARNINGS_CLANG Normal file
View File

@@ -0,0 +1,3 @@
-Wshadow-all
-Wcomma
-Wassign-enum

7
config/WARNINGS_GCC Normal file
View File

@@ -0,0 +1,7 @@
-Wlogical-op
-Wjump-misses-init
-Wduplicated-cond
-Wduplicated-branches
-Wtrampolines
-Walloc-zero
-Walloca