public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC3.2 64 bit  compilation Error
@ 2005-09-08 12:37 Mahaboob Saida Shaik
  2005-09-08 12:44 ` random
  0 siblings, 1 reply; 6+ messages in thread
From: Mahaboob Saida Shaik @ 2005-09-08 12:37 UTC (permalink / raw)
  To: gcc-help


Hi ,

I am trying to compile our code using GCC 3.2 for the 64 bit 
compilation. I got the following error.


 >> cmake global_all 64bit=on
       clearmake do_lib
clearmake[2]: Entering directory 
`/vobs/tsp/sea/seaApz/CP/utils/dt_loader_lib'
       /home/pub/applications/gcc/3.2/bin/gcc -O2 -fschedule-insns2 
-mtune=ultrasparc -D_POSIX_PTHREAD_SEMANTICS -DSEA_SOLARIS 
-DOSVERSION=5.8 -DOWTOOLKIT_WARNING_DISABLED -DUSE_NON_CONST 
-DCOBJMACROS -m64 -w -fPIC -Wall -W -Werror          
-DSEA_PRODUCT_NAME=\""SEA"\" -DSEA_PRODUCT_NUMBER=\""CRL 119 007"\" 
-DSEA_PRODUCT_REVISION=\"R17B\" -DWIZARD_PRODUCT_REVISION=\""R15B"\" 
-DPRODUCT_NAME=\""DT Loader Proxy"\" -DPRODUCT_NUMBER=\""CAA 209 4015"\" 
-DPRODUCT_REVISION=\"R3E\" -DBUILD_HOST_INFO=\""SunOS 5.8"\"  -ansi 
-pedantic-errors -Wtraditional -Wshadow 
-DPARSER_H_NAME=\"dt_parser_run_int.h\" 
-I/vobs/tsp/sea/seaCore/osCore/include  
-I/vobs/tsp/sea/seaCore/simCore/CLSIDs/include 
-I/vobs/tsp/sea/seaCore/simCore/interfaces/src 
-I/vobs/tsp/sea/seaCore/simCore/include 
-I/vobs/tsp/sea/seaAxeCommon/clsids/include 
-I/vobs/tsp/sea/seaAxeCommon/interfaces 
-I/vobs/tsp/sea/seaAxeCommon/include 
-I/vobs/tsp/sea/common/mph_client/c_lib -I/vobs/tsp/sea/seaAxeCommon/sis 
-I/vobs/tsp/sea/seaAxeCommon/sist -I/vobs/tsp/sea/common/compinfo 
-I/vobs/tsp/sea/common/tools/tcltkincr/SOLARIS -I. 
-I/vobs/tsp/sea/common/apslib  -o dt_lib_run_int.o -c dt_lib.c
dt_lib.c: In function `dt_parse_arg':
dt_lib.c:698: string length `633' is greater than the length `509' ISO 
C89 compilers are required to support
dt_lib.c:698: string length `582' is greater than the length `509' ISO 
C89 compilers are required to support
dt_lib.c:698: string length `639' is greater than the length `509' ISO 
C89 compilers are required to support
dt_lib.c:698: string length `582' is greater than the length `509' ISO 
C89 compilers are required to support
dt_lib.c:698: string length `1021' is greater than the length `509' ISO 
C89 compilers are required to support
dt_lib.c:698: string length `557' is greater than the length `509' ISO 
C89 compilers are required to support
dt_lib.c:700: string length `633' is greater than the length `509' ISO 
C89 compilers are required to support
dt_lib.c:700: string length `582' is greater than the length `509' ISO 
C89 compilers are required to support
dt_lib.c:700: string length `639' is greater than the length `509' ISO 
C89 compilers are required to support
dt_lib.c:700: string length `582' is greater than the length `509' ISO 
C89 compilers are required to support
dt_lib.c:700: string length `1021' is greater than the length `509' ISO 
C89 compilers are required to support
dt_lib.c:700: string length `557' is greater than the length `509' ISO 
C89 compilers are required to support
dt_lib.c:705: string length `633' is greater than the length `509' ISO 
C89 compilers are required to support
dt_lib.c:705: string length `582' is greater than the length `509' ISO 
C89 compilers are required to support

