commit 47cbf7d96dd0aab984746460707f83d92438c05a
parent a1fe9955bbc75ffb923c1219bf58befd2688e34c
Author: Tony Kelman <tony@kelman.net>
Date: Sat, 16 Jul 2016 03:16:03 -0700
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
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -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"
diff --git a/Makefile b/Makefile
@@ -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*