pango1.0 1.32 breaks -pedantic

Bug #1178795 reported by Octavio Alvarez on 2013-05-10
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pango1.0 (Ubuntu)
Undecided
Unassigned

Bug Description

Compilation of programs using Pango with -pedantic are broken with the following error:

/usr/include/pango-1.0/pango/pango-font.h:380:33: error: ISO C restricts enumerator values to range of ‘int’ [-pedantic]

The faulty commit:
https://git.gnome.org/browse/pango/commit/pango/pango-font.h?id=7274bd56db3ce2f02594687a307d22aa99c787c4

The commit was reverted later:
https://git.gnome.org/browse/pango/commit/pango/pango-font.h?id=8c1a6ef147edceb05921bb892d620bdced277662

It appears to be fixed in 1.32.6. Ubuntu Raring and Saucy have 1.32.5.

Upstream bug report: https://bugzilla.gnome.org/show_bug.cgi?id=692808

Bug discussion for Fedora: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=902861

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pango1.0 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers