killed warning with gcc 3.3.1 and later when using -O2.
authorGunter Knauf <gk@gknw.de>
Sat, 3 Jul 2004 19:58:01 +0000 (19:58 +0000)
committerGunter Knauf <gk@gknw.de>
Sat, 3 Jul 2004 19:58:01 +0000 (19:58 +0000)
lib/Makefile.netware
src/Makefile.netware

index e0c763a..62de981 100644 (file)
@@ -94,7 +94,7 @@ LDFLAGS       = -T
 AR     = ar
 ARFLAGS        = -cq
 CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return
-CFLAGS += -Wall # -pedantic
+CFLAGS += -Wall -Wno-strict-aliasing # -pedantic
 ifeq ($(LIBARCH),LIBC)
        PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o
 else
index 6241a4e..fd05733 100644 (file)
@@ -91,7 +91,7 @@ else
 LD     = nlmconv
 LDFLAGS        = -T
 CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return
-CFLAGS += -Wall # -pedantic
+CFLAGS += -Wall -Wno-strict-aliasing # -pedantic
 ifeq ($(LIBARCH),LIBC)
        PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o
 else