1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 08:25:58 +01:00

Fixup issues when compiling with clang -Wmissing-variable-declarations

This commit is contained in:
Jerry Jacobs
2016-04-26 14:17:10 +02:00
parent 5ceab7193f
commit 6a02f7e51c
3 changed files with 35 additions and 36 deletions

View File

@@ -1,6 +1,6 @@
CC = gcc
CC ?= gcc
ifeq ($(shell uname -s), Darwin)
CC = clang
CC ?= clang
endif
#DEBUG = -O0 -g
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror -Wredundant-decls

View File

@@ -46,8 +46,8 @@ static const _UD d_zero = 0.0;
UNITY_OUTPUT_CHAR('\n'); \
}
int SetToOneToFailInTearDown;
int SetToOneMeanWeAlreadyCheckedThisGuy;
static int SetToOneToFailInTearDown;
static int SetToOneMeanWeAlreadyCheckedThisGuy;
void setUp(void)
{