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 468953 - pango-renderer.c: using function without prototype
pango-renderer.c: using function without prototype
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
1.18.x
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2007-08-21 18:29 UTC by Kazuki Iwamoto
Modified: 2007-08-21 23:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2007-08-21 18:29:27 UTC
Please describe the problem:
'_pango_shape_get_extents' is used without the prototype declaration in 'pango-renderer.c'.
pango-impl-utils.h should be included.

Steps to reproduce:
1. compile pango-renderer.c


Actual results:
Following message is displayed.(Visual C++)
pango-renderer.c(496) : error C4013: '_pango_shape_get_extents' undefined; assuming extern returning int

Expected results:
Add '#include "pango-impl-utils.h"'.

Does this happen every time?
Revision 2401 or later

Other information:
Comment 1 Behdad Esfahbod 2007-08-21 23:40:31 UTC
Thanks.

2007-08-21  Behdad Esfahbod  <behdad@gnome.org>

        Bug 468953 – pango-renderer.c: using function without prototype

        * pango/pango-renderer.c: #include <pango-impl-utils.h>