This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-2.95 fixinc/server.c warning fixes
- To: "Philippe De Muyter" <phdm at macqel dot be>
- Subject: Re: gcc-2.95 fixinc/server.c warning fixes
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 07 Aug 1999 01:42:26 -0600
- cc: egcs-patches at egcs dot cygnus dot com (egcs-patches at egcs dot cygnus dot com)
- Reply-To: law at cygnus dot com
In message <199906060222.EAA02530@mail.macqel.be>you write:
>
> Sun Jun 6 03:59:00 1999 Philippe De Muyter <phdm@macqel.be>
>
> * fixinc/server.c (server_setup): Do not prefix function used as
> parameter with `&'.
Thanks. I installed this patch.
> * system.h (malloc, realloc): New external function declarations.
I do not think this patch is complete. For example you'll have problems on
systems that use mips-tdump since it also conditionally defines malloc,
realloc & calloc.
I think you need make three changes:
1. Add a conditional declaration for calloc.
2. Kill the decls in mips-tfile.c
jeff
to zap the mips-tdump declarations at the same time you
install this patch.
jeff