This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix consistency.vlad endian testcase


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]