Moving from CodeWarrior PreProcessor problem
Moving from CodeWarrior PreProcessor problem
- Subject: Moving from CodeWarrior PreProcessor problem
- From: Doug Neale <email@hidden>
- Date: Thu, 28 Jun 2007 18:43:34 +0100
Hi,
I'm trying to port a multi file project from CodeWarrior (written in C)
to Xcode 2.4.1, and the previous approach of #including all the
subsidiary files near the start of the main file doesn't seem to work.
It looks like the PreProcessor in Xcode doesn't actually treat the
result of the #includes as a single file with everything in scope, as
all references to global variables in the header file cause a 'not
declared in this scope' error.
I have the build setting 'Scan all Source files for Includes' checked,
but is there something else that I have missed which is causing this
problem?
Regards,
Doug Neale
_______________________________________________
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