cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/07/08/00:58:46

Sender: nate AT cartsys DOT com
Message-ID: <35A2F990.1D612365@cartsys.com>
Date: Tue, 07 Jul 1998 21:46:09 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: Burton Radons <loth AT gec DOT net>
CC: djgpp-workers AT delorie DOT com
Subject: Re: Regex patch
References: <35a68f9e DOT 9230585 AT mail DOT cow-net DOT com>

Burton Radons wrote:
> 
> This patch of the src/posix/regex directory performs all changes
> necessary to compile with -W -Wall -Wno-unused (My standard warning
> set).  I didn't change anything that wasn't necessary, to avoid
> enbuggery.

Oh dear.  Hate to break it to you, but I did the same thing, only to
discover that those aren't the options that are relevant.  The real ones
that it compiles with are:

-Wall
-Wbad-function-cast
-Wcast-qual
-Werror
-Wmissing-declarations
-Wmissing-prototypes
-Wpointer-arith
-Wshadow
-Wstrict-prototypes
-Wtraditional
-Wwrite-strings

-Wtraditional is a particular annoyance, since it seems there's some
difference in the type of a numeric constant between K&R and ANSI C.  I
don't know the details, but I suspect it will mean adding `U's to a lot
of numbers.

Btw, this doesn't *have* to be done; there's a perfectly good way, via
the Makefile, to just make GCC shut up.
-- 

Nate Eldredge
nate AT cartsys DOT com


- Raw text -


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