• 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
Re: IB framework not compatible with Obj-C++ ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB framework not compatible with Obj-C++ ?


  • Subject: Re: IB framework not compatible with Obj-C++ ?
  • From: lbland <email@hidden>
  • Date: Sun, 15 Jun 2003 16:19:02 -0400

On Sunday, June 15, 2003, at 02:43 PM, Karin Kosina wrote:

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;

include the header like this:

extern "Objective-C"
{
#import <InterfaceBuilder/IBConnectors.h>
}

and try again.

-lance
_______________________________________________
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.

References: 
 >IB framework not compatible with Obj-C++ ? (From: Karin Kosina <email@hidden>)

  • Prev by Date: Re: IB framework not compatible with Obj-C++ ?
  • Next by Date: Re: Subclass
  • Previous by thread: Re: IB framework not compatible with Obj-C++ ?
  • Next by thread: Re: IB framework not compatible with Obj-C++ ?
  • Index(es):
    • Date
    • Thread