February 13, 2004

A Little Geek Fun

C Compiler Errors (For Real). [rec.humor.funny]

Someone was pointing out a particularly useless error message on a Windows program he was working with, and that brought up the following memory: Apple's MPW C Compiler creators didn't
stick with the ordinary error messages. Some of the best:

  • "...And the lord said, 'lo, there shall only be case or default labels inside a switch statement'"
  • "You can't modify a constant, float upstream, win an argument with the IRS, or satisfy this compiler"
  • "This label is the target of a goto from outside of the block containing this label AND this block has an automatic variable with an initializer AND your window wasn't wide enough to read this whole error message"

Just a little fun for the weekend.

Posted by Ted Stevko at February 13, 2004 04:55 PM | TrackBack