It is against the rules. To fix that, you'd need to put a field of type 'struct Base' in the derived struct(s) rather than just copying its fields.
edit: If you want to keep the existing syntax and can use GCC extensions, it should be legal to use an unnamed union:
struct Derived1 {
union {
struct Base base;
struct {
int a; int b; int c;
};
};
int d; int e;
};
edit2: or, with -fms-extensions, just struct Derived1 {
struct Base;
int d; int e;
};