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>
 > > 
 > > Doesn't -Wstrict-prototypes make -Wmissing-prototypes redundant?
 > > (I.e. isn't -Wstrict-prototypes a superset of -Wmissing-prototypes?)
 > 
 > No, they do quite different things.  You need both to get all possible
 > warnings about unprototyped functions.
 > zw

I'm curious, would you please show me a C code snippet which explains
where -Wmissing-prototypes would trigger when -Wstrict-prototypes
doesn't?

		Thanks,
		--Kaveh
--
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]