Paul Eggert <
address@hidden> schrieb am Fr., 20. Nov. 2015 um 21:59 Uhr:
Philipp Stephani wrote:
> intmax_t could differ between compilers even on the
> same machine, which would silently break compatibility.
Doesn't sound very likely.
Maybe not likely, but not impossible.
intmax_t is hardwired into the C library. If
compilers disagree about its size, printf would stop working.
It would still be possible to link against different C libraries. (However, that would probably break in other places.)
Any
incompatibility this extreme would require treating the different compilers like
we treat any other differences in platform: you need to recompile your module.
That might be true, though I'd like to wait for Daniel's assessment: as said, he felt quite strongly about not using intmax_t.