cwidget FTBFS with g++-4.4

Bug #378997 reported by Steve Langasek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cwidget (Debian)
Fix Released
Unknown
cwidget (Ubuntu)
Fix Released
High
Unassigned
Karmic
Fix Released
High
Unassigned

Bug Description

The cwidget package fails to build in karmic because g++-4.4 is again more strict than previous versions of g++. The following debdiff fixes one issue with missing header includes, but after applying the patch the build still fails with the following error:

 g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -Wall -Werror -I../../../src -g -O2 -D_REENTRANT -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -MT menubar.lo -MD -MP -MF .deps/menubar.Tpo -c menubar.cc -fPIC -DPIC -o .libs/menubar.o
cc1plus: warnings being treated as errors
/usr/include/sigc++-2.0/sigc++/limit_reference.h: In constructor 'cwidget::widgets::menubar::menubar(bool)':
/usr/include/sigc++-2.0/sigc++/limit_reference.h:81: error: dereferencing pointer '<anonymous>' does break strict-aliasing rules
/usr/include/sigc++-2.0/sigc++/limit_reference.h:81: note: initialized from here
make[5]: *** [menubar.lo] Error 1

I'm not sure if this is a bug in cwidget or in libsigc++-2.0; someone with deeper C++ knowledge than Iwill need to look at this.

Tags: patch
Revision history for this message
Steve Langasek (vorlon) wrote :

debdiff to fix the first part of the build failure.

Revision history for this message
Steve Langasek (vorlon) wrote :

mvo, please have a look at this bug.

Changed in cwidget (Ubuntu Karmic):
importance: Undecided → High
status: New → Confirmed
Changed in cwidget (Debian):
status: Unknown → New
Revision history for this message
Colin Watson (cjwatson) wrote :

cwidget (0.5.12-4ubuntu2) karmic; urgency=low

  * fix build with gcc 4.4 (closes: #526674)

 -- Michael Vogt <email address hidden> Fri, 29 May 2009 08:24:29 +0200

Changed in cwidget (Ubuntu Karmic):
status: Confirmed → Fix Released
Artur Rona (ari-tczew)
tags: added: patch
Changed in cwidget (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.