mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-30 11:44:27 +01:00
Ignore missing noreturn and unused functions.
This commit is contained in:
@@ -3,7 +3,7 @@ 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
|
CFLAGS += -Wno-padded -Wno-double-promotion -Wno-missing-noreturn -Wno-unused-function
|
||||||
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