Xcode problem including stdio.h
Xcode problem including stdio.h
- Subject: Xcode problem including stdio.h
- From: Terry Simons <email@hidden>
- Date: Mon, 3 Mar 2008 20:44:53 -0700
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'
It appears to be occurring directly after including stdio.h (which is
the first thing that happens) in the main library file (which is the
first file to get compiled).
The only tweaks I've made to the target are:
ARCHS = ppc ppc64 i386 x86_64
HEADER_SEARCH_PATHS = /usr/include/** ../..//**
Additionally, I've already successfully created and got 2 other
library targets (which are much bigger/convoluted) building.
Both of the working libraries are also including stdio.h. Both of the
working libraries have the same target tweaks.
Any ideas? I'm totally baffled.
- Terry
_______________________________________________
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