diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2020-07-24 17:10:32 -0400 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2020-07-24 17:10:32 -0400 |
commit | a224f26469f49c04f895d65aa8b66c37005f33c9 (patch) | |
tree | 754768995d3d85da0458725c35cbab51c2888858 | |
parent | 66dce64145ed7e08be3e949bb635d2deaa0105dc (diff) |
warn but don't error on unused function
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |