Bug 86941 - media-libs/libgii fails to compile with "label at end of compound statement"
|
Bug#:
86941
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: chriswhite@gentoo.org
|
Reported By: leo.laursen@gmail.com
|
|
Component: Library
|
|
|
URL:
|
|
Summary: media-libs/libgii fails to compile with "label at end of compound statement"
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-03-28 00:41 0000
|
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBGG
-I../include -I../include -march=prescott -mtune=prescott -O3
-fomit-frame-pointer -pipe -fforce-addr -falign-functions=4
-fprefetch-loop-arrays -ftracer -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall
-Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch
-Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls
-Werror-implicit-function-declaration -MT ptsched.lo -MD -MP -MF
.deps/ptsched.Tpo -c ptsched.c -fPIC -DPIC -o ptsched.lo
ptlock.c: In function `ggLock':
ptlock.c:113: warning: declaration of '__cancel_buf' shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of '__cancel_routine' shadows a previous
local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of '__cancel_arg' shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of 'not_first_call' shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptsched.c: In function `_gg_task_thread_waiter':
ptsched.c:200: error: label at end of compound statement
make[3]: *** [ptsched.lo] Fejl 1
make[3]: *** Venter p
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBGG
-I../include -I../include -march=prescott -mtune=prescott -O3
-fomit-frame-pointer -pipe -fforce-addr -falign-functions=4
-fprefetch-loop-arrays -ftracer -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall
-Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch
-Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls
-Werror-implicit-function-declaration -MT ptsched.lo -MD -MP -MF
.deps/ptsched.Tpo -c ptsched.c -fPIC -DPIC -o ptsched.lo
ptlock.c: In function `ggLock':
ptlock.c:113: warning: declaration of '__cancel_buf' shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of '__cancel_routine' shadows a previous
local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of '__cancel_arg' shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of 'not_first_call' shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptsched.c: In function `_gg_task_thread_waiter':
ptsched.c:200: error: label at end of compound statement
make[3]: *** [ptsched.lo] Fejl 1
make[3]: *** Venter på uafsluttede job....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBGG
-I../include -I../include -march=prescott -mtune=prescott -O3
-fomit-frame-pointer -pipe -fforce-addr -falign-functions=4
-fprefetch-loop-arrays -ftracer -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall
-Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch
-Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls
-Werror-implicit-function-declaration -MT task.lo -MD -MP -MF .deps/task.Tpo -c
task.c -fPIC -DPIC -o task.lo
make[3]: Leaving directory `/var/tmp/portage/libgii-0.9.0/work/libgii-0.9.0/gg'
make[2]: *** [all-recursive] Fejl 1
make[2]: Leaving directory `/var/tmp/portage/libgii-0.9.0/work/libgii-0.9.0/gg'
make[1]: *** [all-recursive] Fejl 1
make[1]: Leaving directory `/var/tmp/portage/libgii-0.9.0/work/libgii-0.9.0'
make: *** [all] Fejl 2
!!! ERROR: media-libs/libgii-0.9.0 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Adding a ';' after label (line 200) makes it compile.
Adding a patch libgii-0.9.0-gcc34.patch
*** Bug 86984 has been marked as a duplicate of this bug. ***
Fixed in cvs. Thanks for reporting and using Gentoo!