brian@uw-june.UUCP (07/21/86)
I am trying to compile a program with the following classdefs..
class a {
...
};
typedef a b;
class c : b {
...
};
cfront complains that "class a is an undefined base class" at the
class c definition. This seems wrong. I can declare object of both type a and
b with no problems, it just won't let me derive from something of
type "typedef a".
If I change the defs to read:
typedef class {
...
} a;
typedef a b;
class c : b {
...
};
it will compile just fine.
I can usually get around the problem with #defines for cpp, but there are
some cases where this doesn't do exactly what I want.
Is this a problem that has (choose one):
1. been reported?
2. been fixed in 1.1?
3. to do with my own ignorance about something very subtle?
--------------------------------------------------
Brian Bershad
brian@uw-bluechip.arpa
bershad@ucbvax.berkeley.edu