Live data from Hacker News

Some of the error messages produced by Apple's MPW C compiler (2006)

cs.cmu.edu

11–20 of 46 posts

Re: Some of the error messages produced by Apple's MPW C compiler (2006)

#11
post #2

MPW is the Macintosh Programmer's Workbench. I had forgotten about these. I think my first real push with MPW was using it as an environment to host the AT&T C++ compiler, which at that time was still a bunch of preprocessor macros written by Bjarne himself.

I booted up MPW in an emulator last year to check it out. Definitely a unique experience. Very cool.

Re: Some of the error messages produced by Apple's MPW C compiler (2006)

#12
post #3

Is anyone at Apple allowed to have a sense of humor anymore?

As long as it doesn’t contravene the Apple Style Guide:

“Humor can enhance documentation by adding to a reader’s enjoyment and by helping to lighten the tone. Humor usually works best in examples, where it’s less likely to distract the reader. Be careful that your humor is in good taste—one reader’s joke can be another reader’s insult—and keep in mind that humor may not translate well in localized text.”

https://help.apple.com/applestyleguide/#/apsg9dac5903

Re: Some of the error messages produced by Apple's MPW C compiler (2006)

#14
Just for some context, the MPW C compiler that produced those messages was actually not developed internally at Apple, but was rather done by Green Hills Software [1] under contract as mentioned on the wikipedia page [2] and its source [3] which is funnily enough about this exact same topic.

[1] https://en.m.wikipedia.org/wiki/Green_Hills_Software

[2] https://en.m.wikipedia.org/wiki/Macintosh_Programmer%27s_Wor...

[3] https://web.archive.org/web/20140528005901/http://lists.appl...

Re: Some of the error messages produced by Apple's MPW C compiler (2006)

#18

> " please go buy a RAM upgrade from your local Apple dealer" Not possible any more!!!

It's really expensive but they throw the rest of a new machine in with it as consolation.

EDIT: Sibling beat me by a couple minutes. DO great minds really think alike?

Re: Some of the error messages produced by Apple's MPW C compiler (2006)

#19
post #2

MPW is the Macintosh Programmer's Workbench. I had forgotten about these. I think my first real push with MPW was using it as an environment to host the AT&T C++ compiler, which at that time was still a bunch of preprocessor macros written by Bjarne himself.

I was a cfront beta site using MPW; for people that don't know, that was the self-compiling C++ from C, before the first AT&T C++ compiler, in the late 1980s.

Cfront was from AT&T, it compiled C++ to C. I had the source to Cfront 1.2, which was before multiple inheritance was added to the language.

Re: Some of the error messages produced by Apple's MPW C compiler (2006)

#20
> 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

I get this issue a lot on modern compilers, when trying to write switch/macro-based coroutines (https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html) in C++. Does anyone have a workaround? (I hope it doesn't involve C++20 coroutines... I still don't understand them.)

Post reply on HN