generalized lvalues -- patch outline

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


Steve Naroff <snaroff@apple.com> writes:

| On Nov 23, 2004, at 7:06 AM, Andrew Pinski wrote:
| 
| >
| > On Nov 23, 2004, at 9:56 AM, Michael Matz wrote:
| >
| >> Hi,Practically speaking 4.0 is currently strictly less usefull in some
| >> aspects for the average C programmer.
| >
| > The average C programmer would not have thought to use this extension
| > unless they just decided one day to try it or they actually read the
| > gcc documentation (which I know almost nobody does).
| 
| I believe this is true, however some programmers end up using gcc
| extensions without knowing they are extensions (e.g. variable length
| arrays, non-constant initializers, etc.). This happens for the same
| reason you cite - many programmers don't study the language standard

They need not study the language standard -- which often is written in
obscure jargon with impenetrable logic.  They just need learn programming.
Compilers that accept, by default, not-well-taught extensions are
justifiably of no help.

-- Gaby



More information about the Gcc mailing list