Hey,
I have two structures, one deriving from another, the latter having a
variable-length array :
struct Foo
{
int t[];
};
struct Bar
{
Foo f;
};
suncc returns the warning :
warning: type of struct member "***" can not be derived from structure with
flexible array member
there is certainly a good reason to not doing this, though it's not my main
purpose right now.
I woud like to know if, even if it is a warning, the code will work as i
expect. Indeed, doing arithmetic pointer on void * gives a warning, but the
application does not work (i guess that there is no support of all the gcc
extensions, and btw, i'm against arithmetic pointer on void *).
thank you
Vincent Torri
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code