Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 265046

Summary: =gnome-extra/gnome-power-manager-2.24.4-r1 fails to build with GCC 4.4 [patch]
Product: Gentoo Linux Reporter: Daniel J. <sleeperseven>
Component: [OLD] GCC PortingAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 249226    
Attachments: patch to enable GCC 4.4 build

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.