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 700459 - Syntax warning in ftconfig.h when compiling pango
Syntax warning in ftconfig.h when compiling pango
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-05-16 13:33 UTC by Paul Bredbury
Modified: 2015-02-07 16:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Bredbury 2013-05-16 13:33:57 UTC
Hi, when pango is compiled *without* --disable-introspection, it shows these 2 warnings during compilation:

/usr/include/freetype2/freetype/config/ftconfig.h:436: syntax error, unexpected '{', expecting ',' or ';' in ' {' at '{'
/usr/include/freetype2/freetype/config/ftconfig.h:440: syntax error, unexpected identifier in ' _asm_ __volatile__ (' at '__asm__'

Is this a problem with freetype, pango or gobject-introspection? How to fix?

Previous pango bug report:  http://savannah.nongnu.org/bugs/index.php?39005

I've tested various versions, currently:

freetype 2.4.11 & 2.4.12
pango 1.32.5 & 1.34.1
gobject-introspection 1.34.2
Comment 1 Paul Bredbury 2014-06-15 15:53:31 UTC
Still an issue. Headers have changed recently, so the 2 lines are:

/usr/include/freetype2/config/ftconfig.h:452: syntax error, unexpected '{', expecting ',' or ';' in '  {' at '{'
/usr/include/freetype2/config/ftconfig.h:456: syntax error, unexpected identifier in '    __asm__ __volatile__ (' at '__asm__'
Comment 2 Paul Bredbury 2014-08-18 06:01:25 UTC
Fixed in pango 1.36.6
Comment 3 André Klapper 2015-02-07 16:49:39 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]