[oe-commits] [meta-openembedded] 47/62: gnome-system-monitor: fix build after update of gnome c++ bindings

git at git.openembedded.org git at git.openembedded.org
Tue Mar 7 13:29:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch morty-next
in repository meta-openembedded.

commit 08759d3ea8c0057830916c30db68b0c0bcd68f77
Author: Andreas Müller <schnitzeltony at googlemail.com>
AuthorDate: Thu Jan 5 18:11:24 2017 +0100

    gnome-system-monitor: fix build after update of gnome c++ bindings
    
    In file included from <staging>/usr/include/c++/6.2.0/type_traits:35:0,
                     from <staging>/usr/include/sigc++-2.0/sigc++/visit_each.h:22,
                     from <staging>/usr/include/sigc++-2.0/sigc++/functors/slot.h:6,
                     from <staging>/usr/include/sigc++-2.0/sigc++/signal_base.h:27,
                     from <staging>/usr/include/sigc++-2.0/sigc++/signal.h:8,
                     from <staging>/usr/include/sigc++-2.0/sigc++/sigc++.h:104,
                     from <staging>/usr/include/glibmm-2.4/glibmm/thread.h:50,
                     from <staging>/usr/include/glibmm-2.4/glibmm.h:89,
                     from <staging>/usr/include/gtkmm-2.4/gtkmm.h:87,
                     from ../../gnome-system-monitor-2.28.2/src/procman.cpp:26:
    <staging>/usr/include/c++/6.2.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support \
      ^~~~~
    
    Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
    (cherry picked from commit ea4abd908f4feadd17741e1f3431bb7825e69630)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 .../recipes-gnome/gnome-system-monitor/gnome-system-monitor_2.28.2.bb   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_2.28.2.bb b/meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_2.28.2.bb
index 55778f7..58ebd98 100644
--- a/meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_2.28.2.bb
+++ b/meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_2.28.2.bb
@@ -20,6 +20,8 @@ do_configure_prepend() {
     sed -i -e s:help::g ${S}/Makefile.am
 }
 
+CXXFLAGS += "--std=c++11"
+
 RRECOMMENDS_${PN} = "adwaita-icon-theme"
 
 FILES_${PN} += "${datadir}/icons \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list