Skip to content

Commit 3adaad8

Browse files
committed
Enable all warnings and pedantic mode
This can be an issue for portable code, but we build for single platform and single compiler, so we should be ok. Don't treat warnings as errors to reduced the chance that the build will fail on older macOS versions or future versions. Signed-off-by: Nir Soffer <[email protected]>
1 parent 6c43bc7 commit 3adaad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ GZIP ?= gzip -9 -n
1313
DIFFOSCOPE ?= diffoscope
1414
STRIP ?= strip
1515

16-
CFLAGS ?= -O3
16+
CFLAGS ?= -O3 -Wall -Wextra -pedantic
1717
ifeq ($(DEBUG),1)
1818
CFLAGS += -g
1919
endif

0 commit comments

Comments
 (0)