diff options
| author | lhchavez <lhchavez@lhchavez.com> | 2019-01-05 20:50:42 -0800 |
|---|---|---|
| committer | lhchavez <lhchavez@lhchavez.com> | 2019-01-10 06:05:43 -0800 |
| commit | 6af6170b684d9ba29d01d1075d22c5530664a6d5 (patch) | |
| tree | 53da66638f3addb5a89d5a4c4e89f820adc6bddd /tests | |
| parent | 1305cd4e8dfc9612250c4392d601cc41fcc22f23 (diff) | |
| download | libgit2-6af6170b684d9ba29d01d1075d22c5530664a6d5.tar.gz | |
Make ENABLE_WERROR actually work
This change explicitly adds -Werror to the CFLAGS.
Due to the way that the ADD_C_FLAG_IF_SUPPORTED() macro was mangling the
flag name to convert it into a define name, any warning that had a dash
in its name was not being correctly enabled. Additionally, any flag that
is enabled implicitly by the compiler (like -Wunused-result and
-Wdeprecated-declarations) would not cause an error unless they were
explicitly enabled with the ENABLE_WARNINGS() macro.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
