leaningtech-dev team mailing list archive
-
leaningtech-dev team
-
Mailing list archive
-
Message #00246
Re: [Question #257655]: error:Field not supported in union.
Question #257655 on Cheerp changed:
https://answers.launchpad.net/cheerp/+question/257655
blueshell gave more information on the question:
union data
{
struct A a;
struct B b;
};
i change it to
char data[sizeof(A)];
when i using it
i just (A*)(data) or (B*)(data);
is it supported?
--
You received this question notification because you are a member of
Leaningtech Team, which is an answer contact for Cheerp.