diff options
author | mikhnenko <mikhnenko@yandex-team.com> | 2025-04-15 09:19:13 +0300 |
---|---|---|
committer | mikhnenko <mikhnenko@yandex-team.com> | 2025-04-15 09:35:03 +0300 |
commit | 10831e8ed09878b40b32cdc8a87b448a892ce7cd (patch) | |
tree | 51b481da6e2749553bf8ed92023a208eaf1ca4f8 | |
parent | 0ca7cfb39890921e0fc5a77e2972842717989f96 (diff) | |
download | ydb-10831e8ed09878b40b32cdc8a87b448a892ce7cd.tar.gz |
Enable -Wc++11-narrowing-const-reference
commit_hash:edb0bcb9128f693013015a8b80d25ad3ed9dacf8
-rw-r--r-- | build/conf/compilers/gnu_compiler.conf | 2 | ||||
-rwxr-xr-x | build/ymake_conf.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/build/conf/compilers/gnu_compiler.conf b/build/conf/compilers/gnu_compiler.conf index 49c48b5f987..a1cbaaa84d5 100644 --- a/build/conf/compilers/gnu_compiler.conf +++ b/build/conf/compilers/gnu_compiler.conf @@ -73,7 +73,7 @@ when ($CLANG16 == "yes") { when ($CLANG18 == "yes") { CFLAGS+=-Wno-array-parameter -Wno-deprecate-lax-vec-conv-all -Wno-unqualified-std-cast-call -Wno-unused-but-set-parameter -Wno-implicit-function-declaration -Wno-int-conversion -Wno-incompatible-function-pointer-types -Wno-address-of-packed-member - CFLAGS+=-Wno-deprecated-this-capture -Wno-c++11-narrowing-const-reference -Wno-missing-designated-field-initializers \ + CFLAGS+=-Wno-deprecated-this-capture -Wno-missing-designated-field-initializers \ -Wno-format -Wno-vla-cxx-extension -Wno-invalid-offsetof \ when ($MAPSMOBI_BUILD_TARGET == "yes") { CFLAGS+=-Wno-deprecated-declarations diff --git a/build/ymake_conf.py b/build/ymake_conf.py index 4752ed27fd8..e3a2195ab19 100755 --- a/build/ymake_conf.py +++ b/build/ymake_conf.py @@ -2040,7 +2040,6 @@ class MSVCCompiler(MSVC, Compiler): # Issue a warning if certain overload is hidden due to inheritance '-Woverloaded-virtual', '-Wno-ambiguous-reversed-operator', - '-Wno-c++11-narrowing-const-reference', '-Wno-defaulted-function-deleted', '-Wno-deprecated-anon-enum-enum-conversion', '-Wno-deprecated-enum-enum-conversion', |