leaningtech-dev team mailing list archive
-
leaningtech-dev team
-
Mailing list archive
-
Message #00255
[Bug 1393017] Re: error:Field not supported in union.
I'v test some code.
such as
struct A
{
int a;
int b;
int c;
};
A test = {123,145,456};
int* _convert = (&test.a);
_convert[0] = 333;//ok
_convert[1] = 444;//fail
char buffer[128];
sprintf(buffer , "a %d , b %d , c %d" , test.a,test.b,test.c);
I think it is hard to report errors in compiling for line "_convert[1] = 444;"
do you considering alert it in js runtime, while _DEBUG id defined?
--
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