← Back to team overview

leaningtech-dev team mailing list archive

[Bug 1393017] Re: error:Field not supported in union.

 

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


References