Compile with -Wcast-function-type on Travis

See:
https://github.com/libvips/libvips/pull/1697#issuecomment-657602404
This commit is contained in:
Kleis Auke Wolthuizen 2020-07-14 18:55:28 +02:00
parent f2035797f9
commit 62ecad6459
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ jobs:
- CC="gcc-10"
- CXX="g++-10"
- LDSHARED="$CC -shared"
- CFLAGS="-Wcast-function-type"
cache: ccache
- os: linux
dist: bionic