[PATCH 2/3] nptl: Change tst-typesizes to _Static_assert

Andreas Schwab schwab@suse.de
Wed Oct 25 14:36:00 GMT 2017


On Okt 19 2017, Adhemerval Zanella <adhemerval.zanella@linaro.org> wrote:

> Instead of rely on runtime check to assure correct pthread types
> size a better strategy would use _Static_assert to trigger an error
> on build time (and thus allowing to check to potentially ABI breakage
> on cross-compiling make check).

How about putting the static asserts in some library source?

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list