wrote:
> On Jan 6, 12:58 pm, Richard <rgrd...@gmail.com> wrote:
>> nick_keighley_nos...@hotmail.com writes:
>>> Note 1: using a couple of compilers does *not* prove a program
>>> standard and portable.
>> Actually it does prove its portable - between the machines of interest
>> for those compiler versions he mentions.
>
> You're wrong. UB is UB. It may compile once without any errors and
> never compile again with a lot of errors. Compiling proves nothing.
True; only by studying the documentation for the implementations in
question can you discover whether they provide a definition of the
behavior that the standard leaves undefined. If both implementations
provide definitions compatible with your code, then it is portable
between those two implementations, at least. However, if either
implementation's documentation is silent on a relevant issue, all bets
are off.