1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-30 03:48:17 +00:00
hashcat/deps/LZMA-SDK/C/warn_gcc.mak

53 lines
1.0 KiB
Makefile

CFLAGS_WARN_GCC_4_5 = \
CFLAGS_WARN_GCC_6 = \
-Waddress \
-Waggressive-loop-optimizations \
-Wattributes \
-Wbool-compare \
-Wcast-align \
-Wcomment \
-Wdiv-by-zero \
-Wduplicated-cond \
-Wformat-contains-nul \
-Winit-self \
-Wint-to-pointer-cast \
-Wunused \
-Wunused-macros \
# -Wno-strict-aliasing
CFLAGS_WARN_GCC_9 = \
-Waddress \
-Waddress-of-packed-member \
-Waggressive-loop-optimizations \
-Wattributes \
-Wbool-compare \
-Wbool-operation \
-Wcast-align \
-Wcast-align=strict \
-Wcomment \
-Wdangling-else \
-Wdiv-by-zero \
-Wduplicated-branches \
-Wduplicated-cond \
-Wformat-contains-nul \
-Wimplicit-fallthrough=5 \
-Winit-self \
-Wint-in-bool-context \
-Wint-to-pointer-cast \
-Wunused \
-Wunused-macros \
-Wconversion \
# -Wno-sign-conversion \
CFLAGS_WARN_GCC_PPMD_UNALIGNED = \
-Wno-strict-aliasing \
CFLAGS_WARN = $(CFLAGS_WARN_GCC_9) \
# $(CFLAGS_WARN_GCC_PPMD_UNALIGNED)