Menu

#10 alignment of static declarations

open
nobody
None
5
2005-03-11
2005-03-11
Anonymous
No

The following code snippet is not changed by GC:
static int a=0, b=0, c=0;

while this one
int a=0, b=0, c=0;
is changed to
int a=0,
b=0,
c=0;

In my opinion GC should also change the static declaration,
just like the not-static declaration.

GC.uranium@neverbox.com

Discussion

  • Nobody/Anonymous

    Logged In: NO

    This one does seem to work after all.
    GC.uranium@neverbox.com

     
  • Nobody/Anonymous

    Logged In: NO

    This seems to be true ONLY when the variables a, b and c
    have global (file) scope, not when the declaration is inside
    a function.

     
  • Nobody/Anonymous

    Logged In: NO

    This seems to be true ONLY when the variables a, b and c
    have global (file) scope, not when the declaration is inside
    a function.

    GC.uranium@neverbox.com

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.