• 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
Problem with DEBUG symbol in Debugging.h after XCode upgrade
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with DEBUG symbol in Debugging.h after XCode upgrade


  • Subject: Problem with DEBUG symbol in Debugging.h after XCode upgrade
  • From: Martin Howard <email@hidden>
  • Date: Tue, 8 Jun 2004 15:56:55 -0700

I upgraded to XCode from ProjectBuilder and my sources will no longer compile. The compiler complains about 'Missing binary operator before token "1"' in two lines of a file called Debugging.h (which I am not explicitly including). The lines are:

112: #if DEBUG

283: #if defined(DEBUG) && DEBUG

I've tried using -DDEBUG=0, -DDEBUG=1, and leaving DEBUG undefined, but the problem persists (interestingly enough with the same error message, even if DEBUG is defined as "0"). I've also tried turning debugging symbols both on and off, same result.

Any ideas?

PS: I apologize is this is a known or common problem: it was not addressed in the FAQ I found, and the cocoa-dev archive search function was not working at the times that I've tried it.

M.

--
Martin Howard
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: How does Pixie get the mouse position?
  • Next by Date: Reading Archived Data From File
  • Previous by thread: Re: Multiple dataSource's for NSTableView?
  • Next by thread: Reading Archived Data From File
  • Index(es):
    • Date
    • Thread