Problem with DEBUG symbol in Debugging.h after XCode upgrade
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.