Move -Wmissing-prototypes from Makefile to .travis.yml (#79)

since MSVC doesn't understand this flag, and the current
mechanism for building Julia with MSVC goes through the makefile
This commit is contained in:
Tony Kelman 2016-07-16 03:16:03 -07:00 committed by Steven G. Johnson
parent a1fe9955bb
commit 47cbf7d96d
2 changed files with 2 additions and 2 deletions

View File

@ -19,4 +19,4 @@ script:
env:
# use JuliaLang caching (https://github.com/staticfloat/cache.julialang.org)
# so that Travis builds do not depend on anyone's flaky servers but our own
- URLCACHE=https://cache.julialang.org/ CFLAGS="-O2 -Werror"
- URLCACHE=https://cache.julialang.org/ CFLAGS="-O2 -Werror -Wmissing-prototypes"

View File

@ -11,7 +11,7 @@ FIND=find
CFLAGS ?= -O2
PICFLAG = -fPIC
C99FLAG = -std=c99
WCFLAGS = -Wall -Wmissing-prototypes -pedantic
WCFLAGS = -Wall -pedantic
UCFLAGS = $(CFLAGS) $(PICFLAG) $(C99FLAG) $(WCFLAGS) -DUTF8PROC_EXPORTS
# shared-library version MAJOR.MINOR.PATCH ... this may be *different*