compatability isn't transitive

Walter Murray walter at hpclwjm.HP.COM
Thu Feb 1 05:26:14 AEST 1990


Brendan McKay writes:

>         Find three types A, B, C, such that A and B are compatible,
>         B and C are compatible, but A and C are not compatible.

> [Additionally, all three types are required to be complete.]

typedef void (*A) (int);
typedef void (*B) ();
typedef void (*C) (double);

Walter Murray
----------



More information about the Comp.std.c mailing list