[gstreamer-bugs] [Bug 393427] New: [gst-plugins-good] error/warnings when compiling with mingw

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Jan 6 00:24:52 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=393427

  GStreamer | gst-plugins-good | Ver: HEAD CVS

           Summary: [gst-plugins-good] error/warnings when compiling with
                    mingw
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: vtorri at univ-evry.fr
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


rtsp plugin:

rtspconnection.c:53:23: sys/ioctl.h: No such file or directory
rtspconnection.c: In function `rtsp_connection_read':
rtspconnection.c:504: warning: implicit declaration of function `ioctl'

winsock2.h declares ioctlsocket (third arg is an ulong, not an int). I've
attached a patch below.


rtspdefs.c:47:19: netdb.h: No such file or directory
rtspdefs.c: In function `rtsp_strresult':
rtspdefs.c:215: warning: implicit declaration of function `hstrerror'

I don't know what I should do, here.
note that netdb.h is not needed on mingw. Is it for Linux ?


udp plugin:

gstudpsrc.c: In function `gst_udpsrc_create':
gstudpsrc.c:423: warning: int format, gulong arg (arg 8)
gstudpsrc.c:450: warning: int format, gulong arg (arg 8)

A fix is in the patch below.


jpeg plugin:

gstjpegenc.c: In function `gst_jpegenc_init':
gstjpegenc.c:235: warning: assignment from incompatible pointer type

gstjpegdec.c: In function `gst_jpeg_dec_init':
gstjpegdec.c:305: warning: assignment from incompatible pointer type
gstjpegdec.c:307: warning: assignment from incompatible pointer type

smokecodec.c: In function `smokecodec_encode_new':
smokecodec.c:176: warning: assignment from incompatible pointer type
smokecodec.c:187: warning: assignment from incompatible pointer type
smokecodec.c:189: warning: assignment from incompatible pointer type

These warnings come from jconfig.h: on Windows, a boolean is a unsigned char. A
fix is in the patch below


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list