This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix warnings in varray.c
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: Fix warnings in varray.c
- From: law at redhat dot com
- Date: Mon, 09 Jul 2001 14:53:14 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <hod77a8sbe.fsf@gee.suse.de>you write:
>
> I've just got the following warnings while bootstrapping:
>
> /cvs/gcc/gcc/varray.c: In function `varray_check_failed':
> /cvs/gcc/gcc/varray.c:87: warning: implicit declaration of function `intern
> al_error'
> /cvs/gcc/gcc/varray.c:89: warning: implicit declaration of function `trim_f
> ilename'
> /cvs/gcc/gcc/varray.c:90: warning: `noreturn' function does return
>
> Here's a patch to fix those. Ok to commit if bootstrapping passes on
> i686-linux-gnu?
>
> Andreas
>
> 2001-07-09 Andreas Jaeger <aj@suse.de>
>
> * varray.c: Include errors.h for internal_error and trim_filename
> declarations.
>
> * Makefile.in (varray.o): Add errors.h.
Approved. Please install.
jeff