From e0d8a753a170056219bc7fb838cf52959a0fbc76 Mon Sep 17 00:00:00 2001 From: terminx Date: Mon, 11 Jan 2016 05:05:50 +0000 Subject: [PATCH] Add -Wuninitialized, -Wlogical-op, and -Wcast-qual. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@5543 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/Makefile.common | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/Makefile.common b/polymer/eduke32/Makefile.common index d01bd0c93..425dc7543 100644 --- a/polymer/eduke32/Makefile.common +++ b/polymer/eduke32/Makefile.common @@ -526,11 +526,14 @@ CWARNS := -W -Wall \ -Wextra \ -Wno-char-subscripts \ -Wno-missing-braces \ + -Wuninitialized \ + -Wlogical-op \ + -Wcast-qual \ #-Wstrict-prototypes \ #-Waggregate-return \ #-Wwrite-strings \ - #-Wcast-qual -Wcast-align \ - #-Waddress -Wlogical-op + #-Wcast-align \ + #-Waddress ifneq (0,$(CLANG)) CWARNS+= -Wno-unused-value -Wno-parentheses