ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » eclipse cdt + mingw windows compilation errors

Post new topic  Reply to topic
 eclipse cdt + mingw windows compilation errors « View previous topic :: View next topic » 
Author Message
myzener
PostPosted: Fri Jun 04, 2004 6:30 am    Post subject: eclipse cdt + mingw windows compilation errors Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Fri Jun 04, 2004 9:06 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » eclipse cdt + mingw windows compilation errors
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.