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
Bugs item #3532983, was opened at 2012-06-07 14:07
Message generated for change (Comment added) made by kerneis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=742140&aid=3532983&group_id=138953
Please note that this message will contain a full copy of the comment t
On 12.06.2012 10:15, SourceForge.net wrote:
> Bugs item #3534428, was opened at 2012-06-11 13:28
> Message generated for change (Comment added) made by kerneis
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=742140&aid=3534428&group_id=138953
>
> Please note that
Bugs item #3534428, was opened at 2012-06-11 13:28
Message generated for change (Comment added) made by kerneis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=742140&aid=3534428&group_id=138953
Please note that this message will contain a full copy of the comment t