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]

error message while doing porting work from gcc2.95.2 to gcc3.3.2



/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


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