This is the mail archive of the gcc@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] |
Hello:
I need to know how compile a c++ program that
use MQSeries library. We use gcc compiler (2.95.2).
We use the next flags:
-libg++ -limqb23ss -limqc23ss -lmqic -lnsl
-lsocket
This problem is caused by the use of operators overloading?.
$ gmake all
/bin/rm -f *.o gmake "LIBDIR=./nodebug" "EXEDIR=./nodebug" \ "LIBS=-limqb23ss -limqc23ss -lmqic -lnsl -lsocket" "CFLAGS=-I./include -I/usr/local/ossasn1/include " \ "EXT=_dbg" all_ussdx gmake[1]: Entering directory `/export/home/mperera/MovilPago' g++ -I./include -I/usr/local/ossasn1/include -c USSD.c -o USSD.o In file included from /usr/include/imqitm.hpp:23, from /usr/include/imqbin.hpp:23, from /usr/include/imqi.hpp:23, from USSD.c:14: /usr/include/imqerr.hpp:50: parse error before `&' /usr/include/imqerr.hpp:50: `ImqErr::operator =(...)' must take exactly one argument /usr/include/imqerr.hpp:54: confused by earlier errors, bailing out gmake[1]: *** [USSD.o] Error 1 gmake[1]: Leaving directory `/export/home/mperera/MovilPago' gmake: *** [all_nodebug] Error 2 Thanks in advanced!
Manuel Perera Rodríguez
Redes y Comunicaciones TCP Sistemas e Ingenieria c/ Fernández Caro, 7, 4ª Planta Madrid (Spain) |
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |