I have seen otherwise...
Specialy some old compilers or embedded.

Alain - "it is not because I am paranoiac that noone is chasing me"

Em 22-02-2013 10:13, Mateusz Viste escreveu:
> On 02/22/2013 01:32 PM, Alain Mouette wrote:
>> NO variable is guarenteed to be seroed, just "most compilers do". If you
>> want it zeroed, just initialize and it will be dealt efficiently for
>> static or local variables.
> I have to disagree, since the standard says otherwise.
> Extract from ISO/IEC 9899:1990, chapter 6.5.7:
> "If an object that has static storage duration is not initialized
> explicitly, it is initialized implicitly as if every member that has
> arithmetic type were assigned 0 and every member that has pointer type
> were assigned a null pointer constant."
> cheers,
> Mateusz

Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
Freedos-user mailing list

Reply via email to