https://github.com/wqweto/tinycc/commit/0691b7630b89bf3de5f7691802cb923bd7c1
fd99

 

A small fix for compat w/ gcc which allows `attributes` both to prefix and
postfix type declaration like this:

 

typedef union Unaligned16a {

  uint16_t u;

  uint8_t b[2];

} __attribute__((packed)) Unaligned16a;

 

typedef union __attribute__((packed)) Unaligned16b {

  uint16_t u;

  uint8_t b[2];

} Unaligned16b;

 

This failing sample included in tests.

 

cheers,

</wqw>

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to