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]

Re: Alternate patch eliminating MD_CALL_PROTOTYPES


 > From: Zack Weinberg <zack@wolery.cumb.org>
 > 
 > This is an alternate possibility for eliminating MD_CALL_PROTOTYPES,
 > suggested by rth: put wrapper macros around the problematic
 > generators.  Its advantage is that it requires no changes to
 > arch-specific code.  Its disadvantage is that it's a bit uglier.
 > I'm agnostic here; either approach works.
 > 
 > This has been tested on i386-linux, with prototype warnings enabled.
 > 
 > zw
 > 
 > 	* Makefile.in (WARN_CFLAGS): Add -Wstrict-prototypes
 > 	-Wmissing-prototypes.

Doesn't -Wstrict-prototypes make -Wmissing-prototypes redundant?
(I.e. isn't -Wstrict-prototypes a superset of -Wmissing-prototypes?)

		--Kaveh

PS: thanks for all your warning work! :-)
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions

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