[COMMITTED] timezone: sync to TZDB 2024a

Joseph Myers josmyers@redhat.com
Mon Sep 2 16:08:33 GMT 2024


On Sun, 7 Apr 2024, Paul Eggert wrote:

> +ATTRIBUTE_REPRODUCIBLE static intmax_t delta(struct tm *, struct tm *);

This results in build breakage with current GCC mainline now that 
[[reproducible]] is implemented: it's an attribute that appertains to 
function *types*, not to functions, so cannot go in that location which is 
for attributes appertaining to the declared entity rather than its type 
(only __attribute__, not the [[]] syntax, has laxity in GCC about placing 
the attribute in the wrong place and guessing what you meant to apply it 
to).

It looks like current tz git may have this fixed (but having an updated 
release with the fix would be a good idea, rather than basing glibc's copy 
of the code on some git commit that's not in a release).

-- 
Joseph S. Myers
josmyers@redhat.com



More information about the Libc-alpha mailing list