• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
IB framework not compatible with Obj-C++ ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: IB framework not compatible with Obj-C++ ?
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: IB framework not compatible with Obj-C++ ?
      • From: lbland <email@hidden>
    • Re: IB framework not compatible with Obj-C++ ?
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: NSStatusItem with custom view
  • Next by Date: sheet without dock icon bounce?
  • Previous by thread: NSStatusItem with custom view
  • Next by thread: Re: IB framework not compatible with Obj-C++ ?
  • Index(es):
    • Date
    • Thread