• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: beginner's xcode question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: beginner's xcode question (From: Simon P <email@hidden>)

  • Prev by Date: Re: Java Resource Files
  • Next by Date: RE: Meaning of "Pre-compiled symbol file "AppKit.syms" is out of date"?
  • Previous by thread: Re: beginner's xcode question
  • Next by thread: creating a release target from a debug target
  • Index(es):
    • Date
    • Thread