typedef union {uint16_t cache;struct {uint8_t code;uint8_t arg;} __attribute__((__packed__)) op;} __attribute__((__packed__)) _Py_CODEUNIT;typedef struct { } __attribute__((__packed__)) _PyAttrCache;
Aha. Thanks. That's got it past that static assert at least :)
You have to pack the nested structs as well. That's what I had to dowith harfbuzz for GCC 4.
I think that's the bit I missed.
Are you dynamic linking? The only issue with GCC 10 is we don't have apoint of distribution for the shared libraries. If you're staticlinking then you don't have to worry about that.
Ah. yeah I am. I guess this is why Iris needs to come with it's own set of shared libs?
Cheers
Chris
No comments:
Post a Comment