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:
parent
a1fe9955bb
commit
47cbf7d96d
@ -19,4 +19,4 @@ script:
|
|||||||
env:
|
env:
|
||||||
# use JuliaLang caching (https://github.com/staticfloat/cache.julialang.org)
|
# 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
|
# 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"
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -11,7 +11,7 @@ FIND=find
|
|||||||
CFLAGS ?= -O2
|
CFLAGS ?= -O2
|
||||||
PICFLAG = -fPIC
|
PICFLAG = -fPIC
|
||||||
C99FLAG = -std=c99
|
C99FLAG = -std=c99
|
||||||
WCFLAGS = -Wall -Wmissing-prototypes -pedantic
|
WCFLAGS = -Wall -pedantic
|
||||||
UCFLAGS = $(CFLAGS) $(PICFLAG) $(C99FLAG) $(WCFLAGS) -DUTF8PROC_EXPORTS
|
UCFLAGS = $(CFLAGS) $(PICFLAG) $(C99FLAG) $(WCFLAGS) -DUTF8PROC_EXPORTS
|
||||||
|
|
||||||
# shared-library version MAJOR.MINOR.PATCH ... this may be *different*
|
# shared-library version MAJOR.MINOR.PATCH ... this may be *different*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user