From: Carl Worth Date: Mon, 30 Sep 2013 00:30:30 +0000 (-0700) Subject: Makefile: Add -Wmissing-declarations compiler option X-Git-Url: https://git.cworth.org/git?p=scherzo;a=commitdiff_plain;h=81cfa1750954a0f7293f8caf3b3f27bf9a4e5e3d Makefile: Add -Wmissing-declarations compiler option Some recent code changes should obsolesce some functions, so it will be nice to have compiler help in finding them. --- diff --git a/Makefile b/Makefile index 7d7d612..c1ee124 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ scherzo_srcs := \ scherzo_modules = $(scherzo_srcs:.c=.o) CFLAGS ?= -g -WARN_CFLAGS = -Wall -Wextra +WARN_CFLAGS = -Wall -Wextra -Wmissing-declarations SCHERZO_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(CONFIGURE_CFLAGS) $(extra_cflags) -I./mnemon `pkg-config --cflags gtk+-2.0 alsa`