diff --git a/gcc.yml b/gcc.yml index a935140984d3548a2554be6814e6dab00951e679..dd6168133744d50eb9b301cb86ec9df8fb5d116e 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 470d3bf7014c9b045049e8c64a13e87651ec7de8..708ddf18845d979fc52cbff23e3f7faa098b7e1f 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)