leaningtech-dev team mailing list archive
-
leaningtech-dev team
-
Mailing list archive
-
Message #00252
[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);
///////////////////////
so i think cheerp is suitable for create a new project with strict code guide but not port a old project.
some code can be rewrite , but will be too hard to find out.
--
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