[Info-vax] decrementing & for loops in C

Richard Brodie R.Brodie at rl.ac.uk
Thu Jan 8 09:38:18 EST 2009


<johnwallace4 at yahoo.co.uk> wrote in message news:09411eb9-a739-4e87-9278-

> Some kinder compilers will (optionally) offer a warning when an
> assignment rather than a logical expression is used in this context.

/warn=enable=questcode is a reasonable balance between passing
probable errors silently.

C minimalists will argue that the correct way to write 'i != 0' is 'i'. 





More information about the Info-vax mailing list