Article View: comp.std.c
Article #2400Re: ANSI prototypes, the right choice...
From: Peter da Silva
Date: Mon, 11 Feb 1991 03:08
Date: Mon, 11 Feb 1991 03:08
16 lines
1225 bytes
1225 bytes
In article <1991Feb9.075215.26939@athena.mit.edu> scs@adam.mit.edu writes: > Since compilers may issue any warning > messages they want to, I suspect that Lattice is just trying to > prod people towards the Party line. You have it backwards. Lattice accepts mixtures. No other Ansi-compatible compiler I've used does... including Manx. Most of them take advantage of the prototypes to generate faster, more efficient function calls. If you mix declarations you *will* break code. If not now with your current compiler then eventually with a future compiler. Please, folks. It gets tiring fixing broken code... either go all the way with ANSI or stick with K&R. -- Peter da Silva. `-_-' <peter@sugar.hackercorp.com>.
Technical Details
Message-ID:
<1991Feb11.030811.25074@sugar.hackercorp.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!sugar!peterReferences:
<7708@sugar.hackercorp.com> <15089@smoke.brl.mil> <1991Feb9.075215.26939@athena.mit.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!sugar!peter From: peter@sugar.hackercorp.com (Peter da Silva) Newsgroups: comp.std.c,comp.sys.amiga.programmer Subject: Re: ANSI prototypes, the right choice... Message-ID: <1991Feb11.030811.25074@sugar.hackercorp.com> Date: 11 Feb 91 03:08:11 GMT References: <7708@sugar.hackercorp.com> <15089@smoke.brl.mil> <1991Feb9.075215.26939@athena.mit.edu> Organization: Sugar Land Unix -- Houston, TX Lines: 16