From: Gunter Knauf Date: Fri, 3 Sep 2004 18:51:36 +0000 (+0000) Subject: fixed nasty warnings with gcc 3.3. X-Git-Tag: curl-7_12_2~137 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=702f549a6a0126923806132a3b45621f55a8a0af;p=thirdparty%2Fcurl.git fixed nasty warnings with gcc 3.3. --- diff --git a/ares/Makefile.netware b/ares/Makefile.netware index 1d77e95978..5ce8957860 100644 --- a/ares/Makefile.netware +++ b/ares/Makefile.netware @@ -88,7 +88,7 @@ LD = nlmconv LDFLAGS = -T AR = ar ARFLAGS = -cq -CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return +CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return -fno-strict-aliasing CFLAGS += -Wall -Wno-format # -pedantic ifeq ($(LIBARCH),LIBC) PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o diff --git a/lib/Makefile.netware b/lib/Makefile.netware index 0a4da893e2..afd9ce71a2 100644 --- a/lib/Makefile.netware +++ b/lib/Makefile.netware @@ -93,7 +93,7 @@ LD = nlmconv LDFLAGS = -T AR = ar ARFLAGS = -cq -CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return +CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return -fno-strict-aliasing CFLAGS += -Wall # -pedantic ifeq ($(LIBARCH),LIBC) PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o diff --git a/src/Makefile.netware b/src/Makefile.netware index 5a84ff40d8..d3d14fdfcd 100644 --- a/src/Makefile.netware +++ b/src/Makefile.netware @@ -90,7 +90,7 @@ endif else LD = nlmconv LDFLAGS = -T -CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return +CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return -fno-strict-aliasing CFLAGS += -Wall # -pedantic ifeq ($(LIBARCH),LIBC) PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o