#2 C++-Style Variable Declarations

closed-fixed
nobody
None
5
2003-12-17
2003-06-03
No

utils.c and gtkcellrendererprogress.c contain C++-style
variable declarations (declared at first use rather
than the start of the functions). This obviously causes
make to die (more detail available upon request).

I submitted a patch that fixes this in the Patches
section, but I just realised I reversed the order of
changes. :) So here's a new one:

The attached patch is a quick&dirty fix: some of the
functions originally initialising the variables may not
be dependent on their place in the function and
therefore could also be moved to the top. I assume you
also may wish to change the order and whitespace around
the declarations.

Discussion

  • Jared Warren

    Jared Warren - 2003-06-03

    Patch to move variable declarations to tops of functions

     
  • Franco Catrin L.

    • status: open --> closed-fixed
     
  • Franco Catrin L.

    Logged In: YES
    user_id=173088

    Fixed in CVS. Note that we have moved to GNOME CVS

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks