[Kmymoney-devel] Compile warnings on Mac OS X > 10.6 ( Deprecations and missing icons)
mk-lists at email.de
mk-lists at email.de
Sat Jan 26 15:13:08 UTC 2013
Hi devs,
here are a few deprecation warning which might interest you which did not pop up with gcc, but do so with clang on Mac OS X > 10.6:
---
/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.
/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]
[ 63%] /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]
---
Interesting is also that there seems to be a problem with the icon set:
---
/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.
---
Greets,
Marko
More information about the KMyMoney-devel
mailing list