[comp.lang.c] toupper with MSC

DRIEHUIS%HLERUL5.BITNET@wiscvm.wisc.EDU (05/31/87)

It is argued in the Microsoft manual that, if you don't like the
toupper and tolower macros, you'ld simply delete them from the
include file and live with the library versions. When I read that,
I didn't like the idea ("So what's the trouble with my code ? It
compiles OK on *my* Microsoft 3.0 !"), and now the topic has come
up it is time to speak up. I don't have the proposed standard from
the X3J11 people, but I sure hope it will forbid these kind of
things to happen. Never patch up include files, not even to state
for instance the brand of compiler in stdio.h. If you rely on
toupper and the like, define them yourself as ToUpper in your own
include file.
                                        - Bert

Bert Driehuis,
Dutch Association of Municipalities, The Hague
LICOR, Leiden           Driehuis@Hlerul5.Bitnet
I speak for neither of the above.