• 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: C file in Xcode C++ project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C file in Xcode C++ project


  • Subject: Re: C file in Xcode C++ project
  • From: Alastair Houghton <email@hidden>
  • Date: Wed, 21 Nov 2007 22:21:25 +0000

On 21 Nov 2007, at 15:37, Michael McLaughlin wrote:

If I include the filename.c file as such in the project, I get 198 errors in
Apple C++ headers that I do not without it. I get these errors even if
filename.c is totally empty!

My guess is that you have #included C++ headers in your prefix header without any #ifdef __cplusplus guards. Check your prefix header to make sure that it has appropriate guards.


Kind regards,

Alastair.

--
http://alastairs-place.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: 
 >C file in Xcode C++ project (From: Michael McLaughlin <email@hidden>)

  • Prev by Date: Docsets and Research Assistant
  • Next by Date: Error creating a std::string from a std::ostringstream
  • Previous by thread: C file in Xcode C++ project
  • Next by thread: C file in Xcode C++ project -- Addendum
  • Index(es):
    • Date
    • Thread