• 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: Problems with #include "" vs #include <>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with #include "" vs #include <>


  • Subject: Re: Problems with #include "" vs #include <>
  • From: Diego Rey <email@hidden>
  • Date: Fri, 19 Dec 2003 21:01:06 -0300

On 12/19/03 7:06 PM, "Marshall Clow" <email@hidden> wrote:

> Inside Nitrogen/CFDate.h, this is what I see:
>
> #include <CFDate.h>    // Include Carbon's CFDate

This is a CoreFoundation header file.  To be able to use it from Xcode just
replace it with:

#ifdef __APPLE_CC__
#include <CoreFoundation/CFDate.h>
#else
#include <CFDate.h>
#endif

Same thing goes for all other CoreFoundation or Carbon headers:

#ifdef __APPLE_CC__
#include <CoreFoundation/CFheader.h>
#include <Carbon/header.h>
#else
#include <CFheader.h>
#include <header.h>
#endif

It may be required, and is surely recommended, that you actually add the
frameworks to the project, so that you can quickly browse through the header
files.

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: 
 >Problems with #include "" vs #include <> (From: Marshall Clow <email@hidden>)

  • Prev by Date: Re: tricky debugging question
  • Next by Date: Xcode 1.1
  • Previous by thread: Re: Problems with #include "" vs #include <>
  • Next by thread: ZeroLink.dylib
  • Index(es):
    • Date
    • Thread