image provider

Preprocessor


Here is an email I received in response to one of my essays.

Preprocessor : Quinn The Eskimo! : eskimo1@apple.com : 2000-11-21

One of my favourite unmaintainability techniques involves the C preprocessor. One of the programs I worked on in a previous life had the following definition in a public header file.

#define void int

Obviously it was added by folks when the code was being built by some ancient compiler, but it took me weeks to figure out why the compiler was complaining this function doesn’t return a value.


This page is posted
on the web at:

http://mindprod.com/feedback/unmain/preprocessor.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\feedback\unmain\preprocessor.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[3.149.229.253]
You are visitor number