On Feb 03, "Aaron Thomas" wrote:
> Hi List,
>
> I am attempting to compile flow-tools on an AMD64 in Gentoo 2.6.9-r14. The
> error I get is:
>
> else rm -f ".deps/flow-cat.Tpo"; exit 1; \
> fi
> flow-cat.c: In function `main':
> flow-cat.c:555: error: label at end of compound statement
> make[1]: *** [flow-cat.o] Error 1
> make[1]: Leaving directory `/usr/local/src/flow-tools-0.67/src'
> make: *** [all-recursive] Error 1
>
> The source in question is:
>
> 550: if (done)
> 551: break;
> 552:
> 553: next_file:
> 554:
> 555: } /* FOREACH filename in dir */
> 556:
> 557: } /* foreach dir bundle */
There's a problem with the source and newer versions of gcc. You can get
around this problem by adding little:
do{}while(0);
statements after the labels (like on line 554 in your case) to pacify the
compiler. You need to add about half a dozen and then things work again.
Mike
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools