• 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: bringing windows c++ code to Macintosh
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bringing windows c++ code to Macintosh


  • Subject: Re: bringing windows c++ code to Macintosh
  • From: "Sherm Pendley" <email@hidden>
  • Date: Wed, 10 Sep 2008 03:34:29 -0400

On Wed, Sep 10, 2008 at 3:25 AM, M Pulis <email@hidden> wrote:

In case it is important, these declarations come from an ".hpp" source file, which Xcode should understand.

The extension of the included file isn't important - but the extension of the file that's including it can be. In C++, the only difference between a class and a struct is that the latter's members default to being public. The fact that the compiler complains about finding a method in a struct, and also complains about the "class" keyword, leads me to suspect that you're including this .hpp file in an Objective-C (.m) or C (.c) source file.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >bringing windows c++ code to Macintosh (From: M Pulis <email@hidden>)
 >Re: bringing windows c++ code to Macintosh (From: "Michael Williamson" <email@hidden>)
 >Re: bringing windows c++ code to Macintosh (From: M Pulis <email@hidden>)

  • Prev by Date: Re: bringing windows c++ code to Macintosh
  • Next by Date: Re: bringing windows c++ code to Macintosh
  • Previous by thread: Re: bringing windows c++ code to Macintosh
  • Next by thread: Re: bringing windows c++ code to Macintosh
  • Index(es):
    • Date
    • Thread