diff --git a/gcc.yml b/gcc.yml index a935140..dd61681 100644 --- a/gcc.yml +++ b/gcc.yml @@ -5,7 +5,10 @@ compiler: runner_path: 'runners/' build_path: &build_path 'build/' options: - - -c + - '-c' + - '-Wall' + - -std=c99 + - -pedantic includes: prefix: '-I' items: diff --git a/src/unity.c b/src/unity.c index 470d3bf..708ddf1 100644 --- a/src/unity.c +++ b/src/unity.c @@ -12,7 +12,7 @@ struct _Unity Unity = 0, 0, 1e-4f, - 0, + {0}, }; void UnityPrintChar(const char ch)