A Compiler With a Sense of Humor

These are some of the error messages produced by Apples MPW C
compiler. They are all real. (If you must know I was bored one
afternoon and decompiled the String resources for the compiler.)
String literal too long (I let you have 512 characters; thats 3
more than ANSI said I should)
…And the lord said, lo, there shall only be case or default
labels inside a switch statement
A typedef name was a complete surprise to me at this point in your
You cant modify a constant, float upstream, win an argument with
the IRS, or satisfy this compiler
This struct already has a perfectly good definition
type in (cast) must be scalar; ANSI 3.3.4; page 39, lines 10-11 (I
know you dont care, Im just trying to annoy you)
Cant cast a void type to type void (because the ANSI spec. says
so, thats why)
Cant go mucking with a void *
We already did this function
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 wasnt wide enough to read this whole
error message
Call me paranoid but finding /* inside this comment makes me
Too many errors on one line (make fewer)
Symbol table full — fatal heap error; please go buy a RAM upgrade
from your local Apple dealer

Most viewed Jokes (20)