• 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: Objective-C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C++


  • Subject: Re: Objective-C++
  • From: "David Piasecki" <email@hidden>
  • Date: Thu, 8 Apr 2004 16:05:04 -0700

Thanks! That worked.

I had seen the .mm extension in a couple of areas online, but they used it for the cpp files instead of the Objective-C/C++ files, so I was naming things incorrectly.

Thanks again,
David


On Apr 8, 2004, at 3:47 PM, Bertrand Landry-Hitu wrote:

Rename MyController.m to MyController.mm

gcc needs the .mm extension to guess that your file is objective-c++ code.
_______________________________________________
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: Objective-C++
      • From: Scott Thompson <email@hidden>
References: 
 >Re: Objective-C++ (From: "David Piasecki" <email@hidden>)
 >Re: Objective-C++ (From: Bertrand Landry-Hétu <email@hidden>)

  • Prev by Date: Re: Objective-C++
  • Next by Date: Re: setNeedsDisplay: thread safe?
  • Previous by thread: Re: Objective-C++
  • Next by thread: Re: Objective-C++
  • Index(es):
    • Date
    • Thread