[Bug 676428] New: Fix building on 64 bit mingw-w64

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun May 20 08:45:37 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=676428
  GStreamer | gst-plugins-gl | 0.10.x

           Summary: Fix building on 64 bit mingw-w64
    Classification: Platform
           Product: GStreamer
           Version: 0.10.x
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-gl
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: raimo.jarvi at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Build on 64 bit mingw-w64 fails with:

gstglwindow_win32.c:144:1: error: conflicting types for 'gst_gl_window_new'
gstglwindow.h:82:15: note: previous declaration of 'gst_gl_window_new' was here
gstglwindow_win32.c: In function 'gst_gl_window_new':
gstglwindow_win32.c:181:73: error: cast from pointer to integer of different
size
gstglwindow_win32.c: In function 'gst_gl_window_get_internal_gl_context':
gstglwindow_win32.c:208:10: error: cast from pointer to integer of different
size
gstglwindow_win32.c: In function 'gst_gl_window_set_external_window_id':
gstglwindow_win32.c:253:71: error: cast from pointer to integer of different
size
gstglwindow_win32.c:257:35: error: 'GWL_WNDPROC' undeclared (first use in this
function)
gstglwindow_win32.c:257:35: note: each undeclared identifier is reported only
once for each function it appears in
gstglwindow_win32.c:257:48: error: cast from pointer to integer of different
size
gstglwindow_win32.c:266:38: error: cast to pointer from integer of different
size
gstglwindow_win32.c:271:61: error: cast to pointer from integer of different
size
gstglwindow_win32.c:272:15: error: cast to pointer from integer of different
size
gstglwindow_win32.c:273:15: error: cast to pointer from integer of different
size
gstglwindow_win32.c:274:24: error: cast to pointer from integer of different
size
gstglwindow_win32.c:277:39: error: cast to pointer from integer of different
size
gstglwindow_win32.c:280:20: error: cast to pointer from integer of different
size
gstglwindow_win32.c: In function 'window_proc':
gstglwindow_win32.c:477:80: error: cast from pointer to integer of different
size
gstglwindow_win32.c:479:93: error: cast from pointer to integer of different
size
gstglwindow_win32.c:484:104: error: cast from pointer to integer of different
size
gstglwindow_win32.c:489:103: error: cast from pointer to integer of different
size
gstglwindow_win32.c:489:130: error: cast from pointer to integer of different
size
gstglwindow_win32.c:492:91: error: cast from pointer to integer of different
size
gstglwindow_win32.c:569:41: error: 'GWL_WNDPROC' undeclared (first use in this
function)
gstglwindow_win32.c:569:54: error: cast from pointer to integer of different
size
gstglwindow_win32.c:580:91: error: cast from pointer to integer of different
size
gstglwindow_win32.c:585:96: error: cast from pointer to integer of different
size
gstglwindow_win32.c:591:95: error: cast from pointer to integer of different
size

The following patch fixes this, but might cause problems on other systems,
because it changes some function signatures.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list