Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61440 - xxkb compilation is broken with gcc 3.4
Summary: xxkb compilation is broken with gcc 3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-23 15:18 UTC by Anton Starikov
Modified: 2004-08-24 03:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch itself (xxkb-1.10-gcc34-fix.patch,237 bytes, patch)
2004-08-23 15:19 UTC, Anton Starikov
Details | Diff
corrected ebuild (xxkb-1.10-r1.ebuild,970 bytes, text/plain)
2004-08-23 15:19 UTC, Anton Starikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Starikov 2004-08-23 15:18:08 UTC
xxkb will not compile with gcc 3.4 due to removing deprecated extension that allowed C programs to have a label at the end of a compound statement.
Here I applay a patch which fix the problem. It can be applied for older version of gcc also. It just make xxkb compatible with c++ standart.



Reproducible: Always
Steps to Reproduce:
1. Just merge on gcc 3.4 enabled installation.

Actual Results:  
Compillation will fail with:
resource.c: In function `load_image':
resource.c:387: error: label at end of compound statement
make: *** [resource.o] Error 1
Comment 1 Anton Starikov 2004-08-23 15:19:07 UTC
Created attachment 38053 [details, diff]
patch itself
Comment 2 Anton Starikov 2004-08-23 15:19:47 UTC
Created attachment 38054 [details]
corrected ebuild
Comment 3 Karol Wojtaszek (RETIRED) gentoo-dev 2004-08-24 03:54:57 UTC
Fixed in portage.