This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC3.2 64 bit compilation Error
- From: random at bubblescope dot net
- To: mahaboob dot saida at tcs dot com
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 08 Sep 2005 13:42:22 +0100
- Subject: Re: GCC3.2 64 bit compilation Error
- References: <4320318B.6040508@tcs.com>
Mahaboob Saida Shaik wrote:
>
> Hi ,
>
> I am trying to compile our code using GCC 3.2 for the 64 bit
> compilation. I got the following error.
>
> dt_lib.c:698: string length `633' is greater than the length `509' ISO
> C89 compilers are required to support
I can't really see what I can say that is more clear than that error.
You have some strings of length longer than 509 characters defined in
the code, and 509 characters is all that C89 compilers are required to
support. This isn't a problem on gcc, just a warning. This is unrelated
to the fact you are using a 64 bit compiler.
The problem comes from the fact that you have the command line flag
"-Werror". This causes warning (which is what this is) to stop
compilation like an error. You should remove this flag from the Makefile
you are using.
Chris