• 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: Xcode problem including stdio.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode problem including stdio.h


  • Subject: Re: Xcode problem including stdio.h
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Tue, 4 Mar 2008 12:08:01 +0100


Le 4 mars 08 à 12:04, Alastair Houghton a écrit :

On 4 Mar 2008, at 03:44, Terry Simons wrote:

I'm running into a strange issue migrating a library (which builds fine on the command line with gcc) to an Xcode target. I'm having a devil of a time trying to figure out what's going on, but it doesn't seem like the error in question is actually pointing at the real problem.

The error is:

/usr/include/stdio.h:75: error: syntax error before 'off_t'

You'll have to show some more code here, I think. Are you using a prefix header, perchance? Maybe there is something in the prefix header that is preventing off_t from being defined?


Kind regards,

Alastair.

--
http://alastairs-place.net

You can try to precompile your file (right clic on your file in Xcode, and choose Preprocess) and in the resulting file, you should be able to see what GCC does not like. (search for off_t for example). _______________________________________________
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: 
 >Xcode problem including stdio.h (From: Terry Simons <email@hidden>)
 >Re: Xcode problem including stdio.h (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: Xcode problem including stdio.h
  • Next by Date: WebView searchFor
  • Previous by thread: Re: Xcode problem including stdio.h
  • Next by thread: Can Xcode run my application elevated?
  • Index(es):
    • Date
    • Thread