• 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
Re: problem with -Wunreachable-code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: problem with -Wunreachable-code
      • From: Gwynne <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>)

  • Prev by Date: Re: [ANN] dmgutil
  • Next by Date: Re: problem with -Wunreachable-code
  • Previous by thread: Re: problem with -Wunreachable-code
  • Next by thread: Re: problem with -Wunreachable-code
  • Index(es):
    • Date
    • Thread