[19] in testers

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

hc 1.4r problem

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Mon Jun 26 15:21:58 1989

From: <mar@ATHENA.MIT.EDU>
Date: Mon, 26 Jun 89 15:21:35 -0400
To: testers@ATHENA.MIT.EDU
I'm using the default hc for release 6.3A, which appears to be 1.4r.
When I attempt to compile /afs/athena/mit/smsdev/rpc/menu.c, I get the
following error:

    cc -c -I../include -O menu.c
    E "menu.c",L111/C93:
    MetaWare High C Compiler 1.4r  26-Jun-89 14:37:44   menu.c            Page 1

    |    Type `void (*)(const char *who, long code, const char *fmt,
	    va_list args)' is not assignment compatible with type `void (*)(
	    const char *, long , const char *, va_list )'.
    Object module not generated.
    1 user error   44 unprinted warnings
    *** Exit 1

How are those two types different, that they aren't assignment
compatible?

This file compiles fine using hc2, but I don't want to change 30
makefiles to compile the whole thing that way...

Are there reasons not to make hc2 the default?
					-Mark

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