Mail Archives: djgpp-workers/1998/07/07/01:48:06
This is a multi-part message in MIME format.
--------------0D143CF3458487EDE916CEFA
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Eli Zaretskii wrote:
>
> On Mon, 6 Jul 1998, Vik Heyndrickx wrote:
>
> > -tradional work) would be the right thing to do IMHO. How easily is this
> > done, compiling partical files with different switches than the default
> > (i.e. in gcc.opt)
>
> There's no problem at all to use different switches for certain
> directories. You just need to define CFLAGS in the makefile of that
> directory which disables the over-zealous -Wxxx flags that gcc.opt sets.
> For example, to undo -Werror make CFLAGS include -Wno-error.
Okay, here's the patch.
Btw, I believe `egex.txh' in that directory should be `regex.txh'.
--
Nate Eldredge
nate AT cartsys DOT com
--------------0D143CF3458487EDE916CEFA
Content-Type: text/plain; charset=us-ascii; name="diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="diff"
*** src/libc/posix/regex/makefile.~ Mon Nov 3 00:01:44 1997
--- src/libc/posix/regex/makefile Mon Jul 6 22:40:08 1998
***************
*** 2,7 ****
--- 2,9 ----
# Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details
TOP=../..
+ CFLAGS = -w
+
SRC += regcomp.c
SRC += regerror.c
SRC += regexec.c
--------------0D143CF3458487EDE916CEFA--
- Raw text -