Re: problem with -Wunreachable-code
Re: problem with -Wunreachable-code
- Subject: Re: problem with -Wunreachable-code
- From: Eric Albert <email@hidden>
- Date: Sat, 22 Jul 2006 15:10:57 -0700
On Jul 22, 2006, at 2:00 PM, David Dunham wrote:
On 22 Jul 2006, at 13:05, Eric Albert wrote:
Change this line:
#define __assert(e, file, line) \
((void)printf ("%s:%u: failed assertion `%s'\n", file, line,
e), abort(), 0)
to
#define __assert(e, file, line) \
((void)printf ("%s:%u: failed assertion `%s'\n", file, line,
e), abort())
Does anyone at Apple care about the laughable typography in that
line? The back-quote character is not a left apostrophe, nor is the
apostrophe a right apostrophe. Nor in most fonts do they resemble
each other. (I know this is probably an ancient Unixism, but
hopefully we're more aesthetic now.)
I'm not sure it matters too much -- this isn't exactly a string any
normal user should ever see -- but you can certainly file a bug on it
and see what happens. I don't know where the backtick thing comes
from in Unix's history, but I've always wondered about it. It seems
strange to me too.
-Eric
_______________________________________________
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