Path: utzoo!attcan!uunet!husc6!think!ames!necntc!ima!haddock!karl
From: karl@haddock.ISC.COM (Karl Heuer)
Newsgroups: comp.lang.c
Subject: Re: VAX (VMS) C / strangeness (serious bug?) w/ prototypes and floats
Message-ID: <4310@haddock.ISC.COM>
Date: 31 May 88 21:49:23 GMT
References: <3614@ece-csc.UUCP> <3615@ece-csc.UUCP> <3616@ece-csc.UUCP>
Reply-To: karl@haddock.ima.isc.com (Karl Heuer)
Organization: Interactive Systems, Boston
Lines: 11

In article <3616@ece-csc.UUCP> jnh@ece-csc.UUCP (Joseph Nathan Hall) writes:
>I have now nailed down the problem.  I'm not sure I would characterize it as
>a bug, but I would characterize it as a deficiency.  [A function was declared
>twice, once with a prototype and once with an old-style declaration.  The
>second one overrode the first.]

I believe that it is a bug, according to the dpANS specification.  As I read
it, the new rules apply as long as there is any prototype in scope--having a
non-prototype declaration also in scope doesn't change that.

Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint