warning: operation on 'zero' may be undefined

Nathan Sidwell nathan@codesourcery.com
Fri Oct 1 16:56:00 GMT 2004


Steven L. Zook wrote:
> Personally I prefer
> 
> http://www.eskimo.com/~scs/C-faq/q3.2.html
> 
> which I think goes to the heart of the issue of when the increment is allowed to happen in ++zero.

The best description I've seen (which I thought was there), involves
each assignment being the process of writing the value on a ball and
throwing it at the lvalue location.  You only guarantee to catch it
at the next sequence point, and if it collides with another ball, tough.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Gcc mailing list