Bug 363984 - FTBS with gcc 6.1.1
Summary: FTBS with gcc 6.1.1
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.6.4
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-05 15:00 UTC by Miklos Karacsony
Modified: 2016-06-05 15:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.6.5
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miklos Karacsony 2016-06-05 15:00:28 UTC
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