patch by jonathan wilson to enable -Wall -Werror, and a path sep fix for unix by me

svn path=/trunk/; revision=6700
This commit is contained in:
Vizzini 2003-11-19 05:47:28 +00:00
parent 3a1972736a
commit d60d0aa990
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
#include <windows.h>
#include <msvcrt\stdio.h>
#include <msvcrt/stdio.h>
#ifdef __GNUC__

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.5 2003/08/07 04:03:24 royce Exp $
# $Id: Makefile,v 1.6 2003/11/19 05:47:28 vizzini Exp $
PATH_TO_TOP = ../..
@ -8,7 +8,7 @@ TARGET_NAME = zlib
TARGET_CFLAGS = \
-MMD -O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \
-Wstrict-prototypes -Wmissing-prototypes
-Wstrict-prototypes -Wmissing-prototypes -Werror
# require os code to explicitly request A/W version of structs/functions
TARGET_CFLAGS += -D_DISABLE_TIDENTS