• 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: Using #define's in .m files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using #define's in .m files


  • Subject: Re: Using #define's in .m files
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 1 Sep 2006 11:30:05 -0700


On Sep 1, 2006, at 11:22 AM, Steve Mills wrote:

This should work.  Are you sure that your pch file is set as the Prefix file for the target that's compiling your .m?


Yes, because the macro works in all the .cp files. The .m file is new (just starting to delve into using Cocoa wrappers in our Carbon apps), and the macro has always worked in the past. Could there be a problem with the Obj-C preprocessor that leaves empty macros in place? Like if the macro is #defined to nothing, it just leaves the macro name in place?


No, that's very unlikely.  When you preprocess the .m, do you get other symbols from bob.h?  

Chris
 _______________________________________________
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

References: 
 >Using #define's in .m files (From: Steve Mills <email@hidden>)
 >Re: Using #define's in .m files (From: Chris Espinosa <email@hidden>)
 >Re: Using #define's in .m files (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Using #define's in .m files
  • Next by Date: Re: Re: Using #define's in .m files
  • Previous by thread: Re: Using #define's in .m files
  • Next by thread: Re: Re: Using #define's in .m files
  • Index(es):
    • Date
    • Thread