mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 08:25:58 +01:00
Fix -Wmissing-prototypes errors
This one was a bit tough, but I think this works fine.
This commit is contained in:
@@ -10,7 +10,7 @@ CC = clang
|
||||
endif
|
||||
ifeq ($(findstring clang, $(CC)), clang)
|
||||
E = -Weverything
|
||||
CFLAGS += $E -Wno-unknown-warning-option -Wno-missing-prototypes
|
||||
CFLAGS += $E -Wno-unknown-warning-option
|
||||
CFLAGS += -Wno-unsafe-buffer-usage
|
||||
endif
|
||||
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror
|
||||
|
||||
Reference in New Issue
Block a user