• Bug#266236: tree: FTBFS with gcc-3.4: label at end of compound statemen

    From Andreas Jochens@1:229/2 to All on Tue Aug 17 08:50:05 2004
    From: [email protected]

    Package: tree
    Severity: normal
    Tags: patch

    When building 'tree' with gcc-3.4 I get the following error:

    gcc -Wall -g -fomit-frame-pointer -DLINUX_BIGFILE -O2 -c -o tree.o tree.c tree.c: In function `url_encode':
    tree.c:1086: error: label at end of compound statement
    make[1]: *** [tree.o] Error 1
    make[1]: Leaving directory `/tree-1.4b3'

    With the attached patch 'tree' can be compiled using gcc-3.4.

    Regards
    Andreas Jochens

    Binary files ../tmp-orig/tree-1.4b3/tree and ./tree differ
    diff -urN ../tmp-orig/tree-1.4b3/tree.c ./tree.c
    --- ../tmp-orig/tree-1.4b3/tree.c 2004-08-17 08:24:24.003124553 +0200
    +++ ./tree.c 2004-08-17 08:24:18.445969369 +0200
    @@ -1083,6 +1083,7 @@
    case '?':
    case '+':
    default:
    + break;
    }
    }
    }


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Florian Ernst@1:229/2 to Andreas Jochens on Tue Aug 17 10:20:14 2004
    From: [email protected]

    tags 266236 upstream, fixed-upstream, pending
    thanks

    Hello Andreas,

    thanks for your bugreport.

    On Tue, Aug 17, 2004 at 08:26:00AM +0200, Andreas Jochens wrote:
    With the attached patch 'tree' can be compiled using gcc-3.4.

    tree_1.5.0-1 is due to be uploaded today by my sponsor, this bug will
    then be fixed.

    Cheers,
    Flo

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)

    iD8DBQFBIbrds3U+TVFLPnwRAu3fAJ4hleDbNSuQVq4uvoWPvIYGn1JgTwCaAvic tDYLkFkhtHG46z7bHj/w0mI=
    =3Ba0
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)