[gstreamer-bugs] [Bug 584835] New: MSVC compiler fails with 'static inline' function

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Jun 4 08:20:31 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=584835

  GStreamer | gstreamer (core) | Ver: 0.10.23
           Summary: MSVC compiler fails with 'static inline' function
           Product: GStreamer
           Version: 0.10.23
          Platform: Other
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ylatuya at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


The MSVC compiler fails  with 'static inline' functions. Using 'static
__inline' instead fixes the compilation errors.

I propose to use the following  workarround:

#ifdef _MSC_VER
#define STIN static __inline
#else
#define STIN static inline
#endif

replacing all the 'static inline' sentences with STIN


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=584835.




More information about the Gstreamer-bugs mailing list