public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* error message while doing porting work from gcc2.95.2  to gcc3.3.2
@ 2005-09-24 10:18 Chandra Sekhar M
  0 siblings, 0 replies; only message in thread
From: Chandra Sekhar M @ 2005-09-24 10:18 UTC (permalink / raw)
  To: gcc-help


/Hi

We have an application. When we are trying to compile my code with 
gcc3.3.2 , i am getting the fallowing error./

*Compile Log :*

/opt/sfw/gcc-3/bin/c++ -O2 -fschedule-insns2 -mtune=ultrasparc 
-D_POSIX_PTHREAD_SEMANTICS -DSEA_SOLARIS -DOSVERSION=5.9 
-DOWTOOLKIT_WARNING_DISABLED -DUSE_NON_CONST -fPIC -Wall -w -ffor-scope 
-fpermissive -DSEA_PRODUCT_NAME=\""SEA"\" -DSEA_PRODUCT_NUMBER=\""CRL 
119 007"\" -DSEA_PRODUCT_REVISION=\"R17A\" 
-DWIZARD_PRODUCT_REVISION=\""R15A"\" -DPRODUCT_NAME=\""TMOSproxy"\" 
-DPRODUCT_NUMBER=\""CAA 209 4007"\" -DPRODUCT_REVISION=\""R3E"\" 
-DBUILD_HOST_INFO=\""SunOS 5.9"\" -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/tools/sunlink/x25_9.1/sparc/SUNWx25a/reloc/usr/include 
-I/vobs/tsp/tools/sunlink/x25_9.1/sparc/usr/include 
-I/vobs/tsp/sea/seaApz/CP/interfaces -I/vobs/tsp/sea/common/apslib -c 
x25session.cc 
*
Error Message :*

  In file included from x25session.cc:2126:
/vobs/tsp/tools/sunlink/x25_9.1/sparc/SUNWx25a/reloc/usr/include/netx25/xnetdb.h: 
In
   member function `int X25Session::send_CALL_RESPONSE()':
/vobs/tsp/tools/sunlink/x25_9.1/sparc/SUNWx25a/reloc/usr/include/netx25/xnetdb.h:171: 
error: too
   many arguments to function `int stox25()'
x25nli.cc:90: error: at this point in file
/vobs/tsp/tools/sunlink/x25_9.1/sparc/SUNWx25a/reloc/usr/include/netx25/xnetdb.h: 
In
   member function `int X25Session::send_CALL_REQUEST()':
/vobs/tsp/tools/sunlink/x25_9.1/sparc/SUNWx25a/reloc/usr/include/netx25/xnetdb.h:171: 
error: too
   many arguments to function `int stox25()'
x25nli.cc:181: error: at this point in file
/vobs/tsp/tools/sunlink/x25_9.1/sparc/SUNWx25a/reloc/usr/include/netx25/xnetdb.h:171: 
error: too
   many arguments to function `int stox25()'
x25nli.cc:197: error: at this point in file



/The same thing when i compile with gcc2.95.2 its working well.

The function/  "stox25()"/ required 3 arguments. in file  /"xnetdb.h "/  
stox25() declared as /"extern int      stox25(); "/

/x25session.cc:2126 -> x25nli.cc
x25nli.cc:90,181,197->  returnCode = stox25((unsigned char *)addressIn, 
(struct xaddrf *) &(cp->responder), 0);

Can you please explain how to come out from this problem.


Thanks & Regards,
Chandra Sekhar M.



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] only message in thread

only message in thread, other threads:[~2005-09-24 10:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-24 10:18 error message while doing porting work from gcc2.95.2 to gcc3.3.2 Chandra Sekhar M

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).