|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
eclipse cdt + mingw windows compilation errors |
« View previous topic :: View next topic » |
Author |
Message
|
myzener |
Posted: Fri Jun 04, 2004 6:30 am Post subject: eclipse cdt + mingw windows compilation errors |
|
|
Newbie
Joined: 04 Jun 2004 Posts: 3
|
Hallo everybody and sorry for my english.
I'm a newbie trying to compile imqdput.cpp whith mingw g++ 3.2.3 on eclipse CDT IDE on windows.
Having problems in #include <imqi.hpp>
Could someone point me to the right direction?
Thanks in advance
g++ -ID:\c++\mingw\include -ID:\IBM\WebSphereMQ\Tools\c\include -ID:\IBM\WebSphereMQ\Tools\cplus\include -O3 -Wall -c -o imqdput.o ../imqdput.cpp
In file included from D:/IBM/WebSphereMQ/Tools/cplus/include/imqerr.hpp:24,
from D:/IBM/WebSphereMQ/Tools/cplus/include/imqitm.hpp:21,
from D:/IBM/WebSphereMQ/Tools/cplus/include/imqbin.hpp:21,
from D:/IBM/WebSphereMQ/Tools/cplus/include/imqobj.hpp:21,
from D:/IBM/WebSphereMQ/Tools/cplus/include/imqmgr.hpp:21,
from D:/IBM/WebSphereMQ/Tools/cplus/include/imqair.hpp:19,
from D:/IBM/WebSphereMQ/Tools/cplus/include/imqi.hpp:21,
from ../imqdput.cpp:34:
D:/IBM/WebSphereMQ/Tools/cplus/include/imqtype.h:159: stray '\32' in program |
|
Back to top |
|
 |
RogerLacroix |
Posted: Fri Jun 04, 2004 9:06 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
I'm not trying to pick on you, but lately at www.mqseries.net people are posting questions without even making an attempt to figure out the problem themselves. What investigations have you done?
Did you read this line?
Code: |
D:/IBM/WebSphereMQ/Tools/cplus/include/imqtype.h:159: stray '\32' in program |
If you opened that file, you would have noticed that line # 159 was the VERY last line (past the #endif ). Somebody at IBM accidently put a x'1D' (32 decimal) character in the file. G++ is finding it and complaining.
So delete it.
Also, before you ask, you better start searching on how to link a C++ program with MQ using G++. Because I thought it didn't work because of the mangled names!!!!!!
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|