oneofthem dixit:
>Wow, thanks. I didn't expect such an in depth response.
You’re welcome ☺
I hope that this response will show up on search engines
and help other coders, too, that’s why it was a tad lengthy.
I think it can be extended even, e.g. with actual examples
plus citations of the ISO C rules in question… this was
meant as an intro/oversight/reasoning only. Maybe someone
will follow up in the future ☺ I’m sure there are language
gurus around somewhere. Or maybe someone else will just be
happy to have discovered this topic and be angered at GCC
just the same ;-)
bye,
//mirabilos
--
“It is inappropriate to require that a time represented as
seconds since the Epoch precisely represent the number of
seconds between the referenced time and the Epoch.”
-- IEEE Std 1003.1b-1993 (POSIX) Section B.2.2.2