could you please suggest what could be the problem . Any help in this 
regard will be much appreciated.

/Mahaboob

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GCC3.2 64 bit  compilation Error
  2005-09-08 12:37 GCC3.2 64 bit compilation Error Mahaboob Saida Shaik
@ 2005-09-08 12:44 ` random
       [not found]   ` <43203991.20309@tcs.com>
  0 siblings, 1 reply; 6+ messages in thread
From: random @ 2005-09-08 12:44 UTC (permalink / raw)
  To: mahaboob.saida; +Cc: gcc-help

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GCC3.2 64 bit  compilation Error
       [not found]   ` <43203991.20309@tcs.com>
@ 2005-09-08 13:19     ` random
  2005-09-08 13:32       ` Mahaboob Saida Shaik
  0 siblings, 1 reply; 6+ messages in thread
From: random @ 2005-09-08 13:19 UTC (permalink / raw)
  To: mahaboob.saida; +Cc: gcc-help

Mahaboob Saida Shaik wrote:

> Hi ,
>
> I tried with  removing the option -Werror   but the warnings are
> persistent ,
>
Apologises, I didn't look closely enough at what was going on. The flag
which is causing this problem is "-pedantic-errors".

Chris

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GCC3.2 64 bit  compilation Error
  2005-09-08 13:19     ` random
@ 2005-09-08 13:32       ` Mahaboob Saida Shaik
  2005-09-08 13:44         ` random
  0 siblings, 1 reply; 6+ messages in thread
From: Mahaboob Saida Shaik @ 2005-09-08 13:32 UTC (permalink / raw)
  To: random; +Cc: gcc-help


Hi ,

I am not using the option  "-pedantic-errors" during my compilation
as you can see from the below compile options.

/home/pub/applications/gcc/3.2/bin/gcc -O2 -fschedule-insns2 
-mtune=ultrasparc -D_POSIX_PTHREAD_SEMANTICS -DSEA_SOLARIS 
-DOSVERSION=5.8 -DOWTOOLKIT_WARNING_DISABLED -DUSE_NON_CONST 
-DCOBJMACROS -m64 -w -fPIC -Wall -W    -DSEA_PRODUCT_NAME=\""SEA"\" 
-DSEA_PRODUCT_NUMBER=\""CRL 119 007"\" -DSEA_PRODUCT_REVISION=\"R17B\" 
-DWIZARD_PRODUCT_REVISION=\""R15B"\" -DPRODUCT_NAME=\""DT Loader 
Proxy"\" -DPRODUCT_NUMBER=\""CAA 209 4015"\" -DPRODUCT_REVISION=\"R3E\" 
-DBUILD_HOST_INFO=\""SunOS 5.8"\"  -ansi -pedantic-errors -Wtraditional 
-Wshadow -DPARSER_H_NAME=\"dt_parser_run_int.h\" 
-I/vobs/tsp/sea/seaCore/osCore/include  
-I/vobs/tsp/sea/seaCore/simCore/CLSIDs/include 
-I/vobs/tsp/sea/seaCore/simCore/interfaces/src 
-I/vobs/tsp/sea/seaCore/simCore/include 
-I/vobs/tsp/sea/seaAxeCommon/clsids/include 
-I/vobs/tsp/sea/seaAxeCommon/interfaces 
-I/vobs/tsp/sea/seaAxeCommon/include 
-I/vobs/tsp/sea/common/mph_client/c_lib -I/vobs/tsp/sea/seaAxeCommon/sis 
-I/vobs/tsp/sea/seaAxeCommon/sist -I/vobs/tsp/sea/common/compinfo 
-I/vobs/tsp/sea/common/tools/tcltkincr/SOLARIS -I. 
-I/vobs/tsp/sea/common/apslib  -o dt_lib_run_int.o -c dt_lib.c

/Mahaboob

random@bubblescope.net wrote:

