Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » [SOLVED] CtrlLib/Ctrl.iml:41:1: error: expected unqualified-id before '{' token
[SOLVED] CtrlLib/Ctrl.iml:41:1: error: expected unqualified-id before '{' token [message #35697] Tue, 13 March 2012 19:34 Go to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
This error is killing me.
I want to move my test *.mm files from UNS and SkeletonCoc packages (which compiles fine), bet if I add any new *.mm files to the main testing package which contains *.cpp files, I got this error:
CtrlLib/Ctrl.iml:41:1: error: expected unqualified-id before '{' token

So, most likely, this is related to objc and Draw/iml_header.h. I tried many different combinations of includes and package structuring but... I guess I need to understand the intrinsics of iml_header.h

Combined Posibilities:
1 for objc and/or c++
2 include or exclude some header
3 or define or undef something?

iml_header.h:
class IMAGECLASS {
public:
#define IMAGE_BEGIN(n) I_##n,
#define IMAGE_ID(n) I_##n,
	enum {
#include IMAGEFILE
		COUNT
	};
#undef  IMAGE_BEGIN
#undef  IMAGE_ID
...


line 41:
IMAGE_ID(check)


my guess - IMAGE_ID becomes undefined at the wrong moment (when is included/compiles objc (where?)) for some reasons... what reasons?

Need some clues..

[Updated on: Wed, 14 March 2012 01:31]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: changes needed in Upp <Core> to run cocoa properly
Next Topic: Installation, I need Help!
Goto Forum:
  


Current Time: Thu May 02 08:54:52 CEST 2024

Total time taken to generate the page: 0.04005 seconds