Re: Apostrophes in #warning
Re: Apostrophes in #warning
- Subject: Re: Apostrophes in #warning
- From: Robert Tillyard <email@hidden>
- Date: Tue, 2 Mar 2004 10:58:10 +0000
You can do:
#warning "can't use apostrophes in warnings, unless in quotes"
Regards, Rob.
On 2 Mar 2004, at 10:33 am, Matt Gough wrote:
I am not sure what the 'correct' behavior is, but I wanted to point
out out that having apostrophes in a #warning prevents compiling:
E.G
#warning can't use apostrophes in warnings
causes the following error:
missing terminating ' character
I would have thought that the compiler should treat everything after
the #warning as plain text, without having to worry about quote
matching.
Matt Gough
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.