1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 08:38:09 +00:00

Deny warnings with -Wno instead of commenting them out.

Ease of use change. I usually replace -W with -Weverything and silencing these warnings involves adding a bunch of -Wno.

Also sorted alphabetically.
This commit is contained in:
Rosen Penev 2017-09-27 20:00:44 -07:00
parent 12295dcd90
commit 190fc9bf17

View File

@ -152,11 +152,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