[Kmymoney-devel] Warnings during build of latest git version

mk-lists at email.de mk-lists at email.de
Wed Jun 5 20:03:08 UTC 2013


When building KMM4 using clang on Mac OS X Lion and Moutain Lion I've seen these warnings:
---
/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]
1 warning generated.
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/widgets/kmymoneycurrencyselector.cpp:153:3: warning: switch condition has boolean value
1 warning generated.
[ 43%] /opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/mymoney/mymoneykeyvaluecontainertest.cpp:164:31: warning: parentheses were disambiguated as a function declarator [-Wvexing-parse]
1 warning generated.
/opt/local/include/kresources/resource.h:235:30: warning: 'PluginFactoryBase' is deprecated [-Wdeprecated-declarations]
/opt/local/include/kresources/resource.h:244:13: warning: 'Resource' is deprecated [-Wdeprecated-declarations]
/opt/local/include/kresources/resource.h:248:13: warning: 'Resource' is deprecated [-Wdeprecated-declarations]
/opt/local/include/kresources/manager.h:450:5: warning: 'Factory' is deprecated [-Wdeprecated-declarations]
/opt/local/include/kabc/addressbook.h:724:62: warning: 'AddressBook' is deprecated [-Wdeprecated-declarations]
/opt/local/include/kabc/addressbook.h:725:56: warning: 'AddressBook' is deprecated [-Wdeprecated-declarations]
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/wizards/newuserwizard/knewuserwizard.cpp:181:9: warning: 'StdAddressBook' is deprecated [-Wdeprecated-declarations]
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/wizards/newuserwizard/knewuserwizard.cpp:189:9: warning: 'StdAddressBook' is deprecated [-Wdeprecated-declarations]
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/wizards/newuserwizard/knewuserwizard.cpp:198:9: warning: 'StdAddressBook' is deprecated [-Wdeprecated-declarations]
/opt/local/include/kresources/resource.h:235:30: warning: 'PluginFactoryBase' is deprecated [-Wdeprecated-declarations]
/opt/local/include/kresources/resource.h:244:13: warning: 'Resource' is deprecated [-Wdeprecated-declarations]
/opt/local/include/kresources/resource.h:248:13: warning: 'Resource' is deprecated [-Wdeprecated-declarations]
/opt/local/include/kresources/manager.h:450:5: warning: 'Factory' is deprecated [-Wdeprecated-declarations]
/opt/local/include/kabc/addressbook.h:724:62: warning: 'AddressBook' is deprecated [-Wdeprecated-declarations]
/opt/local/include/kabc/addressbook.h:725:56: warning: 'AddressBook' is deprecated [-Wdeprecated-declarations]
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/dialogs/knewfiledlg.cpp:82:9: warning: 'StdAddressBook' is deprecated [-Wdeprecated-declarations]
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/dialogs/knewfiledlg.cpp:82:48: warning: 'StdAddressBook' is deprecated [-Wdeprecated-declarations]
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/dialogs/knewfiledlg.cpp:117:9: warning: 'StdAddressBook' is deprecated [-Wdeprecated-declarations]
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/kmymoney/kmymoney/dialogs/knewfiledlg.cpp:117:48: warning: 'StdAddressBook' is deprecated [-Wdeprecated-declarations]
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/build/kmymoney/kmymoney_SRCS.iconset:warning: No image found for point size: 128 at scale: 2.
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/build/kmymoney/kmymoney_SRCS.iconset:warning: No image found for point size: 256 at scale: 1.
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/build/kmymoney/kmymoney_SRCS.iconset:warning: No image found for point size: 256 at scale: 2.
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/build/kmymoney/kmymoney_SRCS.iconset:warning: No image found for point size: 512 at scale: 1.
/opt/local/var/macports/build/_opt_mports_dports_kde_kmymoney4-devel/kmymoney4-devel/work/build/kmymoney/kmymoney_SRCS.iconset:warning: No image found for point size: 512 at scale: 2.
---

And this is what you see for Snow Leopard:
---
/opt/local/include/boost/preprocessor/config/config.hpp:86:77: warning: "__GXX_EXPERIMENTAL_CXX0X__" is not defined
---

This latter somehow rings a bell with me. I came across this already a while ago, but I guess in another context…

Greets,
Marko


More information about the KMyMoney-devel mailing list