After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 692808 - pango-font pedantic warnings
pango-font pedantic warnings
Status: RESOLVED NOTABUG
Product: pango
Classification: Platform
Component: general
1.32.x
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2013-01-29 14:50 UTC by Michael Cronenworth
Modified: 2013-01-29 14:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
pango-font-pedantic.patch (733 bytes, patch)
2013-01-29 14:50 UTC, Michael Cronenworth
none Details | Review

Description Michael Cronenworth 2013-01-29 14:50:40 UTC
Created attachment 234739 [details] [review]
pango-font-pedantic.patch

Starting in Pango 1.32, the pango-font.h header tries to store unsigned 32-bit values in a signed 32-bit enumerator. I have changed the enumerator to be #define's instead.

Patch attached. pango 1.32.3

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


Expected results:
No compile warnings.
Comment 1 Michael Cronenworth 2013-01-29 14:53:42 UTC
Sorry. I see it is fixed in the latest Pango release.