[gstreamer-bugs] [Bug 630802] videotestsrc.c doesn't compile in Visual Studio 2008

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Oct 5 11:28:34 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=630802
  GStreamer | gst-plugins-base | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.31

--- Comment #5 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-10-05 18:28:30 UTC ---
This should fix it. Please re-open if not (make sure to update core as well):

commit 383f7edaf40577ea1d452fa0b14facf04946ce14
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Tue Oct 5 19:13:43 2010 +0100

    videotestsrc: include new math-compat.h header for rint() on MSVC

    Should fix compilation with Visual Studio 2008.

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



(In reply to comment #1)
> According to rint(3), the test should be something like
> 
> #if (! (_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 500 || _ISOC99_SOURCE))

I don't think this is to test if the feature is available, but rather what
needs to be defined for glibc to expose this.

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