add -Wno-error=cast-function-type to build

This commit is contained in:
Gabor Kiss-Vamosi 2021-02-11 15:58:41 +01:00
parent f9c73fe69d
commit 5d0a06b6fa

View File

@ -9,7 +9,7 @@ WARNINGS = -Werror -Wall -Wextra \
-Wshadow -Wundef -Wmaybe-uninitialized -Wmissing-prototypes -Wpointer-arith -Wuninitialized \
-Wunreachable-code -Wreturn-type -Wmultichar -Wformat-security -Wdouble-promotion -Wclobbered -Wdeprecated \
-Wempty-body -Wshift-negative-value -Wstack-usage=2048 \
-Wtype-limits -Wsizeof-pointer-memaccess
-Wtype-limits -Wsizeof-pointer-memaccess -Wno-error=cast-function-type
#-Wno-unused-value -Wno-unused-parameter
OPTIMIZATION ?= -O3 -g0