union data
{
     struct A a;
     struct B b;
};

i change it to

char data[sizeof(A)];

when i using it
i just (A*)(data);

is it supported?

-- 
You received this bug notification because you are a member of
Leaningtech Team, which is subscribed to Cheerp.
https://bugs.launchpad.net/bugs/1393017

Title:
  error:Field not supported in union.

Status in Cheerp: C++ for the Web:
  Invalid

Bug description:
  is the error means, cheerp does not support union?

To manage notifications about this bug go to:
https://bugs.launchpad.net/cheerp/+bug/1393017/+subscriptions

-- 
Mailing list: https://launchpad.net/~leaningtech-dev
Post to     : leaningtech-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~leaningtech-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to