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: gcc-patches at gcc dot gnu dot org, 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: Sat, 20 May 2000 23:42:33 -0400 (EDT)
> 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