[Bug 774641] gst-editing-services: Enable building with MSVC

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 18 12:20:33 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=774641

--- Comment #16 from Thibault Saunier <tsaunier at gnome.org> ---
commit 9feee792c50f2cf0f65b239557a948a8ac8eef59
Author: Scott D Phillips <scott.d.phillips at intel.com>
Date:   Thu Nov 17 10:31:50 2016 -0800

    Enable building with MSVC

    https://bugzilla.gnome.org/show_bug.cgi?id=774641

commit 3319ed17d8be34281f95993263e7186a8c444654
Author: Scott D Phillips <scott.d.phillips at intel.com>
Date:   Thu Nov 17 10:40:05 2016 -0800

    Cast away const from GstMetaInfo in *_get_meta_info() functions

    MSVC warns about the const in the implicit argument conversion in the
    calls to g_once_init_{enter,leave}. It's OK so explicitly cast it.

    https://bugzilla.gnome.org/show_bug.cgi?id=774641

commit f203c01af2f441ebbbb91b4d8797e39dda42c371
Author: Scott D Phillips <scott.d.phillips at intel.com>
Date:   Thu Nov 17 10:39:01 2016 -0800

    Pass gint/guint pointers instead of enum pointers

    The underlying integer type for enums are implementation defined and may
    not be the same size as gint/guint. So implicitly casting from pointers-
    to-enum-types to pointers-to-int-types is unsafe. MSVC warns on these.

    https://bugzilla.gnome.org/show_bug.cgi?id=774641

commit f1dd6f4226f72e7a1e12931ac03fc683e9a0b67d
Author: Scott D Phillips <scott.d.phillips at intel.com>
Date:   Thu Nov 17 10:35:50 2016 -0800

    parse: Don't #include <unistd.h>

    It isn't needed and isn't present in non-posix environments like windows
    with MSVC or mingw.

    https://bugzilla.gnome.org/show_bug.cgi?id=774641

-- 
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