mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-08-05 21:11:10 +08:00
- added target for checking ANSI compliance
- fixed ANSI (C89) issues, including #418
This commit is contained in:
@ -427,6 +427,15 @@ will allow you to specify how Unity will treat these assertions.
|
||||
- AS_NONE - Unity will disallow the use of these shorthand macros altogether,
|
||||
insisting that developers choose a more descriptive option.
|
||||
|
||||
#### `UNITY_SUPPORT_VARIADIC_MACROS`
|
||||
|
||||
This will force Unity to support variadic macros when using it's own built-in
|
||||
RUN_TEST macro. This will rarely be necessary. Most often, Unity will automatically
|
||||
detect if the compiler supports variadic macros by checking to see if it's C99+
|
||||
compatible. In the event that the compiler supports variadic macros, but is primarily
|
||||
C89 (ANSI), defining this option will allow you to use them. This option is also not
|
||||
necessary when using Ceedling or the test runner generator script.
|
||||
|
||||
## Getting Into The Guts
|
||||
|
||||
There will be cases where the options above aren't quite going to get everything
|
||||
|
Reference in New Issue
Block a user