• 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: Rustam Muginov <email@hidden>
  • Date: Wed, 16 May 2007 10:19:29 +0400

Set the "-x c" compile flag for this file
--
Sincerely, 
Rustam Muginov


On 16.05.2007, at 10: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:

This email sent to email@hidden

References: 
 >Forcing a single source file to compile with different compiler (From: Mike <email@hidden>)

  • Prev by Date: Re: 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: Re: 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