Bug 389300 - 'int': forcing value to bool 'true' or 'false' warnings
Summary: 'int': forcing value to bool 'true' or 'false' warnings
Status: RESOLVED FIXED
Alias: None
Product: LabPlot2
Classification: Applications
Component: general (other bugs)
Version First Reported In: latest
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Stefan Gerlach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-22 00:43 UTC by uwestoehr
Modified: 2018-01-27 23:54 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description uwestoehr 2018-01-22 00:43:39 UTC
Compiling current master I get these new warnings:

2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(1272): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(1309): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(1370): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(1371): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(1384): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(1385): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(1391): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(1392): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(1796): warning C4800: 'char': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2207): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2208): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2209): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2276): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2278): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2279): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2296): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2297): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2298): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2299): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2301): warning C4800: 'char': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2334): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2338): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2339): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2340): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2341): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2342): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2343): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2377): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2385): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2386): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2387): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2436): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2521): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2529): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2608): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2616): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
2>C:\CraftRoot\labplot\liborigin\OriginAnyParser.cpp(2769): warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
Comment 1 Stefan Gerlach 2018-01-27 23:54:18 UTC
Git commit 67f31787924ab2f8b0e0e664befdeb5c318f5fe4 by Stefan Gerlach.
Committed on 27/01/2018 at 23:53.
Pushed by sgerlach into branch 'master'.

FIXED-IN: 2.5

M  +41   -41   liborigin/OriginAnyParser.cpp

https://commits.kde.org/labplot/67f31787924ab2f8b0e0e664befdeb5c318f5fe4