mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-28 18:54:27 +01:00
Add an option to omit UNITY_OUTPUT_CHAR declaration from the header
This solves the warnings from -Wredundant-decls when overriding the OUTPUT function with a function declared in another header. It's better this is the non-default option, since using it requires either a declaration of the new function OR a preprocessor guard on declaring UNITY_OUTPUT_CHAR (as in unity.c here), in every file using the function. See Pull Request #185 for more.
This commit is contained in:
@@ -6,4 +6,4 @@ script:
|
||||
- cd test && rake ci
|
||||
- make -s
|
||||
- cd ../extras/fixture/test && rake ci
|
||||
- make -s default noStdLibMalloc
|
||||
- make -s default noStdlibMalloc
|
||||
|
||||
Reference in New Issue
Block a user