1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-26 01:41:35 +01:00

Fix C89 warnings about variables at top of scope, enums, variadic macros

Add extern UnityFixture in internals header. Add C89 target in Makefile
 clang will show these warnings but can suppress "//" with -Wno-comment.
This commit is contained in:
jsalling
2016-02-17 22:26:18 -06:00
parent 915e3fb9fc
commit 3bb51bd740
4 changed files with 30 additions and 12 deletions

View File

@@ -396,7 +396,7 @@ typedef enum _UNITY_FLOAT_TRAIT_T
UNITY_FLOAT_IS_NOT_NAN,
UNITY_FLOAT_IS_NAN,
UNITY_FLOAT_IS_NOT_DET,
UNITY_FLOAT_IS_DET,
UNITY_FLOAT_IS_DET
} UNITY_FLOAT_TRAIT_T;
#endif