• 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: Can't include objective c file in carbon project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't include objective c file in carbon project


  • Subject: Re: Can't include objective c file in carbon project
  • From: Kurt Spaker <email@hidden>
  • Date: Wed, 29 Oct 2008 15:15:00 -0400
  • Organization: Asar Corporation

On Oct 29, 2008, Shawn Erickson wrote:

>> Yet NSCursorWrappers.m is being compiled as C++ and generating 1000s of
>> errors.
>
> In Xcode get info on the NSCursorWrappers.m file and see if you have
> changed the file type to C++ some how.
>
> You should see sourcecode.c.objc for Objective-C (.m)

The filetype is shown as sourcecode.c.objc.

Could there be a compiler flag included somewhere forcing the compiler to
treat this as C++? Any suggestions what to search for?

Also, is there an additional compiler flag I could set just for this file, to
force the compiler to treat it as ObjC, at least just to test?

Kurt

 _______________________________________________
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

  • Follow-Ups:
    • Re: Can't include objective c file in carbon project
      • From: "Mark Wagner" <email@hidden>
    • Re: Can't include objective c file in carbon project
      • From: Jeffrey Oleander <email@hidden>
References: 
 >Re: Can't include objective c file in carbon project (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: Can't include objective c file in carbon project
  • Next by Date: Re: Can't include objective c file in carbon project
  • Previous by thread: Re: Can't include objective c file in carbon project
  • Next by thread: Re: Can't include objective c file in carbon project
  • Index(es):
    • Date
    • Thread