Re: Xcode problem including stdio.h
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