This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: generalized lvalues -- patch outline


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]