• 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: Build failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build failure


  • Subject: Re: Build failure
  • From: Alastair Houghton <email@hidden>
  • Date: Thu, 20 Sep 2007 10:33:05 +0100

On 20 Sep 2007, at 05:44, Apparao wrote:

Yes Alastatir, I have included iostream and cstring in my project prefix header file. Getting same compilation errors.

Which file is causing the compilation errors? Are they happening when processing the prefix header? If not, try adding #include <cstring> to the file where you're seeing the problem. If that works, there's a problem with your prefix header (e.g. perhaps you're only #including <cstring> if the code is Objective-C?)


If you still can't figure it out, show us the contents of your prefix header.

From the above command, i didn't find any -isysroot option in the GCC man pages. Is this option causing any problem?

-isysroot is not the problem. It's just the way that Apple implement the SDK functionality.


The problem here is that the compiler isn't seeing the declarations in the cstring header. If it were, then it would see the names it's looking for.

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
  • Follow-Ups:
    • Re: Build failure
      • From: Apparao <email@hidden>
References: 
 >Build failure (From: Apparao <email@hidden>)
 >Re: Build failure (From: Thomas Engelmeier <email@hidden>)
 >Re: Build failure (From: Apparao <email@hidden>)
 >Re: Build failure (From: Alastair Houghton <email@hidden>)
 >Re: Build failure (From: Apparao <email@hidden>)

  • Prev by Date: Re: Xcode uses 100% of cpu while debugging
  • Next by Date: Re: Build failure
  • Previous by thread: Re: Build failure
  • Next by thread: Re: Build failure
  • Index(es):
    • Date
    • Thread