aboutsummaryrefslogtreecommitdiffstats
path: root/util/ya.make
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-23 11:43:35 +0300
committerthegeorg <thegeorg@yandex-team.ru>2022-02-23 11:43:35 +0300
commitdc607d4bdea3e3fd300a1b96c14989024ae4370b (patch)
tree9bb9326da2ea21cab63ed845051b293ca5317420 /util/ya.make
parent73db9ea237def2c2635db24388affcc401da6e3e (diff)
downloadydb-dc607d4bdea3e3fd300a1b96c14989024ae4370b.tar.gz
clang-cl: Enable yet another warning with the very long name
ref:878ef48a386627a1eb0325b0ccff820b1d627900
Diffstat (limited to 'util/ya.make')
-rw-r--r--util/ya.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/ya.make b/util/ya.make
index 6ebe7e40cf..ab34124774 100644
--- a/util/ya.make
+++ b/util/ya.make
@@ -238,6 +238,10 @@ JOIN_SRCS(
string/vector.cpp
)
+IF (GCC OR CLANG OR CLANG_CL)
+ CFLAGS(-Wnarrowing)
+ENDIF()
+
IF (ARCH_ARM)
CFLAGS(-D_FORTIFY_SOURCE=0)
ENDIF()