Commit 180e894e authored by Swann Perarnau's avatar Swann Perarnau

[ci] activate more warnings during compile

We've recently received messages indicating that some compiler
environments out there would choke on some of the code. Let's try to
make the code as C99 compliant and as reliable as possible by activating
more warnings and breaking the CI on it.

autoconf macros fail on -Werror -Wall because of unused variable
warnings, so we deactivate those.
parent b1b6b9a1
......@@ -27,6 +27,8 @@ make:generic:
except:
- /^wip.*/
- /^WIP.*/
variables:
CFLAGS: "-std=c99 -pedantic -Wall -Wextra -Werror -Wno-unused-but-set-parameter"
script:
- ./autogen.sh
- mkdir build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment