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  |
 |
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:
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
|
|
|
Goto Forum:
Current Time: Wed Apr 30 00:37:35 CEST 2025
Total time taken to generate the page: 0.00714 seconds
|