• 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: #define not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #define not working


  • Subject: Re: #define not working
  • From: Scott Ribe <email@hidden>
  • Date: Sat, 01 Oct 2005 16:11:39 -0600
  • Thread-topic: #define not working

> The cause of the OP's problem must be something else, probably that
> the header file defining the preproccessor symbol is not included.

Yes, so replace:

#define DEBUG_LOG

With:

#define DEBUG_LOG 1

And also replace:

#ifdef DEBUG_LOG

With:

#if DEBUG_LOG

And that will provide a nice compile-time error wherever the proper header
is not included.


--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice


 _______________________________________________
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

  • Follow-Ups:
    • Re: #define not working
      • From: Tommy Nordgren <email@hidden>
References: 
 >Re: #define not working (From: Tommy Nordgren <email@hidden>)

  • Prev by Date: Re: #define not working
  • Next by Date: Re: #define not working
  • Previous by thread: Re: #define not working
  • Next by thread: Re: #define not working
  • Index(es):
    • Date
    • Thread