On Thursday 19 April 2007 23:34, Alexandre Julliard wrote:
> James Liggett <[EMAIL PROTECTED]> writes:
> > Actually I think in this case they would be. Most compilers do this by
> > default IIRC (if you'd like to see for yourself, try the attached test.)
> > Still, I think it would be prudent to put the 0 in there anyway, sine I
> > don't think there's a standard that says compilers have to do this so
> > there could potentially be portability problems.
>
> There are no potential problems at all, statics are _always_
> initialized to 0 in C.

And another new thing learned about C. Thanks for the explanations.

Kai

-- 
Kai Blin, <kai Dot blin At gmail Dot com>
WorldForge developer    http://www.worldforge.org/
Wine developer          http://wiki.winehq.org/KaiBlin/
--
Will code for cotton.

Attachment: pgpLJJEIijpC7.pgp
Description: PGP signature



Reply via email to