This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Alternate patch eliminating MD_CALL_PROTOTYPES
- To: zack at wolery dot cumb dot org
- Subject: Re: Alternate patch eliminating MD_CALL_PROTOTYPES
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Sun, 21 May 2000 09:11:17 -0400 (EDT)
- Cc: gcc-patches at gcc dot gnu dot org
> 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