mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-10-18 21:02:20 +08:00
Ignore padding and float to double implicit warning.
This commit is contained in:
@ -3,6 +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
|
||||||
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