mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
CI: treat gcc warning as errors
For now exclude unused-result warnings in order not to affect current builds. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
This commit is contained in:
+2
-2
@@ -12,13 +12,13 @@ matrix:
|
||||
os: linux
|
||||
dist: trusty
|
||||
compiler: gcc
|
||||
script: ./autogen.sh && ./configure && make distcheck
|
||||
script: ./autogen.sh && ./configure CFLAGS="-Werror -Wno-unused-result" && make distcheck
|
||||
|
||||
- env: test="x64 5.0 (autotools)"
|
||||
os: linux
|
||||
dist: trusty
|
||||
compiler: clang
|
||||
script: ./autogen.sh && ./configure && make distcheck
|
||||
script: ./autogen.sh && ./configure CFLAGS="-Werror -Wno-unused-result" && make distcheck
|
||||
|
||||
- env: test="x64 4.8.4 (CMake gcc)"
|
||||
os: linux
|
||||
|
||||
Reference in New Issue
Block a user