Error: extra ';' in gtkmm statusicon.h

Bug #275397 reported by Will
28
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gtkmm2.4 (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs
Nominated for Intrepid by radsaq

Bug Description

Description: Ubuntu intrepid (development branch)
Release: 8.10

libgtkmm-2.4-dev:
  Installed: 1:2.14.1-0ubuntu1

When compiling an application using gtkmm, the build fails with the following errors:

In file included from /usr/include/gtkmm-2.4/gtkmm.h:150,
                 from hello.cpp:1:
/usr/include/gtkmm-2.4/gtkmm/statusicon.h:237: error: extra ';'
/usr/include/gtkmm-2.4/gtkmm/statusicon.h:239: error: extra ';'

At the top of this file it says: // Generated by gtkmmproc -- DO NOT MODIFY!
So it appears to be some sort of bug in gtkmmproc which generates this header.

Revision history for this message
Murray Cumming (murrayc) wrote :

Fixed in upstream svn with this commit:

2008-09-28 Murray Cumming <email address hidden>

 * gtk/src/statusicon.hg: Remove extra ;s. to fix
 warnings. Ubuntu Bug https://bugs.launchpad.net/bugs/275397
 (William)

This is probably just a problem when building with warnings as errors.

Revision history for this message
Rich Wareham (richwareham) wrote :

Since a fix has been committed to upstream, confirming the bug. Waiting for the fix to land in Ubuntu.

Changed in gtkmm2.4:
status: New → Fix Committed
status: Fix Committed → Confirmed
Changed in gtkmm2.4:
assignee: nobody → desktop-bugs
status: Confirmed → Fix Committed
Revision history for this message
Christoph Korn (c-korn) wrote :

When is this bug going to be fixed?

Revision history for this message
Xiyue Deng (manphiz) wrote :

There are 2 upstream new releases since the commit. It should've already been fixed.

Revision history for this message
Christoph Korn (c-korn) wrote :

But when will it be released in ubuntu.

Intrepid would be nice :P

Revision history for this message
Patrick (taishor) wrote :

Still a problem in Ubuntu intrepid at this date, no updated libgtkmm available, 2.4 last version.

In file included from gtkcharpage.h:25,
                 from maingui.cc:20:
/usr/include/gtkmm-2.4/gtkmm/statusicon.h: At global scope:
/usr/include/gtkmm-2.4/gtkmm/statusicon.h:237: error: extra ‘;’
/usr/include/gtkmm-2.4/gtkmm/statusicon.h:239: error: extra ‘;’

when trying to compile last version of gtkevemon.

When are this bug going to be fixed and update released to us users ?

Revision history for this message
Christoph Korn (c-korn) wrote :

This bug should at least be milestoned for jaunty.

Revision history for this message
Patrick (taishor) wrote :

Solved my problem by uninstalling gtkmm, compile gtkmm 2.14.3 from http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.14/gtkmm-2.14.3.tar.gz, and now it works fine.

Revision history for this message
Christoph Korn (c-korn) wrote :

This fixes the problem.

Thanks.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is in jaunty

Changed in gtkmm2.4:
importance: Undecided → Low
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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