On Sat, 26 Jun 2010 21:57:33 +0200
Enrico Weigelt <[email protected]> wrote:
> > Uhm. No. Certain compilers will give you warnings for f(g(a), g(b))
> > if you -Wall.
> 
> Warn on what exactly ?

That f's arguments are evaluated in an unspecified order.

> Which compilers do that ?

For all you know, gcc 4.7.

New gcc releases regularly issue lots of new warnings for correct code,
particularly with -Wall. Other compilers are even worse.

-- 
Ciaran McCreesh

Attachment: signature.asc
Description: PGP signature

Reply via email to