From 26004071b33c44264a574d7c0149c8dd7f5e7aa9 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 23 Jan 2024 10:52:12 +0800 Subject: [PATCH] configure.py: reenable -Wnarrowing it seems that the tree builds just fine with this warning enabled. and narrowing is a potentially unsafe numeric conversion. so let's enable this warning option. this change also helps to reduce the difference between the rules generated by configure.py and those generated by CMake. Signed-off-by: Kefu Chai Closes scylladb/scylladb#16929 --- configure.py | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.py b/configure.py index eeab0cded0..fbecd35fe7 100755 --- a/configure.py +++ b/configure.py @@ -1536,7 +1536,6 @@ def get_warning_options(cxx): '-Wno-unsupported-friend', # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728 '-Wno-psabi', - '-Wno-narrowing', '-Wno-enum-constexpr-conversion', ]