diff --git a/test/Makefile b/test/Makefile index 2275e3b..3c3c751 100644 --- a/test/Makefile +++ b/test/Makefile @@ -12,7 +12,7 @@ ifeq ($(findstring clang, $(CC)), clang) E = -Weverything CFLAGS += $E -Wno-unknown-warning-option -Wno-missing-prototypes CFLAGS += -Wno-unused-macros -Wno-padded -Wno-missing-noreturn -CFLAGS += -Wno-unsafe-buffer-usage -Wno-reserved-identifier +CFLAGS += -Wno-unsafe-buffer-usage endif CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror #CFLAGS += -Wconversion #disabled because if falsely complains about the isinf and isnan macros diff --git a/test/tests/test_unity_core.c b/test/tests/test_unity_core.c index 866f2ab..921f535 100644 --- a/test/tests/test_unity_core.c +++ b/test/tests/test_unity_core.c @@ -61,7 +61,7 @@ void testUnitySizeInitializationReminder(void) #ifndef UNITY_EXCLUDE_SETJMP_H jmp_buf AbortFrame; #endif - } _Expected_Unity; + } Expected_Unity; #else struct { const char* TestFile; @@ -81,7 +81,7 @@ void testUnitySizeInitializationReminder(void) #ifndef UNITY_EXCLUDE_SETJMP_H jmp_buf AbortFrame; #endif - } _Expected_Unity; + } Expected_Unity; #endif /* Compare our fake structure's size to the actual structure's size. They @@ -89,7 +89,7 @@ void testUnitySizeInitializationReminder(void) * * This accounts for alignment, padding, and packing issues that might come * up between different architectures. */ - TEST_ASSERT_EQUAL_MESSAGE(sizeof(_Expected_Unity), sizeof(Unity), message); + TEST_ASSERT_EQUAL_MESSAGE(sizeof(Expected_Unity), sizeof(Unity), message); } void testPassShouldEndImmediatelyWithPass(void)