delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/06/02/10:19:30

Date: Sun, 02 Jun 2002 14:06:20 +0100
From: "Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk>
Sender: rich AT phekda DOT freeserve DOT co DOT uk
To: djgpp-workers AT delorie DOT com
X-Mailer: Emacs 21.2.50 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
Subject: Patch to turn off -Werror for ioctl.c, fcntl.c
Message-Id: <E17EUy8-0000hY-00@phekda.freeserve.co.uk>
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019