Re: [PATCH] net #9

Hermann Himmelbauer
2001-05-30T16:35:42Z

Jean Tourrilhes wrote:
> > This is ANSI C standard stuff. If a static object with a scalar type is
> > not explicitly initialized, it is initialized to zero by default.
> >
> > Sure we can get gcc to recognize that case, but why use gcc to work
> > around code that avoids an ANSI feature?
>
> Good standard don't mandate the implementation. And as
> somebody doing some other language said, there is more than one way to
> do it.

Hmmm, I understand both sides perfectly, but what about that one:

int n; /* n=0 */

Would that be a compromise?

Regards,
Hermann

--
,_,
(O,O) "There is more to life than increasing its speed."
( ) -- Gandhi
-"-"--------------------------------------------------------------