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.
Created attachment 187433 [details, diff]
patch to enable GCC 4.4 build
Never mind. This was caused by a GCC bug which was fixed in SVN on 2009-03-30.