I get: 1>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\CartesianPlot.cpp(1358): warning C4127: conditional expression is constant 1>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\CartesianPlot.cpp(1367): warning C4458: declaration of 'd' hides class member 1> C:\CraftRoot\labplot\src\backend/core/AbstractAspect.h(184): note: see declaration of 'AbstractAspect::d' 1>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\CartesianPlot.cpp(1376): warning C4127: conditional expression is constant 1>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\CartesianPlot.cpp(1388): warning C4458: declaration of 'd' hides class member 1> C:\CraftRoot\labplot\src\backend/core/AbstractAspect.h(184): note: see declaration of 'AbstractAspect::d' 1>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\CartesianPlot.cpp(1397): warning C4127: conditional expression is constant 1>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\CartesianPlot.cpp(1405): warning C4458: declaration of 'd' hides class member 1> C:\CraftRoot\labplot\src\backend/core/AbstractAspect.h(184): note: see declaration of 'AbstractAspect::d' 1>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\CartesianPlot.cpp(1414): warning C4127: conditional expression is constant
I get additionally also this: 1>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\CartesianPlot.cpp(129): warning C4305: '=': truncation from 'double' to 'float'
Git commit 9e63f4b57a8576f451e29cd2dbd1d7ecefb8774f by Alexander Semke. Committed on 05/12/2017 at 21:48. Pushed by asemke into branch 'master'. Removed obsolete asserts and fixed initialization of a float. FIXED-IN: 2.5 M +1 -5 src/backend/worksheet/plots/cartesian/CartesianPlot.cpp https://commits.kde.org/labplot/9e63f4b57a8576f451e29cd2dbd1d7ecefb8774f
C4458 warning seems to be wrong here since the class member 'd' in AbstractAspect.h(184) is declared private and cannot be overwritten by any local parameters declared in functions of derived classes. Our msvc-build is full of these warning at the moment because of this overwritten private member in AbstractAspect. Let's ignore this for a moment.