MPW C Compiler errors

The following is something that I remember for a long time ago, and am reproducing it here for the entertainment of students and others that read my blog.

These are some of the error messages produced by Apple’s MPW C compiler. These are all real. (If you must know I was bored one afternoon and decompiled the String resources for the compiler.) The compiler is 324k in size so these are just an excerpt I hope. I’m not sure where I stand on the copyright issue. Tony Cunningham

“String literal too long (I let you have 512 characters, that’s 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 program”

“‘Volatile’ and ‘Register’ are not miscible”

“You can’t 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 don’t care, I’m just trying to annoy you)”

“Can’t cast a void type to type void (because the ANSI spec. says so, that’s why)”

“Huh ?”

“can’t 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 wasn’t wide enough to read this whole error message”

“Call me paranoid but finding ‘/*’ inside this comment makes me suspicious”

“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”

New Bike

I really should have got round to blogging the new bike earlier. My largest purchase from that global car boot sale that is eBay. It’s a Suzuki GSX1100F from 1989, and is just a little bit scary fast. I need to take some photos of it to put up soon, when the weather gets slightly more amenable to biking, then I’ll take it out somewhere nice and take some photos.

Pain in the butt

Went to do a little more archery practice to let off some steam this afternoon, and took my longbow along – I was shooting it only a couple of weeks ago at home and getting some good groups – much better than I’ve been getting with the compound.

Anyway a couple of people were admiring it, and I drew it – “crack” the back of the lower limb had splintered – not a single arrow off it today, and now I’m going to have to look and see if I can find a nice replacement for my beautiful Albion longbow that I’ve had for about 15 years.

The closest that I can seem to find with a quick search is the AW special longbow from Archery world, but I’ve not managed to get in touch with Severn Products, which is where I bought it from in the first place – I just hope that they still do the Albion, as I’m rather partial to mine.

Still, it really does put me in a great mood for writing exam questions – knowing that to replace it is going to cost about £250!

Googlebot and phpiCalendar

I installed php iCalendar a few weeks ago, it was really nice being able to publish some of my iCal files from Sunbird on the web, and students could see whan I was free without me having to print out a paper calendar every week and stick it on my door.

I got a message today though, for some reason the system network usage had shot up, and my web server was consuming something like 6.4MB/s.
It was traced to Googlebot indexing my calendar file, as there are so many links, and technically the calendar can keep going forever, the bot had got a little out of control.

I have now put a robots.txt file in the correct place, but I’m still not sure that it’s going to solve the problem – it’s still generating a request every second or so, and eating bandwidth.

Aarrgh!

I just watched Episode 5 of series 2 of lost, and now I find out that there’s 3 weeks until the next episode :-O
Aaarrrghh! No more lost until 9th November 🙁

Why do they do this to us – and what is so important that it displaces Lost for 3 weeks?
These are important questions, and they deserve answers – on a postcard please.

Exhausted

I spent the weekend at the Outward Bound sea school at Aberdovey where we took half of the first year. The other half will be going in a fortnight, and I’ll be off again for the weekend then. One particular student thought it would be fun to hit a few of the staff with cream pies and got me whilst in the toilet Aberdovey2005-1/PICT3193.jpg. However, he managed to get more on the walls than on me. Our good friend Andrew was also in his element with more beer than he could drink Aberdovey2005-1/PICT3189.jpg. Much fun was had by all, and I look forward to the next weekend.