From 3438b4d3eb272c301e28af7cb72c6d2adb0e6597 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 20 Jan 2025 17:40:29 +0100 Subject: Add typed c/c++ compiler flags for -Wconversion, -Wshadow and -Wextra. --- src/ctor.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/ctor.h') 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 -- cgit v1.2.3