From d7f82d98982849f5e7949aa38abbbc81ad832176 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sat, 10 Oct 2015 06:57:51 +0000 Subject: [PATCH] Always compile with "-Wno-missing-braces", as the warnings it hides are useless. "-Wmissing-field-initializers" (part of "-Wextra") should cover us. git-svn-id: https://svn.eduke32.com/eduke32@5382 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/Makefile.common | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/Makefile.common b/polymer/eduke32/Makefile.common index 5e5b4cef3..e879c5bf5 100644 --- a/polymer/eduke32/Makefile.common +++ b/polymer/eduke32/Makefile.common @@ -525,6 +525,7 @@ CWARNS := -W -Wall \ -Wpointer-arith \ -Wextra \ -Wno-char-subscripts \ + -Wno-missing-braces \ #-Wstrict-prototypes \ #-Waggregate-return \ #-Wwrite-strings \ @@ -532,7 +533,7 @@ CWARNS := -W -Wall \ #-Waddress -Wlogical-op ifneq (0,$(CLANG)) - CWARNS+= -Wno-unused-value -Wno-parentheses -Wno-missing-braces + CWARNS+= -Wno-unused-value -Wno-parentheses endif COMMONFLAGS+= -funsigned-char -fno-strict-aliasing $(F_JUMP_TABLES)