generalized lvalues -- patch outline

Gabriel Dos Reis gdr@integrable-solutions.net
Tue Nov 23 20:16:00 GMT 2004


Michael Matz <matz@suse.de> writes:

| > Probably, this sort of situations probably happen because some people
| > have been encouraged in conceiving programming as an activity of
| > throwing random codes to the compiler and see what happens.
| 
| Possible.  This is one of the ways to learn programming.  And despite what
| the language standard says, to my eyes "(T*)p++" looks like a natural way
| to write p+=sizeof(T),

then, such packages deserve being broken loudly because the former is not
equivalent to the second, with ou without the abomination in question :-)

-- Gaby



More information about the Gcc mailing list