• 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: Compiler error on NSAddImage call
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiler error on NSAddImage call


  • Subject: Re: Compiler error on NSAddImage call
  • From: Scott Tooker <email@hidden>
  • Date: Thu, 6 Nov 2003 00:06:44 -0800

If you are using a native target, you can set '-x c++' in the "Build"
tab for a given file.

In the next release we want to provide a way to tell Xcode "treat this
file as this filetype" which would do the same thing, but be understood
by all of Xcode instead of just the compiler.

Scott

On Nov 5, 2003, at 11:48 PM, Randy Croucher wrote:

>> Does your file have a suffix .c or .cpp ?
>> In C, you need to use the two word name for the type:
>> struct mach_header
>
> That was it, I was just coming to post that I found it, and I saw your
> reply.  Thank you.
>
> Is there an option in Xcode to force C++ compilation of .c files?  I
> had this option on in CodeWarrior.
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Compiler error on NSAddImage call (From: Cameron Hayne <email@hidden>)
 >Re: Compiler error on NSAddImage call (From: Randy Croucher <email@hidden>)

  • Prev by Date: Re: Compiler error on NSAddImage call
  • Next by Date: Linking to a dylib
  • Previous by thread: Re: Compiler error on NSAddImage call
  • Next by thread: Slow update of warnings and errors window
  • Index(es):
    • Date
    • Thread