GNOME Bugzilla – Bug 699009
C++11 requires a space between literal and GST_VIDEO_SIZE_RANGE identifier
Last modified: 2013-05-31 22:10:15 UTC
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 " , " \
GStreamer 0.10 is no longer maintained, applications should be ported to 1.x. However, I've pushed a fix for this, since it's rather trivial: commit bdb33163478fdf95938fbdca7eabad3ea920a277 Author: Tim-Philipp Müller <tim@centricular.net> Date: Sat Apr 27 09:25:35 2013 +0100 video: fix compiler warning in header with C++11 / 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" , " \ https://bugzilla.gnome.org/show_bug.cgi?id=699009 Seems to be already fixed in the 1.x headers (though there may be other problems of course).
*** Bug 701362 has been marked as a duplicate of this bug. ***