From: Peter Colberg Date: Thu, 29 Oct 2015 05:17:20 +0000 (-0400) Subject: Enable compiler warnings in makefile X-Git-Tag: archive/raspbian/2.11.3-2+rpi1^2~10^2~1^2~175^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f314738f718d27c777d7ae97c47664c716efd0f7;p=utf8proc.git Enable compiler warnings in makefile --- diff --git a/Makefile b/Makefile index 29a3261..61e723a 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,8 @@ INSTALL=install CFLAGS ?= -O2 PICFLAG = -fPIC C99FLAG = -std=c99 -UCFLAGS = $(CFLAGS) $(PICFLAG) $(C99FLAG) -DUTF8PROC_EXPORTS +WCFLAGS = -Wall -Wmissing-prototypes -pedantic +UCFLAGS = $(CFLAGS) $(PICFLAG) $(C99FLAG) $(WCFLAGS) -DUTF8PROC_EXPORTS # shared-library version MAJOR.MINOR.PATCH ... this may be *different* # from the utf8proc version number because it indicates ABI compatibility,