[Kmymoney-devel] Some build warnings on OSX/10.9 on branch master
Marko Käning
mk-lists at email.de
Sat Aug 23 09:32:41 UTC 2014
Hi devs,
I’ve seen the below warnings using clang on OSX building (successfully) current git master.
Greets,
Marko
---
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/widgets/fixedcolumntreeview.cpp:43:24: warning: private field 'm_fixedColumView' is not used [-Wunused-private-field]
1 warning generated.
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/reports/kreportchartview.cpp:558:7: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/reports/kreportchartview.cpp:569:7: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/libkdchart/src/KDChartCartesianAxis.cpp:314:57: warning: operator '?:' has lower precedence than '-'; '-' will be evaluated first [-Wparentheses]
[ 31%] 1 warning generated.
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/libkdchart/src/KDChartLayoutItems.h:283:30: warning: private field 'mDiagram' is not used [-Wunused-private-field]
1 warning generated.
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/widgets/register.cpp:64:11: warning: unused variable 'LinesPerMemo' [-Wunused-const-variable]
1 warning generated.
[ 51%] /opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/plugins/csvimport/csvdialog.cpp:264:21: warning: assigning field to itself [-Wself-assign-field]
1 warning generated.
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/plugins/csvimport/csvutil.cpp:126:12: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
1 warning generated.
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/plugins/kbanking/mymoneybanking.cpp:104:37: warning: comparison of constant -1 with expression of type 'bool' is always true [-Wtautological-constant-out-of-range-compare]
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/plugins/kbanking/mymoneybanking.cpp:337:25: warning: comparison of constant -1 with expression of type 'bool' is always true [-Wtautological-constant-out-of-range-compare]
More information about the KMyMoney-devel
mailing list