mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-12-18 23:11:11 +08:00
added warning flag to gcc config and eliminated warning related to jmp_buf initialization
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@26 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
5
gcc.yml
5
gcc.yml
@@ -5,7 +5,10 @@ compiler:
|
|||||||
runner_path: 'runners/'
|
runner_path: 'runners/'
|
||||||
build_path: &build_path 'build/'
|
build_path: &build_path 'build/'
|
||||||
options:
|
options:
|
||||||
- -c
|
- '-c'
|
||||||
|
- '-Wall'
|
||||||
|
- -std=c99
|
||||||
|
- -pedantic
|
||||||
includes:
|
includes:
|
||||||
prefix: '-I'
|
prefix: '-I'
|
||||||
items:
|
items:
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ struct _Unity Unity =
|
|||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
1e-4f,
|
1e-4f,
|
||||||
0,
|
{0},
|
||||||
};
|
};
|
||||||
|
|
||||||
void UnityPrintChar(const char ch)
|
void UnityPrintChar(const char ch)
|
||||||
|
|||||||
Reference in New Issue
Block a user