Hi Hilko,

* Hilko Bengen [Tue Aug 21, 2018 at 10:27:27PM +0200]:

> it turns out that the alignof macro can probably be replaced by a GCC
> builtin. The attached patch does that. I am not committing this to Salsa
> right away because I am not 100% sure that __alignof__ (t) is
> functionally equivalent to the macro that has become illegal in GCC 8:

>     #define alignof(type)  offsetof (struct { char c; type x; }, x)
[...]

Thanks for the patch! I've forwarded this to the upstream developer,
so I can get his ACK before applying it.

regards,
-mika-

Attachment: signature.asc
Description: Digital signature

Reply via email to