[comp.std.c] How to ANSIfy

bengsig@oracle.nl (Bjorn Engsig) (10/17/90)

In article <PDS.90Oct15104036@lemming.webo.dg.com> pds@lemming.webo.dg.com (Paul D. Smith) writes:
|Oh no! Not that!  *Never* *ever* *change* the standard libraries which
|ship with your compiler!
Article <2612@van-bc.wimsey.bc.ca> by jtc@van-bc.wimsey.bc.ca (J.T. Conklin) says:
|At UniFax, we ANSIfy the development environment on all of our
|development machines.  Header files get protoized and missing
|functions get added to the C library.
One way to do this, if the vendors headers just miss a few things, is to 
create your own standard header, make the corrections necessary and #include
"/usr/include/whatever.h" in this one, and use -I to get your copy included
in stead of the standard one.  This, of course is not at all allowed by ANSI
(the headers need not even be files), but it will do the trick on most Unix
systems.
-- 
Bjorn Engsig,         E-mail: bengsig@oracle.com, bengsig@oracle.nl
ORACLE Corporation    From IBM: auschs!ibmaus!cs.utexas.edu!uunet!oracle!bengsig

            "Stepping in others footsteps, doesn't bring you ahead"