Article View: gnu.gcc.help
Article #50186Re: protoize to make prototype headers
From: Marty Leisner 25733
Date: Thu, 11 Nov 1993 17:10
Date: Thu, 11 Nov 1993 17:10
27 lines
1783 bytes
1783 bytes
What I'm doing is using cproto (know about this? posted to one of the comp.sources.{misc|unix}
to generate prototypes...
One of the things I don't like about prototyping is if I have a prototype like:
extern blaz foo(bing *bong);
I still need header files to describe blaz and bing, even if I don't ever reference it
in the code.
It would be very useful to have a mode where:
"I don't need to understand the prototypes if I don't use them". (not ansi -- I think
ansi may have missed this).
Right now, I have a choice of generating prototypes automatically and including all my headers,
or hand/not generating prototypes.
Of course, if you have code which references foo, you need to appropriate
headers for blaz and bing...
--
marty
leisner@eso.mc.xerox.com leisner.henr801c@xerox.com
Member of the League for Programming Freedom
"I just know I'm a better manager when I have Joe DiMaggio in center field" -- Casey Stengel
Technical Details
Message-ID:
<1993Nov11.171025.21993@spectrum.xerox.com>Path:
arc1-ca.pugleaf.net!gmd.de!urmel.informatik.rwth-aachen.de!news.rhrz.uni-bonn.de!mpifr-bonn.mpg.de!uniol!math.fu-berlin.de!netmbx.de!Germany.EU.net!mcsun!uunet!nntp.club.cc.cmu.edu!honeydew.srv.cs.cmu.edu!rochester!rocksanne!draco!leisnerReferences:
<9311091945.AA13240@tesla.psych.nyu.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,72658e6f8318fe2d X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-11-12 03:36:43 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!urmel.informatik.rwth-aachen.de!news.rhrz.uni-bonn.de!mpifr-bonn.mpg.de!uniol!math.fu-berlin.de!netmbx.de!Germany.EU.net!mcsun!uunet!nntp.club.cc.cmu.edu!honeydew.srv.cs.cmu.edu!rochester!rocksanne!draco!leisner From: leisner@draco (Marty Leisner 25733) Subject: Re: protoize to make prototype headers Message-ID: <1993Nov11.171025.21993@spectrum.xerox.com> Sender: news@spectrum.xerox.com Reply-To: leisner@eso.mc.xerox.com Organization: Xerox X-Newsreader: TIN [version 1.2 PL2] References: <9311091945.AA13240@tesla.psych.nyu.edu> Distribution: gnu Date: Thu, 11 Nov 1993 17:10:25 GMT Lines: 27