[36] in testers

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

Re: hc 1.4r problem

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Thu Jun 29 13:43:56 1989

To: <mar@ATHENA.MIT.EDU>
Cc: testers@ATHENA.MIT.EDU
In-Reply-To: Your message of Mon, 26 Jun 89 15:21:35 -0400.
Date: Thu, 29 Jun 89 13:43:23 EDT
From: Ralph R. Swick <swick@ATHENA.MIT.EDU>
I wouldn't be surprised to learn that the compiler mis-handles
procedure pointers declared as storage-class register.  Although
ANSI-C says essentially that the implementation should 'do the
right thing' and doesn't appear to restrict this storage-class,
(unless you want to (mis-?)interpret a function pointer as an
"identifier for a function" in which case only explicit
storage-class extern is allowed), I'd be reluctant to trust the
portability of source that contained this declaration.

Clearly the error message is bogus, but I'd recommend trying
this trivial fix.

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