Re: beginner's xcode question
Re: beginner's xcode question
- Subject: Re: beginner's xcode question
- From: Diego Rey <email@hidden>
- Date: Tue, 09 Dec 2003 17:35:12 -0300
On 12/9/03 4:44 PM, "Simon P" <email@hidden> wrote:
>> Do you have header files in your project that happen
>> to have identical
>> names to system header files?
>
> Yes, some of my header files (Math.H or Limits.H) have
> the same names as system headers files.
>
> Is there a way around this problem (ie can I turn the
> -header-mapfile option off) or do I have to rename my
> header files?
>
> Thanks,
>
> Simon
>
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
>
On 12/9/03 4:44 PM, "Simon P" <email@hidden> wrote:
>> Do you have header files in your project that happen
>> to have identical
>> names to system header files?
>
> Yes, some of my header files (Math.H or Limits.H) have
> the same names as system headers files.
>
> Is there a way around this problem (ie can I turn the
> -header-mapfile option off) or do I have to rename my
> header files?
>
> Thanks,
>
> Simon
As far as I know, you can use <> and "" to fix that problem:
/* Use this for your custom header files */
#include "Math.h"
/* Use this for prepackaged header files. */
#include <Math.h>
I would also suggest to always name your header files after your project
name, or your personal framework name: MyProjectMath.h or MyFrameworkMath.h.
That way it's very unlikely that you will ever have problems.
Diego Rey
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.