Merge pull request #1376 from neheb/make

Deny warnings with -Wno instead of commenting them out.
This commit is contained in:
Jens Steube
2017-09-29 11:33:04 +02:00
committed by GitHub
+8 -5
View File
@@ -153,11 +153,14 @@ CFLAGS += -Wwrite-strings
# the following compiler options produce warnings that should be fixed at some time
#CFLAGS += -Wsizeof-pointer-memaccess
#CFLAGS += -Wcast-align
#CFLAGS += -Wcast-qual
#CFLAGS += -Wsign-conversion
#CFLAGS += -pedantic
CFLAGS += -Wno-cast-align
CFLAGS += -Wno-cast-qual
CFLAGS += -Wno-conversion
CFLAGS += -Wno-padded
CFLAGS += -Wno-pedantic
CFLAGS += -Wno-sizeof-pointer-memaccess
#CFLAGS += -Wno-reserved-id-macro //clang specific
#CFLAGS += -Wno-used-but-marked-unused // ^^
endif
# default linux and freebsd thread stack size is 2MB