From 47cbf7d96dd0aab984746460707f83d92438c05a Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Sat, 16 Jul 2016 03:16:03 -0700 Subject: 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 --- .travis.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b871b47..7a53b59 100644 --- 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 index 1179748..cf4970d 100644 --- 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* -- cgit v1.2.3