This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix consistency.vlad endian testcase
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 05 Aug 2002 12:14:10 -0700
- Subject: Re: [PATCH] Fix consistency.vlad endian testcase
- References: <20020805205155.L20867@sunsite.ms.mff.cuni.cz>
Jakub Jelinek <jakub@redhat.com> writes:
> Hi!
>
> Without this compiling endian.c by C++ compiler fails (as strcmp
> is not prototyped). Ok to commit?
This is OK.
> 2002-08-05 Jakub Jelinek <jakub@redhat.com>
>
> * consistency.vlad/layout/endian.c: Include string.h.
>
> --- gcc/testsuite/consistency.vlad/layout/endian.c.jj 2001-02-12 20:39:56.000000000 +0100
> +++ gcc/testsuite/consistency.vlad/layout/endian.c 2002-08-05 14:36:58.000000000 +0200
> @@ -1,4 +1,5 @@
> #include <stdio.h>
> +#include <string.h>
>
> static int w[2];
> static char * bytes;
>
> Jakub
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>