diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-12-25 11:43:45 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2018-12-25 11:43:45 -0700 |
commit | 9c68725fda8e1a1808144447cccdeab564ddae6e (patch) | |
tree | 5aa559e9e0f354d9c960fb38cd52d99c6b209b3b | |
parent | e2694759a21c948aa5be26a7e4ac65b7b8b8a8da (diff) | |
download | numpy-9c68725fda8e1a1808144447cccdeab564ddae6e.tar.gz |
TST: Update `travis-test.sh` for C99
Most of this was already done, but we were still raising an error for
declaration after a statement because the Windows Python 2.7 compiler
did not allow it. We can fix this now as NumPy >= 1.17 has dropped
Python 2.7 support.
-rwxr-xr-x | tools/travis-test.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/travis-test.sh b/tools/travis-test.sh index 44b01a72f..353362066 100755 --- a/tools/travis-test.sh +++ b/tools/travis-test.sh @@ -25,8 +25,7 @@ if [ -n "$PYTHON_OPTS" ]; then fi # make some warnings fatal, mostly to match windows compilers -werrors="-Werror=declaration-after-statement -Werror=vla " -werrors+="-Werror=nonnull -Werror=pointer-arith" +werrors="-Werror=vla -Werror=nonnull -Werror=pointer-arith" # build with c99 by default |