[Bug 699009] New: C++11 requires a space between literal and GST_VIDEO_SIZE_RANGE identifier

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Apr 26 19:34:17 PDT 2013


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

           Summary: C++11 requires a space between literal and
                    GST_VIDEO_SIZE_RANGE identifier
    Classification: Platform
           Product: GStreamer
           Version: unspecified
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: async.processingjs at yahoo.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Getting an error when an application compiled with clang-3.1:

...include/gstreamer-0.10/gst/video/video.h:357:17: error: 
      invalid suffix on literal; C++11 requires a space between literal and
      identifier [-Wreserved-user-defined-literal]
      "width = "GST_VIDEO_SIZE_RANGE" , "                               \
                ^

Inserting extra spaces before/after GST_VIDEO_SIZE_RANGE fixes the issue:

      "width = " GST_VIDEO_SIZE_RANGE " , "                               \

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