Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with -Wunreachable-code



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >problem with -Wunreachable-code (From: "James W. Walker" <email@hidden>)
 >Re: problem with -Wunreachable-code (From: "Sean McBride" <email@hidden>)
 >Re: problem with -Wunreachable-code (From: Eric Albert <email@hidden>)
 >Re: problem with -Wunreachable-code (From: "Sean McBride" <email@hidden>)
 >Re: problem with -Wunreachable-code (From: Eric Albert <email@hidden>)
 >Re: problem with -Wunreachable-code (From: David Dunham <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.