Header Problem still persists..Re: Header File Problem; sorry to bug this list...
Header Problem still persists..Re: Header File Problem; sorry to bug this list...
- Subject: Header Problem still persists..Re: Header File Problem; sorry to bug this list...
- From: Lemon Obrien <email@hidden>
- Date: Tue, 5 Feb 2008 16:52:35 -0800 (PST)
So, it's simple, but for some reason i can't seem to
get it to work...
all I want the compiler to do, is include system
header files when #include <file.h> is seen.
I have a library which emulates java in c++, the whole
java class library. It's pretty cool, but many of the
class names, header file names, are the same as some
common header files in the system, like string.h and
time.h.
In the implementation within some classes, I used good
ole ansi-c headers/functions, knowing they're
cross-compatible...
the only problem i have is getting xcode/gcc to work.
I know about build properties/info, etc. but when i
check/uncheck the ALWAYS_SEARCH_USER_PATHS the result
is the same.
does anyone have a clue? cause I don't, and i've found
no examples, documentation giving an example of even
how to set it up.
I don't know if I should set the one of the many
search paths or not, and to what value...i just want
it to search the "Base SDK Path" when #include <file>
first.
thanks for the help.
--- j o a r <email@hidden> wrote:
>
> On Feb 4, 2008, at 4:35 PM, Lemon Obrien wrote:
>
> > I've read stuff on how this problem was fixed,
> > well...i guess not. When I read the man pages it
> says:
> > "For backwards compatibility reasons, this setting
> is
> > enabled by default, but disabling it is strongly
> > recommended when using GCC 4.0 or later.
> > [ALWAYS_SEARCH_USER_PATHS]"
>
>
> In Xcode, select the target that you're building and
> hit CMD+I to open
> the target inspector.
> In the target inspector, select the Build tab.
> Make sure that the "Configuration" pop-up is set to
> either "All
> Configurations", or to the configuration that you
> care about.
> Make sure that the "Show" pop-up is set to "All
> Settings".
> Enter "ALWAYS_SEARCH_USER_PATHS" in the search
> field.
> At this point you should see this build setting in
> the build settings
> table view, and be able to change it to whatever you
> want.
> When building, open the build log to verify that the
> compiler is
> invoked as you expect.
>
> Something that sometimes trips up new Xcode users is
> that build
> settings can be specified at several different
> levels. At the target
> level, like above, but also at the project level.
> You might want to
> refer to the Xcode User Guide to learn more about
> how that works.
>
> j o a r
>
>
>
You don't get no juice unless you squeeze
Lemon Obrien, the Third.
http://www.tamago.us
_______________________________________________
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