Re: GCC3.2 64 bit compilation Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux