Message290488
What is the purpose of this feature? Note that the layout of the structure consisting of two structures is not the same as the layout of the structure consisting of the same fields as separate structures.
struct {
struct {
char a;
short b;
} s1;
struct {
char c;
int d;
} s2;
}
and
struct {
char a;
short b;
char c;
int d;
}
can have different sizes and offsets of fields.
As for the concrete implementation, it looks to me that Struct('2L') + Struct('25B') results to Struct('2L5B'). |
|
Date |
User |
Action |
Args |
2017-03-25 16:45:26 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson, meador.inge, palaviv |
2017-03-25 16:45:26 | serhiy.storchaka | set | messageid: <1490460326.71.0.49932480401.issue29903@psf.upfronthosting.co.za> |
2017-03-25 16:45:26 | serhiy.storchaka | link | issue29903 messages |
2017-03-25 16:45:26 | serhiy.storchaka | create | |
|