From 0934d81a527e1d153760c5d92ae330cfeec36cda Mon Sep 17 00:00:00 2001 From: Themaister Date: Mon, 16 Apr 2012 20:38:25 +0200 Subject: [PATCH] Add -Wno-unused-result. --- Makefile | 2 +- Makefile.win | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8872056274..f09b3a96dd 100644 --- a/Makefile +++ b/Makefile @@ -190,7 +190,7 @@ ifeq ($(DEBUG), 1) OPTIMIZE_FLAG = -O0 endif -CFLAGS += -Wall $(OPTIMIZE_FLAG) -g -I. -pedantic +CFLAGS += -Wall -Wno-unused-result $(OPTIMIZE_FLAG) -g -I. -pedantic ifeq ($(CXX_BUILD), 1) CFLAGS += -std=c++0x -xc++ -D__STDC_CONSTANT_MACROS else diff --git a/Makefile.win b/Makefile.win index e847d38f3c..c234e23b05 100644 --- a/Makefile.win +++ b/Makefile.win @@ -153,7 +153,7 @@ ifneq ($(V), 1) Q := @ endif -CFLAGS += -Wall -O3 -I. +CFLAGS += -Wall -Wno-unused-result -O3 -I. ifeq ($(CXX_BUILD), 1) CFLAGS += -std=c++0x -xc++ -D__STDC_CONSTANT_MACROS else