Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 570618 - dev-python/visual-5.74: does not compile with gcc-5.3.0
Summary: dev-python/visual-5.74: does not compile with gcc-5.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libsigc++-2.6
  Show dependency tree
 
Reported: 2016-01-02 16:14 UTC by Andrey Grozin
Modified: 2016-01-02 17:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Grozin gentoo-dev 2016-01-02 16:14:08 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \
<skipped>
/usr/include/glibmm-2.4/glibmm/ustring.h:267:12: error: expected ';' at end of member declaration
   ~ustring() noexcept;
            ^
/usr/include/glibmm-2.4/glibmm/ustring.h:267:14: error: 'noexcept' does not name a type
   ~ustring() noexcept;
              ^
/usr/include/glibmm-2.4/glibmm/ustring.h:267:14: note: C++11 'noexcept' only available with -std=c++11 or -std=gnu++11
/usr/include/glibmm-2.4/glibmm/ustring.h:881:48: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
   FormatStream(const ustring::FormatStream&) = delete;
                                                ^
/usr/include/glibmm-2.4/glibmm/ustring.h:882:59: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
   FormatStream& operator=(const ustring::FormatStream&) = delete;
                                                           ^
/usr/include/glibmm-2.4/glibmm/ustring.h:894:17: error: expected ';' at end of member declaration
   ~FormatStream() noexcept;
                 ^
/usr/include/glibmm-2.4/glibmm/ustring.h:894:19: error: 'noexcept' does not name a type
   ~FormatStream() noexcept;
                   ^
/usr/include/glibmm-2.4/glibmm/ustring.h:894:19: note: C++11 'noexcept' only available with -std=c++11 or -std=gnu++11
<and so on>
Comment 1 Andrey Grozin gentoo-dev 2016-01-02 17:21:17 UTC
Adding -std=gnu++11 via /etc/portage/env gives a successful build.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2016-01-02 17:42:26 UTC
commit 104550b95288c8006f02c3867e1cefdcb5283e4e
Author: Justin Lecher <jlec@gentoo.org>
Date:   Sat Jan 2 18:42:00 2016 +0100

    dev-python/visual: Bump to EAPI=5 and python-single-r1.eclass

    Fix for libsigc++-2.6

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=570618

    Package-Manager: portage-2.2.26
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=104550b95288c8006f02c3867e1cefdcb5283e4e