summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-06-17 22:15:01 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-08-10 17:25:25 +0200
commitc3392a9fccc04129816057b1184c651171034376 (patch)
tree68398d60c87a162a66a138a0f41006f4b1d6d712 /buildlib
parent1b36b5fa1b8dbd76aec7ddd4ffe72f8515c29038 (diff)
some CXXFLAGS housekeeping
More warnings are always better. Git-Dch: Ignore
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/environment.mak.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/buildlib/environment.mak.in b/buildlib/environment.mak.in
index b0a8d9d35..0dff02e69 100644
--- a/buildlib/environment.mak.in
+++ b/buildlib/environment.mak.in
@@ -11,7 +11,11 @@ CPPFLAGS+= @CPPFLAGS@ @DEFS@ -D_REENTRANT -D_FORTIFY_SOURCE=2
CXX = @CXX@
CXXFLAGS+= @CXXFLAGS@ -Wall -Wextra
CXXFLAGS+= -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations
-CXXFLAGS+= -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=noreturn
+CXXFLAGS+= -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wnoexcept -Wsign-promo -Wundef
+# suggests methods which already have such an attribute
+#CXXFLAGS+= -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=noreturn
+# gcc reports currently lots of them at the end of file - unknown reason
+CXXFLAGS+= -Wno-deprecated-declarations
# a bit too pedantic to be run by default
#CXXFLAGS+= -Wpedantic -Wno-long-long -Wno-vla -Wno-variadic-macros
NUM_PROCS = @NUM_PROCS@