Path: utzoo!utgpu!watmath!clyde!att!rutgers!ucsd!sdcsvax!ucsdhub!esosun!seismo!uunet!sco!seanf From: seanf@sco.COM (Sean Fagan) Newsgroups: comp.lang.c Subject: Re: function prototype problem Message-ID: <1763@scolex> Date: 19 Nov 88 22:21:23 GMT References: <310@drd.UUCP> <1704@scolex> <8889@smoke.BRL.MIL> <1736@scolex> <8916@smoke.BRL.MIL> <412@babbage.acc.virginia.edu> Reply-To: seanf@sco.COM (Sean Fagan) Distribution: na Organization: The Santa Cruz Operation, Inc. Lines: 21 In article <412@babbage.acc.virginia.edu> mac3n@babbage.acc.virginia.edu (Alex Colvin) writes: >In article <8916@smoke.BRL.MIL>, gwyn@smoke.BRL.MIL (Doug Gwyn ) writes: >> In article <1736@scolex> seanf@sco.COM (Sean Fagan) writes: >> >So, the moral of the story: Don't pass in char's, short's, or float's to >> >your subroutines unless you want a Real(tm) ANSI C compiler to choke on it [both Doug and Alex complain] *arggh*! I forgot the blasted '8-)'! I *like* ANSI C! I also *like* passing in char, short, or floats, when it will make my meaning clearer! However, I also prefer declaring parameters the old-style way, since it can save me typing. I want the best of both worlds! Surely this isn't too much to ask for? 8-; Again, I think most ANSI-C compilers will support this as an option, and I *still* think GNU C should (just wait until I can get some free time...!). -- Sean Eric Fagan | "Engineering without management is *ART*" seanf@sco.UUCP | Jeff Johnson (jeffj@sco) (408) 458-1422 | Any opinions expressed are my own, not my employers'.