GNOME Bugzilla – Bug 783678
Can't build with gcc7
Last modified: 2017-07-03 11:53:59 UTC
Created attachment 353597 [details] gstreamermm gcc7 build log Using 1.8.0 tarball plus a patch to support gst 1.12 (included). See conversion error at line #369 in the build log. No problem with gcc6 instead.
Created attachment 353598 [details] [review] patch for gstreamermm 1.8.0 to build with gstreamer 1.12
For me this patch does _not_ fix the build failure with gcc-7. I still can't compile with g++ 7.1 (gstreamer version was 1.12)
Indeed, still waiting on Marcin Kolny to fix the gcc7 trouble. He mentioned being working on gstmm 1.12, so perhaps that release will also fix this.
Thanks guys for the report. This problem has been fixed in the unstable development version. The fix will be available in the next major software release.
However, iterator needs to be refactored, I've opened a bug: https://bugzilla.gnome.org/show_bug.cgi?id=784446
Created attachment 354796 [details] [review] fixex build with gcc7 in gstmm 1.8.0 @rinni this patch works for me, it brings iterator.h to the latest commit, courtesy of Marcin. But use it at your own risk, no idea how stable it will be.
The patch is stable. It's just generated version of .hg file, so it's safe to use it.
I can confirm that if fixes the build with gcc 7. Thanks!