[Scummvm-devel] Re: [Scummvm-cvs-logs] SF.net SVN: scummvm: [20970] scummvm/trunk/engines/kyra/sound_adlib.cpp

Eugene Sandulenko sev at scummvm.org
Tue Feb 28 03:18:01 CET 2006


On Tue, 28 Feb 2006 10:52:35 +0100 (CET)
"Max Horn" <max at quendi.de> wrote:

> While problems should only occur when the comma operator is involved
> (including function calls, where the stack order of the target system
> can and does influence the evaluation order), I think it's best to
> simply always enforce this as a rule of the thumb :-).
Modern MSVC optimizer is rumored to produce mixed code, not necessarily
in original source order. And who knows how it can optimize math
expressions. So that is definitely not a paranoia but
proper portableness.


Eugene




More information about the Scummvm-devel mailing list