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 551416 - pangowin32-fontcache.c: argument is different type
pangowin32-fontcache.c: argument is different type
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: win32
1.21.x
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
pango-maint
Depends on:
Blocks:
 
 
Reported: 2008-09-08 19:26 UTC by Kazuki Iwamoto
Modified: 2008-09-08 20:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2008-09-08 19:26:26 UTC
Please describe the problem:
The argument of g_atomic_int_inc is 'volatile gint *'.
But g_atomic_int_inc is called with 'gint' in pangowin32-fontcache.c.

Steps to reproduce:
1. compile pangowin32-fontcache.c

Actual results:
Following messages are displayed.(Visual C++)
pangowin32-fontcache.c(235) : error C4047: 'function' : 'volatile gint *' differs in levels of indirection from 'gint'
pangowin32-fontcache.c(386) : error C4047: 'function' : 'volatile gint *' differs in levels of indirection from 'gint'

Expected results:
The argument of g_atomic_int_inc should be pointer.
For example, "g_atomic_int_inc (&entry->ref_count);".

Does this happen every time?
Revision 2705 or later

Other information:
Comment 1 Tor Lillqvist 2008-09-08 20:20:07 UTC
Thanks. Fixed in trunk.