mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
travis: turn on errors for some more serious compiler warnings
These warnings are upgraded to errors on several Open Build Service platforms, so Travis should notify us as well.
This commit is contained in:
parent
58535408b0
commit
d2a7b63149
1 changed files with 3 additions and 2 deletions
|
@ -15,7 +15,8 @@ matrix:
|
||||||
- libpcre2-dev
|
- libpcre2-dev
|
||||||
- python
|
- python
|
||||||
env:
|
env:
|
||||||
- CXXFLAGS="-Werror=address"
|
# Some warnings upgraded to errors to match Open Build Service platforms
|
||||||
|
- CXXFLAGS="-Werror=address -Werror=return-type"
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
addons:
|
addons:
|
||||||
|
@ -27,7 +28,7 @@ matrix:
|
||||||
- g++-multilib
|
- g++-multilib
|
||||||
- python
|
- python
|
||||||
env:
|
env:
|
||||||
- CXXFLAGS="-m32 -Werror=address" CFLAGS="-m32"
|
- CXXFLAGS="-m32 -Werror=address -Werror=return-type" CFLAGS="-m32"
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue