summaryrefslogtreecommitdiff
path: root/src/ctor.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2025-01-20 17:40:29 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2025-01-20 17:40:29 +0100
commit3438b4d3eb272c301e28af7cb72c6d2adb0e6597 (patch)
treef3e53448cfd126c563a528d2c775845cc2951e12 /src/ctor.h
parentfe0f5eba353b268336ebc775decf36b37ef805aa (diff)
Add typed c/c++ compiler flags for -Wconversion, -Wshadow and -Wextra.
Diffstat (limited to 'src/ctor.h')
-rw-r--r--src/ctor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ctor.h b/src/ctor.h
index 0892364..3c0b303 100644
--- a/src/ctor.h
+++ b/src/ctor.h
@@ -90,6 +90,9 @@ enum class cxx_opt
output, // -o
debug, // -g
warn_all, // -Wall
+ warn_conversion, // -Wconversion
+ warn_shadow, // -Wshadow
+ warn_extra, // -Wextra
warnings_as_errors, // -Werror
generate_dep_tree, // -MMD
no_link, // -c
@@ -108,6 +111,9 @@ enum class c_opt
output, // -o
debug, // -g
warn_all, // -Wall
+ warn_conversion, // -Wconversion
+ warn_shadow, // -Wshadow
+ warn_extra, // -Wextra
warnings_as_errors, // -Werror
generate_dep_tree, // -MMD
no_link, // -c