From a224f26469f49c04f895d65aa8b66c37005f33c9 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Fri, 24 Jul 2020 17:10:32 -0400 Subject: warn but don't error on unused function --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f542c88..6f9e1b8 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ WAYLAND_PROTOCOLS=$(shell pkg-config --variable=pkgdatadir wayland-protocols) WAYLAND_SCANNER=$(shell pkg-config --variable=wayland_scanner wayland-scanner) -CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare +CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-error=unused-function CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99 -Werror=declaration-after-statement PKGS = wlroots wayland-server xkbcommon -- cgit v1.2.3