Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265046 - =gnome-extra/gnome-power-manager-2.24.4-r1 fails to build with GCC 4.4 [patch]
Summary: =gnome-extra/gnome-power-manager-2.24.4-r1 fails to build with GCC 4.4 [patch]
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.4
  Show dependency tree
 
Reported: 2009-04-06 02:19 UTC by Daniel J.
Modified: 2009-04-06 15:17 UTC (History)
1 user (show)

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


Attachments
patch to enable GCC 4.4 build (gnome-power-manager-2.24.4-gcc44.patch,616 bytes, patch)
2009-04-06 02:20 UTC, Daniel J.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel J. 2009-04-06 02:19:47 UTC
Building gnome-power-manager with GCC 4.4 results in the following error:

cc1: warnings being treated as errors
gpm-button.c: In function 'emit_button_pressed':
gpm-button.c:310: error: offset '2' outside bounds of constant string
gpm-button.c:310: error: offset '3' outside bounds of constant string

The attached patch fixes this.
Comment 1 Daniel J. 2009-04-06 02:20:09 UTC
Created attachment 187433 [details, diff]
patch to enable GCC 4.4 build
Comment 2 Daniel J. 2009-04-06 15:17:12 UTC
Never mind.  This was caused by a GCC bug which was fixed in SVN on 2009-03-30.