• 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: PCH not being used
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PCH not being used


  • Subject: Re: PCH not being used
  • From: Burt Johnson <email@hidden>
  • Date: Sun, 22 Jan 2006 19:23:33 -0800

>On Jan 22, 2006, at 12:38 PM, Burt Johnson wrote:
>
>> I added typedef for those items into 'FitSync_Prefix.pch' (the file
>> was
>> created by the wizard).  Tried to build again... and the same
>> problems are
>> reported?  Looks like the pch is not being used.  I thought the wizard
>> would have made all the necessary link ups.
>
>It does.
>
>Just out of curiosity, did you put the declarations within the #ifdef
>__OBJC__/#endif block in the generated .pch file?  And then try to
>use those definitions when compiling a C or C++ source file (rather
>than an Objective-C or Objective-C++ source file)?

Yes to the first part. No to the second.  The files are '.m' files, though
the contents are actually VC++ that I am porting.

As I understand it, the file name is what cues XCode to treat it as an ObjC
file, which would therefore define the __OBJ__ constant.  Is that correct?

--


- Burt Johnson
  MindStorm, Inc.
  email@hidden
  http://www.mindstorm-inc.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >PCH not being used (From: Burt Johnson <email@hidden>)
 >Re: PCH not being used (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: PCH not being used
  • Next by Date: RE: PCH not being used - SOLVED!
  • Previous by thread: Re: PCH not being used
  • Next by thread: Incompatible pointer type from NSManagedObject's validateValue:forKey:error method
  • Index(es):
    • Date
    • Thread