From 5699b4e5dc09a60dcc90a198a388eb7f9cd34a0d Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Sun, 11 Oct 2020 13:18:45 -0400 Subject: Stop using -Weverything -Weverything is a compiler testing tool, not a package of warnings. Use -Wall -Wextra instead. --- build.ninja | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.ninja b/build.ninja index 0b5be18..d61cc39 100644 --- a/build.ninja +++ b/build.ninja @@ -17,8 +17,7 @@ ninja_required_version = 1.3 cxx = clang++ cflags = -O2 -DNDEBUG -D_FORTIFY_SOURCE -D_GLIBCXX_DEBUG $ -D_GLIBCXX_DEBUG_PEDANTIC -std=c++14 -ftrapv -fno-strict-aliasing $ - -fstack-protector-strong --param=ssp-buffer-size=4 -Weverything $ - -Wno-c++98-compat -Wno-padded -Wno-weak-vtables -Wno-unused-macros -fPIE $ + -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -Wextra -fPIE $ -fno-rtti -fuse-cxa-atexit -pipe -ffunction-sections -fdata-sections $ -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse ldflags = -Wl,--gc-sections -Wl,-Bsymbolic-functions -pie -Wl,-z,now -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--no-copy-dt-needed-entries -Wl,--as-needed -pthread -- cgit v1.2.3