Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625766 - media-video/avidemux-2.6.20 with dev-qt/qtwidgets-5.7.1: /usr/include/qt5/QtWidgets/qaction.h:93:40: error: ‘nullptr’ was not declared in this scope
Summary: media-video/avidemux-2.6.20 with dev-qt/qtwidgets-5.7.1: /usr/include/qt5/QtW...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-07-20 23:35 UTC by Martin von Gagern
Modified: 2017-12-09 09:34 UTC (History)
1 user (show)

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


Attachments
build log (media-video:avidemux-2.6.20:20170717-010924.log,590.30 KB, text/plain)
2017-07-20 23:35 UTC, Martin von Gagern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2017-07-20 23:35:47 UTC
Created attachment 486136 [details]
build log

In file included from /usr/include/qt5/QtWidgets/QAction:1:0,
                 from /var/tmp/portage/media-video/avidemux-2.6.20/work/avidemux-2.6.20_build/build
Qt4/ADM_userInterfacesQT5/ADM_shell/ui_shell.h:13,
                 from /var/tmp/portage/media-video/avidemux-2.6.20/work/avidemux-2.6.20_build/build
Qt4/ADM_userInterfacesQT5/ADM_shell/../../../../avidemux_2.6.20/avidemux/qt4/ADM_userInterfaces/ADM
_shell/Q_shell.h:8,
                 from /var/tmp/portage/media-video/avidemux-2.6.20/work/avidemux-2.6.20_build/build
Qt4/ADM_userInterfacesQT5/ADM_shell/moc_Q_shell.cpp:9:
/usr/include/qt5/QtWidgets/qaction.h: At global scope:
/usr/include/qt5/QtWidgets/qaction.h:93:40: error: ‘nullptr’ was not declared in this scope
     explicit QAction(QObject *parent = nullptr);
                                        ^
/usr/include/qt5/QtWidgets/qaction.h:94:61: error: ‘nullptr’ was not declared in this scope
     explicit QAction(const QString &text, QObject *parent = nullptr);
                                                             ^
/usr/include/qt5/QtWidgets/qaction.h:95:80: error: ‘nullptr’ was not declared in this scope
     explicit QAction(const QIcon &icon, const QString &text, QObject *parent = nullptr);
                                                                                ^

Workaround:
echo 'CXXFLAGS="${CXXFLAGS} -std=gnu++11"' \
  > /etc/portage/env/media-video/avidemux-2.6.20

Possibly related: bug #566318 or bug #584590.
Comment 1 Martin Gebert 2017-09-02 12:40:32 UTC
Works for me; thanks! See bug 623178 for the current state of this issue.
Comment 2 Andreas Sturmlechner gentoo-dev 2017-12-09 09:34:56 UTC
Fixed since 94d0465a437d2bc1e54a7e93da4b1b6eda354d31