mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
Disable -Wbad-function-cast. It produces a lot of useless warnings.
This commit is contained in:
@ -58,10 +58,10 @@ LOG_COMMAND :=
|
|||||||
|
|
||||||
WARNINGS := \
|
WARNINGS := \
|
||||||
-Wall -W -Wpointer-arith -Wsign-compare -Wmissing-prototypes \
|
-Wall -W -Wpointer-arith -Wsign-compare -Wmissing-prototypes \
|
||||||
-Wundef -Wbad-function-cast -Wmissing-declarations -Wunused -Wwrite-strings \
|
-Wundef -Wmissing-declarations -Wunused -Wwrite-strings \
|
||||||
-Wno-deprecated-declarations \
|
-Wno-deprecated-declarations \
|
||||||
|
|
||||||
# -Wconversion -Wshadow
|
# -Wconversion -Wshadow -Wbad-function-cast
|
||||||
|
|
||||||
INCLUDES := -Iinclude -I. -I$(SDK_INCLUDE)
|
INCLUDES := -Iinclude -I. -I$(SDK_INCLUDE)
|
||||||
OPTIONS := -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames -fno-builtin -fno-common -std=c99 -mcrt=clib2
|
OPTIONS := -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames -fno-builtin -fno-common -std=c99 -mcrt=clib2
|
||||||
|
|||||||
Reference in New Issue
Block a user