Don't suppress warnings or define G_OS_WIN32 (Windows build)

This commit is contained in:
Nick Treleaven 2012-06-07 16:45:37 +01:00
parent 9f99b4f55a
commit 928de3d684

View File

@ -25,7 +25,7 @@ GTK_INCLUDES= \
INCLUDEDIRS=-I ../ctags -I ../ -I . $(GTK_INCLUDES) INCLUDEDIRS=-I ../ctags -I ../ -I . $(GTK_INCLUDES)
CBASEFLAGS=-Wall -pipe -mms-bitfields -DPACKAGE=\"geany\" -DG_OS_WIN32 -Wno-missing-braces -Wno-char-subscripts $(INCLUDEDIRS) CBASEFLAGS=-Wall -pipe -mms-bitfields -DPACKAGE=\"geany\" -Wno-missing-braces -Wno-char-subscripts $(INCLUDEDIRS)
ifdef DEBUG ifdef DEBUG
CFLAGS= -O0 -g $(CBASEFLAGS) CFLAGS= -O0 -g $(CBASEFLAGS)
else else
@ -33,7 +33,7 @@ CFLAGS=-O2 $(CBASEFLAGS)
endif endif
.c.o: .c.o:
$(CC) $(REGEX_DEFINES) $(CFLAGS) -w -c $< $(CC) $(REGEX_DEFINES) $(CFLAGS) -c $<
all: $(COMPLIB) all: $(COMPLIB)