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 574447 - gstadder.c: line 904: error C2036: 'gpointer' : unknown size
gstadder.c: line 904: error C2036: 'gpointer' : unknown size
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.22
Other All
: Normal minor
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-07 06:08 UTC by David Hoyt
Modified: 2009-03-07 07:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Hoyt 2009-03-07 06:08:20 UTC
Please describe the problem:
I get "error C2036: 'gpointer' : unknown size" using msvc to compile gstadder.c.  This URL describes the error: http://msdn.microsoft.com/en-us/library/1kay26wa.aspx 

It can be fixed by casting to (guint8*) first. So you end up with:

memset ((guint8*)outdata + insize, 0, outsize - insize);


Steps to reproduce:
Compile gstadder.c using visual C++ (vs 2008).


Actual results:
Compile error

Expected results:


Does this happen every time?
Yes

Other information:
Comment 1 Sebastian Dröge (slomo) 2009-03-07 07:44:22 UTC
This is fixed in GIT already:

commit 6b1e08f277901442113a509a02eeaf3fa79a3c1e
Author: Jan Schmidt <jan.schmidt@sun.com>
Date:   Fri Jan 30 17:16:39 2009 +0000

    Don't do void pointer arithmetic.