mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-10-15 19:25:33 +08:00
Ignore missing prototype warning.
This commit is contained in:
@ -3,7 +3,8 @@ ifeq ($(shell uname -s), Darwin)
|
|||||||
CC = clang
|
CC = clang
|
||||||
CFLAGS += -std=c99 -pedantic -Wall -Weverything -Werror
|
CFLAGS += -std=c99 -pedantic -Wall -Weverything -Werror
|
||||||
CFLAGS += -Wno-unknown-warning-option -Wno-switch-enum
|
CFLAGS += -Wno-unknown-warning-option -Wno-switch-enum
|
||||||
CFLAGS += -Wno-padded -Wno-double-promotion -Wno-missing-noreturn -Wno-unused-function
|
CFLAGS += -Wno-padded -Wno-double-promotion -Wno-missing-noreturn
|
||||||
|
CFLAGS += -Wno-missing-prototypes
|
||||||
endif
|
endif
|
||||||
ifeq ($(shell uname -s), Linux)
|
ifeq ($(shell uname -s), Linux)
|
||||||
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror
|
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror
|
||||||
|
Reference in New Issue
Block a user