Bug 387198 - compiler warnings with XYIntegrationCurve
Summary: compiler warnings with XYIntegrationCurve
Status: RESOLVED FIXED
Alias: None
Product: LabPlot2
Classification: Applications
Component: backend (show other bugs)
Version: latest
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Alexander Semke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-21 22:58 UTC by Uwe Stöhr
Modified: 2017-11-22 23:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Stöhr 2017-11-21 22:58:45 UTC
I get:

2>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\XYIntegrationCurve.cpp(134): warning C4458: declaration of 'd' hides class member
2>  C:\CraftRoot\labplot\src\backend/core/AbstractAspect.h(183): note: see declaration of 'AbstractAspect::d'
2>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\XYIntegrationCurve.cpp(241): warning C4365: 'initializing': conversion from 'int' to 'std::size_t', signed/unsigned mismatch
2>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\XYIntegrationCurve.cpp(241): warning C4365: 'initializing': conversion from 'int' to 'const std::size_t', signed/unsigned mismatch
2>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\XYIntegrationCurve.cpp(280): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
2>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\XYIntegrationCurve.cpp(280): warning C4365: 'argument': conversion from 'std::size_t' to 'int', signed/unsigned mismatch
2>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\XYIntegrationCurve.cpp(281): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
2>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\XYIntegrationCurve.cpp(281): warning C4365: 'argument': conversion from 'std::size_t' to 'int', signed/unsigned mismatch
2>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\XYIntegrationCurve.cpp(303): warning C4458: declaration of 'd' hides class member
2>  C:\CraftRoot\labplot\src\backend/core/AbstractAspect.h(183): note: see declaration of 'AbstractAspect::d'
2>C:\CraftRoot\labplot\src\backend\worksheet\plots\cartesian\XYIntegrationCurve.cpp(342): warning C4458: declaration of 'd' hides class member
2>  C:\CraftRoot\labplot\src\backend/core/AbstractAspect.h(183): note: see declaration of 'AbstractAspect::d'
2>c:\qt\qt5.9.2\5.9.2\msvc2015_64\include\qtcore\qvector.h(239): warning C4127: conditional expression is constant
Comment 1 Uwe Stöhr 2017-11-22 23:29:33 UTC
This is now fixed.