Sender: nate AT cartsys DOT com Message-ID: <35A2F990.1D612365@cartsys.com> Date: Tue, 07 Jul 1998 21:46:09 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Burton Radons CC: djgpp-workers AT delorie DOT com Subject: Re: Regex patch References: <35a68f9e DOT 9230585 AT mail DOT cow-net DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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