Mail Archives: djgpp-workers/2002/06/02/10:19:30
Hello.
Below is a patch to turn off -Werror for ioctl.c, fcntl.c.
This allows us to build them with gcc 3.1 again.
OK to commit?
Thanks, bye, Rich =]
Index: src/libc/posix/fcntl/makefile
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/posix/fcntl/makefile,v
retrieving revision 1.1
diff -p -u -3 -r1.1 makefile
--- src/libc/posix/fcntl/makefile 1995/04/02 03:27:30 1.1
+++ src/libc/posix/fcntl/makefile 2002/06/02 12:59:23
@@ -5,4 +5,6 @@ SRC += creat.c
SRC += fcntl.c
SRC += open.c
+fcntl.o: CFLAGS += -Wno-error
+
include $(TOP)/../makefile.inc
Index: src/libc/compat/ioctl/makefile
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/compat/ioctl/makefile,v
retrieving revision 1.2
diff -p -u -3 -r1.2 makefile
--- src/libc/compat/ioctl/makefile 1996/08/13 00:10:16 1.2
+++ src/libc/compat/ioctl/makefile 2002/06/02 12:59:23
@@ -3,4 +3,6 @@ TOP=../..
SRC += ioctl.c
+ioctl.o: CFLAGS += -Wno-error
+
include $(TOP)/../makefile.inc
- Raw text -