Enabled -Werror on some Travis builds.
authorDan Fandrich <dan@coneharvesters.com>
Wed, 31 Jul 2019 13:00:29 +0000 (15:00 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 31 Jul 2019 23:58:11 +0000 (01:58 +0200)
commitcd2903e03b2628c18c30b54dafffc101eb633acf
treefc60941dfb2371eb909363b0b83393fbd4797cb8
parent2942f20a211f223b1388dc41076df7fabd670fc7
Enabled -Werror on some Travis builds.

This will cause any compiler warnings to be treated as errors and fail
the CI build. A couple of warnings are grandfathered in until they are
fixed in the code.

The -Werror switch can't be added to the CFLAGS on the configure command
because it causes some autoconf tests to fail. Instead, it's appended to
the existing flags at make time.
.travis.yml