summaryrefslogtreecommitdiff
path: root/warnings
diff options
context:
space:
mode:
Diffstat (limited to 'warnings')
-rw-r--r--warnings29
1 files changed, 29 insertions, 0 deletions
diff --git a/warnings b/warnings
new file mode 100644
index 0000000..68be903
--- /dev/null
+++ b/warnings
@@ -0,0 +1,29 @@
+-Werror=all
+-Werror=implicit-function-declaration
+-Wextra
+-Werror=c++-compat
+-Werror=write-strings
+-Wunused
+-Wshadow
+-Wbad-function-cast
+-Werror=strict-prototypes
+-Werror=old-style-definition
+-Wno-missing-declarations
+-Wvla
+-Wstack-protector
+-Wno-conversion
+-Wlogical-op
+-Wformat=2
+-Winit-self
+-Wmissing-include-dirs
+-Wsuggest-attribute=pure
+-Wsuggest-attribute=const
+-Wsuggest-attribute=noreturn
+-Wtrampolines
+-Wfloat-equal
+-Wmissing-format-attribute
+-Wno-redundant-decls
+-Wnested-externs
+-Wno-sign-compare
+
+-Wno-switch