[Bug 774108] Two warnings while building with mingw64

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Nov 8 16:26:52 UTC 2016


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

--- Comment #2 from Victor Toso <bugzilla at victortoso.com> ---
Created attachment 339334
  --> https://bugzilla.gnome.org/attachment.cgi?id=339334&action=edit
tests: Fix compile warning on mingw64

Use undef __MSVCRT_VERSION__ for the test as it will defined once again.

In file included from ../../libs/gst/net/gstntppacket.c:35:0,
                 from netclock-replay.c:25:
../../config.h:546:0: error: "__MSVCRT_VERSION__" redefined [-Werror]
 #define __MSVCRT_VERSION__ 0x0601

In file included from
/usr/x86_64-w64-mingw32/sys-root/mingw/include/crtdefs.h:10:0,
                 from /usr/x86_64-w64-mingw32/sys-root/mingw/include/stdio.h:9,
                 from netclock-replay.c:21:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/_mingw.h:220:0: note:
this is the location of the previous definition
 # define __MSVCRT_VERSION__ 0x0700

Signed-off-by: Victor Toso <victortoso at redhat.com>

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