From a6c423d95663cfd8601cf84e10e8e1b12fa6ef15 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 25 Aug 2004 15:59:48 +0000 Subject: Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch 1015696) --- Makefile.mgw | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile.mgw') diff --git a/Makefile.mgw b/Makefile.mgw index 762b05b7110..6f53efd55d8 100644 --- a/Makefile.mgw +++ b/Makefile.mgw @@ -58,8 +58,9 @@ .PHONY : all libgl clean realclean CPU ?= pentium - -CFLAGS = -Wall -W -pedantic + +# when -std=c99 mingw will not define WIN32 +CFLAGS = -Wall -W -Werror -pedantic -std=c99 -DWIN32 CFLAGS += -O2 -ffast-math -mcpu=$(CPU) export CFLAGS -- cgit v1.2.1