[gstreamer-bugs] [Bug 574447] New: gstadder.c: line 904: error C2036: 'gpointer' : unknown size

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Mar 6 22:07:16 PST 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=574447

  GStreamer | gst-plugins-base | Ver: 0.10.22
           Summary: gstadder.c: line 904: error C2036: 'gpointer' : unknown
                    size
           Product: GStreamer
           Version: 0.10.22
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: dhoyt at llnl.gov
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


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:


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=574447.




More information about the Gstreamer-bugs mailing list