[kwin] [Bug 376505] kwin compile error in Gentoo gcc-6.3.0, glibc-2.25

2017-02-18 Thread Ясен
https://bugs.kde.org/show_bug.cgi?id=376505

--- Comment #3 from Ясен <iasen.stoia...@gmail.com> ---
(In reply to Martin Gräßlin from comment #1)
> Please figure out which header file needs to be included for major and
> include that in logind.cpp. It compiles on my system, thus I cannot help
> there.

Well thank you.

* The inclusion of  by  is deprecated.
  This means that in a future release, the macros “major”, “minor”, and
  “makedev” will only be available from .

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 376505] kwin compile error in Gentoo gcc-6.3.0, glibc-2.25

2017-02-18 Thread Ясен
https://bugs.kde.org/show_bug.cgi?id=376505

--- Comment #2 from Ясен <iasen.stoia...@gmail.com> ---
Created attachment 104110
  --> https://bugs.kde.org/attachment.cgi?id=104110=edit
for Gentoo

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 376505] kwin compile error in Gentoo gcc-6.3.0, glibc-2.25

2017-02-14 Thread Ясен
https://bugs.kde.org/show_bug.cgi?id=376505

Ясен <iasen.stoia...@gmail.com> changed:

   What|Removed |Added

Product|plasmashell |kwin
   Target Milestone|1.0 |---
  Component|general |general

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 376505] New: kwin compile error in Gentoo gcc-6.3.0, glibc-2.25

2017-02-14 Thread Ясен
https://bugs.kde.org/show_bug.cgi?id=376505

Bug ID: 376505
   Summary: kwin compile error in Gentoo gcc-6.3.0, glibc-2.25
   Product: plasmashell
   Version: 5.9.2
  Platform: Other
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: k...@davidedmundson.co.uk
  Reporter: iasen.stoia...@gmail.com
CC: bhus...@gmail.com, plasma-b...@kde.org
  Target Milestone: 1.0

CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fPIC -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
---

 83%] Building CXX object CMakeFiles/kwin.dir/logind.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++  -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB
-DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -DQT_QUICK_LIB -DQT_SCRIPT_LIB
-DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB
-D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkwin_EXPORTS
-I/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2_build
-I/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2
-I/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2/tabbox
-I/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2/effects
-I/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2/libkwineffects
-I/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2_build/libkwineffects
-I/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2_build/effects
-isystem /usr/include/qt5 -isystem /usr/include/qt5/QtDBus -isystem
/usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem
/usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem
/usr/include/KF5/KConfigCore -isystem /usr/include/KF5 -isystem
/usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KWindowSystem -isystem
/usr/include/KF5/KWayland/Server -isystem /usr/include/qt5/QtConcurrent
-isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtQml -isystem
/usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtScript -isystem
/usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KConfigWidgets -isystem
/usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem
/usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem
/usr/include/KF5/KAuth -isystem /usr/include/KF5/KGlobalAccel -isystem
/usr/include/KF5/KService -isystem /usr/include/KF5/KI18n -isystem
/usr/include/KF5/KNotifications -isystem /usr/include/KF5/KPackage -isystem
/usr/include/KF5/Plasma -isystem /usr/include/KDecoration2 -isystem
/usr/include/KScreenLocker -isystem /usr/include/KF5/KActivities -isystem
/usr/include/KF5/KWayland/Client   -DQT_NO_DEBUG -DNDEBUG -O2 -march=native
-fPIC -pipe -fomit-frame-pointer -std=c++0x -fno-operator-names -fno-exceptions
-Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long
-Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual
-Werror=return-type -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  
-fPIC -std=gnu++11 -o CMakeFiles/kwin.dir/logind.cpp.o -c
/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2/logind.cpp
/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2/logind.cpp: In
member function ‘int KWin::LogindIntegration::takeDevice(const char*)’:
/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2/logind.cpp:315:65:
error: ‘major’ was not declared in this scope
 message.setArguments(QVariantList({QVariant(major(st.st_rdev)),
QVariant(minor(st.st_rdev))}));
 ^
/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2/logind.cpp:315:94:
error: ‘minor’ was not declared in this scope
 message.setArguments(QVariantList({QVariant(major(st.st_rdev)),
QVariant(minor(st.st_rdev))}));
   
  ^
/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2/logind.cpp:315:97:
error: no matching function for call to ‘QList::QList()’
 message.setArguments(QVariantList({QVariant(major(st.st_rdev)),
QVariant(minor(st.st_rdev))}));
   
 ^
In file included from /usr/include/qt5/QtCore/qobject.h:49:0,
 from /usr/include/qt5/QtCore/qcoreapplication.h:46,
 from /usr/include/qt5/QtCore/QCoreApplication:1,
 from
/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2/libkwineffects/kwinglobals.h:24,
 from
/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2/logind.h:23,
 from
/home/portage/portage/kde-plasma/kwin-5.9.2/work/kwin-5.9.2/logind.cpp:20:
/usr/include/qt5/QtCore/qlist.h:159:12: note: candidate:
QList::QList(std::initializer_list<_Tp>) [with T = QVariant]