On Tue, Jun 12, 2012 at 12:50:47PM +0200, Marco Trudel wrote:
> Meaning that locals always get fully initialized but globals not
> anymore. Was this intended?
Yes because global variables are initialized by default to zero according to
C99, contrary to local variables. So this code:
> int foo_g
With that fix locals always get fully initialized and globals not (anymore):
int foo_glob[5] = {1};
void foo()
{
int foo_loc[5] = {1};
}
Used to become:
int foo_glob[5] = {1, 0, 0, 0, 0};
void foo()
{
int foo_loc[5];
foo_loc[0] = 1;
foo_loc[1] = 0;
foo_loc
Dear all,
On Mon, Jun 11, 2012 at 10:24:26PM -0700, SourceForge.net wrote:
> Bugs item #3532983, was opened at 2012-06-07 14:07
> Message generated for change (Comment added) made by kerneis
I decided to add the list as the default email address to receive updates from
the sourceforge bugtracker.