[4170] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: Saber msg: v2.1 (4/24/89 lycus vax Unix 4042 0)

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Thu Feb 8 16:44:59 1990

Date: Thu, 8 Feb 90 16:44:21 -0500
From: Ken Raeburn <Raeburn@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Cc: John T Kohl <jtkohl@ATHENA.MIT.EDU>
In-Reply-To: John T Kohl's message of Thu, 8 Feb 90 09:52:12 -0500,
John's original report was correct; an old-style definition matches a
prototype declaration with promoted types.

We also discovered that saber accepts the following incorrect code
without complaint:

	int foo (short);

	int foo (val) short val; { /* ... */ }

In this case, the prototype must use the type "int".

home help back first fref pref prev next nref lref last post