[7695] in Athena Bugs

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

bug in hc2.1y

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Wed Jun 26 22:14:30 1991

Date: Wed, 26 Jun 91 22:14:23 -0400
From: Ken Raeburn <Raeburn@MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Cc: eichin@ATHENA.MIT.EDU

I'm not sure if this has been reported before.
The following valid source file does not compile under hc:

    int foo (char **);
    int foo (char *strings[]) {
	return strcmp (strings[0], strings[1]);
    }

E "foo.c",L2/C5:        foo: Function declaration is inconsistent with previous
|    declaration at "foo.c",L1/C5.

-Hpcc makes no difference
-Hansi breaks things completely

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