[PATCH] nptl: Add workaround for ASSERT_PTHREAD_INTERNAL_SIZE with GCC 4.9
Florian Weimer
fweimer@redhat.com
Tue Nov 21 13:10:00 GMT 2017
On 11/21/2017 01:20 PM, Adhemerval Zanella wrote:
> - _Static_assert (sizeof ((type) { 0 }).__size >= sizeof (internal), \
> + _Static_assert (sizeof ((type) { { 0 } }).__size >= sizeof (internal),\
Doesn't GCC support an empty initializer as an extension? Maybe you can
use that. Otherwise, the version above is fine as well.
Thanks,
Florian
More information about the Libc-alpha
mailing list