This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]