>Mahaboob Saida Shaik wrote:
>
>  
>
>>Hi ,
>>
>>I tried with  removing the option -Werror   but the warnings are
>>persistent ,
>>
>>    
>>
>Apologises, I didn't look closely enough at what was going on. The flag
>which is causing this problem is "-pedantic-errors".
>
>Chris
>
>  
>

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GCC3.2 64 bit  compilation Error
  2005-09-08 13:32       ` Mahaboob Saida Shaik
@ 2005-09-08 13:44         ` random
  2005-09-08 14:19           ` Mahaboob Saida Shaik
  0 siblings, 1 reply; 6+ messages in thread
From: random @ 2005-09-08 13:44 UTC (permalink / raw)
  To: mahaboob.saida; +Cc: gcc-help

Mahaboob Saida Shaik wrote:

>
> Hi ,
>
> I am not using the option  "-pedantic-errors" during my compilation
> as you can see from the below compile options.
>
> /home/pub/applications/gcc/3.2/bin/gcc -O2 -fschedule-insns2
> -mtune=ultrasparc -D_POSIX_PTHREAD_SEMANTICS -DSEA_SOLARIS
> -DOSVERSION=5.8 -DOWTOOLKIT_WARNING_DISABLED -DUSE_NON_CONST
> -DCOBJMACROS -m64 -w -fPIC -Wall -W    -DSEA_PRODUCT_NAME=\""SEA"\"
> -DSEA_PRODUCT_NUMBER=\""CRL 119 007"\" -DSEA_PRODUCT_REVISION=\"R17B\"
> -DWIZARD_PRODUCT_REVISION=\""R15B"\" -DPRODUCT_NAME=\""DT Loader
> Proxy"\" -DPRODUCT_NUMBER=\""CAA 209 4015"\"
> -DPRODUCT_REVISION=\"R3E\" -DBUILD_HOST_INFO=\""SunOS 5.8"\"  -ansi
> -pedantic-errors -Wtraditional -Wshadow

...?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GCC3.2 64 bit  compilation Error
  2005-09-08 13:44         ` random
@ 2005-09-08 14:19           ` Mahaboob Saida Shaik
  0 siblings, 0 replies; 6+ messages in thread
From: Mahaboob Saida Shaik @ 2005-09-08 14:19 UTC (permalink / raw)
  To: random; +Cc: gcc-help


Sorry !!!

Thanks a lot for the help .....Now it works fine !!

/Mahaboob

random@bubblescope.net wrote:

>Mahaboob Saida Shaik wrote:
>
>  
>
>>Hi ,
>>
>>I am not using the option  "-pedantic-errors" during my compilation
>>as you can see from the below compile options.
>>
>>/home/pub/applications/gcc/3.2/bin/gcc -O2 -fschedule-insns2
>>-mtune=ultrasparc -D_POSIX_PTHREAD_SEMANTICS -DSEA_SOLARIS
>>-DOSVERSION=5.8 -DOWTOOLKIT_WARNING_DISABLED -DUSE_NON_CONST
>>-DCOBJMACROS -m64 -w -fPIC -Wall -W    -DSEA_PRODUCT_NAME=\""SEA"\"
>>-DSEA_PRODUCT_NUMBER=\""CRL 119 007"\" -DSEA_PRODUCT_REVISION=\"R17B\"
>>-DWIZARD_PRODUCT_REVISION=\""R15B"\" -DPRODUCT_NAME=\""DT Loader
>>Proxy"\" -DPRODUCT_NUMBER=\""CAA 209 4015"\"
>>-DPRODUCT_REVISION=\"R3E\" -DBUILD_HOST_INFO=\""SunOS 5.8"\"  -ansi
>>-pedantic-errors -Wtraditional -Wshadow
>>    
>>
>
>...?
>
>  
>

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-08 14:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-08 12:37 GCC3.2 64 bit compilation Error Mahaboob Saida Shaik
2005-09-08 12:44 ` random
     [not found]   ` <43203991.20309@tcs.com>
2005-09-08 13:19     ` random
2005-09-08 13:32       ` Mahaboob Saida Shaik
2005-09-08 13:44         ` random
2005-09-08 14:19           ` Mahaboob Saida Shaik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).