This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: One-line patch for gcc/varasm.c warning
- To: marekm at linux dot org dot pl
- Subject: Re: One-line patch for gcc/varasm.c warning
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 05 May 2000 10:16:27 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <20000505075301Z116507-10462+13@piast.t19.ds.pwr.wroc.pl>you write
:
>
> gcc/varasm.c:1292: warning: passing arg 2 of `unique_section' makes integer
> from pointer without a cast
Presumably your system has a bogus definition of NULL.
> 2000-05-05 Marek Michalkiewicz <marekm@linux.org.pl>
>
> * varasm.c (asm_emit_uninitialised): Use 0, not NULL
> as arg 2 of UNIQUE_SECTION.
I went ahead and installed this patch.
Thanks,
jeff