This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: use K&R style function definitions in splay-tree library
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: jimb at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 27 Feb 2002 20:00:37 -0500 (EST)
- Subject: Re: RFA: use K&R style function definitions in splay-tree library
> From: Jim Blandy <jimb at redhat dot com>
>
> DJ pointed out that I used prototyped definitions in my recent splay
> tree patches. Does GCC have an "obvious fix rule" like GDB's?
Yes. And we recently branched 3.1 so check all copies of libiberty
please.
PS: I'm toying with a patch to -Wtraditional to warn about these.
I've got it working for functions with parameters but not for void
yet. That seems to be handled somewhere else so I have to hunt it
down.
--Kaveh
--
Kaveh R. Ghazi Director of Systems Architecture
ghazi@caip.rutgers.edu Qwest Global Services