This is the mail archive of the gcc-help@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: GCC3.2 64 bit compilation Error


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


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