IB framework not compatible with Obj-C++ ?
IB framework not compatible with Obj-C++ ?
- Subject: IB framework not compatible with Obj-C++ ?
- From: Karin Kosina <email@hidden>
- Date: Sun, 15 Jun 2003 20:43:40 +0200
Hi,
I think have discovered an Objective-C++ compatibility problem with
the Interface Builder framwork. I am trying to create a custom
palette for an Objective-C++ class (SCView.mm). Obviously, I have
to include the InterfaceBuilder.framework... but including the
headers for this results in an Obj-C++ build error!
The problem is that when compiling obj-c++, "and" seems to get
replaced by "&&" in the source code. Therefore, the
- (void)displayConnectionBetween:(id)source and:(id)destination;
in [*] results in
"parse error before `&&' token"
and the build fails. (If I use an Obj-C class instead of Obj-C++
in the palette, everything works.)
Does anybody know if this is a known limitation, i.e. are Obj-C++
Interface Builder not supported? Can anybody recommend a workaround
for this problem? Or am I just stupid and overlooking something?
Thanks,
=/~ kyrah
[*] /System/Library/Frameworks/InterfaceBuilder.framework/Headers/IBConnectors.h:37
PS: Sorry for cross-posting, but I was not sure which list was
appropriate, since it's about the IB _framework_, not the
application.
--
Karin Kosina
Systems in Motion
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.