| Summary: | conditional expression is constant warnings for CartesianPlot.cpp | ||
|---|---|---|---|
| Product: | [Applications] LabPlot2 | Reporter: | uwestoehr <uwestoehr> |
| Component: | backend | Assignee: | Alexander Semke <alexander.semke> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | latest | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | https://commits.kde.org/labplot/9e63f4b57a8576f451e29cd2dbd1d7ecefb8774f | Version Fixed/Implemented In: | 2.5 |
| Sentry Crash Report: | |||
|
Description
uwestoehr
2017-11-25 15:15:33 UTC
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. |