[PATCH 2/2] Use C11 _Alignas on scratch_buffer internal buffer
Paul Eggert
eggert@cs.ucla.edu
Tue Sep 19 19:16:00 GMT 2017
On 09/19/2017 11:56 AM, Florian Weimer wrote:
> Does gnulib require compiler support for anonymous unions?
Unfortunately, no. Gnulib is intended to run on strict C99 and other
platforms that do not support anonymous unions. There should be no
trouble sticking with ordinary unions here, as all this stuff is private
to scratch_buffer and the code is simple either way.
>
> (BTW, I view this kind of work largely as a distraction, which is why
> I'm against keeping things in sync with gnulib.)
Many of the recently-installed fixes came from Gnulib, and I hope that
more such fixes will be on the way, so there is a practical advantage to
staying in sync when that is reasonably easy, as it is here.
More information about the Libc-alpha
mailing list