[5657] in Athena Bugs

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

pmax ccom, 7.1 (BOOM [eichin:19900802.2351EST])

daemon@ATHENA.MIT.EDU (Mark W. Eichin)
Thu Aug 2 23:58:56 1990

Date: Thu, 2 Aug 90 23:58:37 -0400
From: Mark W. Eichin <eichin@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU, bug-pmax@ATHENA.MIT.EDU

BOOM% cat bar.c
typedef void (*PFV )(void );
extern PFV _foo[1];
BOOM% cc -c bar.c
ccom: Error: bar.c, line 2: redeclaration of PFV
      extern PFV _foo[1];
      --------------^
ccom: Error: bar.c, line 2: syntax error
      extern PFV _foo[1];
      --------------^

The RT and PS/2 C compilers have no problem with these statements. I
don't see anything wrong with the code; it is output by C++ Cfront
(both +a0 and +a1.) This is preventing me from bring Cfront 2.0 up on
the pmax, so I'd be interested in hearing of updates or workarounds.
					_Mark_

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