• 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: Forcing a single source file to compile with different compiler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forcing a single source file to compile with different compiler


  • Subject: Re: Forcing a single source file to compile with different compiler
  • From: Michael Watson <email@hidden>
  • Date: Wed, 16 May 2007 02:14:25 -0400

Change the file's extension to .c and Xcode will pick up on the change automatically.


-- m-s

On 16 May, 2007, at 02:12, Mike wrote:

I have a Carbon project in XCode 2.4.1. I have a .cp library file but for this project I want just that one file to compile as a C, not a C++ file. Is there a way to force XCode to use the C compiler on just that one file instead of using the C++ compiler?

Thanks,

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


This email sent to email@hidden

_______________________________________________ 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: 
 >Forcing a single source file to compile with different compiler (From: Mike <email@hidden>)

  • Prev by Date: Forcing a single source file to compile with different compiler
  • Next by Date: Re: Forcing a single source file to compile with different compiler
  • Previous by thread: Forcing a single source file to compile with different compiler
  • Next by thread: Re: Forcing a single source file to compile with different compiler
  • Index(es):
    • Date
    • Thread