Building with gcc 6.1.1 fails Reproducible: Always Steps to Reproduce: 1. try to build with gcc 6.1.1 2. sit back, relax and wait for the build error 3. Actual Results: /usr/src/plasma-desktop-5.6.4/kcms/touchpad/src/backends/x11/synapticstouchpad.cpp: In member function 'virtual double SynapticsTouchpad::getPropertyScale(const QString&) const': /usr/src/plasma-desktop-5.6.4/kcms/touchpad/src/backends/x11/synapticstouchpad.cpp:240:16: error: 'sqrt' is not a member of 'std' return std::sqrt(static_cast<double>(m_resX) * m_resX ^~~ /usr/src/plasma-desktop-5.6.4/kcms/touchpad/src/backends/x11/synapticstouchpad.cpp:247:16: error: 'M_PI_4' was not declared in this scope return M_PI_4 / 45.0; ^~~~~~ make[2]: *** [kcms/touchpad/src/CMakeFiles/kded_touchpad.dir/backends/x11/synapticstouchpad.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [kcms/touchpad/src/CMakeFiles/kded_touchpad.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Expected Results: The package builds without errors
Already fixed in git, https://quickgit.kde.org/?p=plasma-desktop.git&a=commit&h=d8197688122e6b3787283ef59fa5ddd3c518662b