Hi Marko, On Wednesday 28 November 2012 09:01:11 mk-li...@email.de wrote:
> Hi devs, > > I know that kmymoney 1.0.5 is not supported anymore… > > Still, in case someone of you has an idea how to fix this problem [1] when > trying to build it on Mountain Lion using clang: --- > > :info:build /bin/sh ../../libtool --silent --tag=CXX --mode=compile > :/usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include > :-I/opt/local/lib/qt3/include -I../.. -I. -DQT_THREAD_SUPPORT > :-I/opt/local/include -L/opt/local/lib -DKMM_DEBUG=0 -Wno-long-long > :-Wundef -Wall -W -Wpointer-arith -O2 -pipe -O2 -arch x86_64 > :-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_MAC > :-no-cpp-precomp -fexceptions -MT viewinterface.lo -MD -MP -MF > :.deps/viewinterface.Tpo -c -o viewinterface.lo viewinterface.cpp > 1812 :info:build clang: warning: argument unused during compilation: > '-L/opt/local/lib' 1813 :info:build clang: warning: argument unused during > compilation: '-fno-check-new' 1814 :info:build In file included from > viewinterface.cpp:27: > 1815 :info:build In file included from ./viewinterface.h:28: > 1816 :info:build In file included from > /opt/local/lib/qt3/include/qobject.h:45: 1817 :info:build In file included > from /opt/local/lib/qt3/include/qevent.h:45: 1818 :info:build In file > included from /opt/local/lib/qt3/include/qmime.h:43: 1819 :info:build In > file included from /opt/local/lib/qt3/include/qmap.h:45: 1820 :info:build > /opt/local/lib/qt3/include/qpair.h:66:8: error: field has incomplete type > 'MyMoneyTransaction' 1821 :info:build T1 first; > 1822 :info:build ^ > 1823 :info:build ./viewinterface.moc:166:31: note: in instantiation of > template class 'QPair<MyMoneyTransaction, MyMoneySplit>' requested here > 1824 :info:build static_QUType_ptr.set(o+5,&t4); > 1825 :info:build ^ > 1826 :info:build ../../kmymoney/mymoneyaccount.h:43:7: note: forward > declaration of 'MyMoneyTransaction' 1827 :info:build class > MyMoneyTransaction; > 1828 :info:build ^ > 1829 :info:build In file included from viewinterface.cpp:27: > 1830 :info:build In file included from ./viewinterface.h:28: > 1831 :info:build In file included from > /opt/local/lib/qt3/include/qobject.h:45: 1832 :info:build In file included > from /opt/local/lib/qt3/include/qevent.h:45: 1833 :info:build In file > included from /opt/local/lib/qt3/include/qmime.h:43: 1834 :info:build In > file included from /opt/local/lib/qt3/include/qmap.h:45: 1835 :info:build > /opt/local/lib/qt3/include/qpair.h:67:8: error: field has incomplete type > 'MyMoneySplit' 1836 :info:build T2 second; > 1837 :info:build ^ > 1838 :info:build ../../kmymoney/mymoneyaccount.h:45:7: note: forward > declaration of 'MyMoneySplit' 1839 :info:build class MyMoneySplit; > 1840 :info:build ^ > 1841 :info:build 2 errors generated. > 1842 :info:build make[4]: *** [viewinterface.lo] Error 1 > --- > I'd be very happy! :) Try if including "mymoneytransaction.h" and "mymoneysplit.h" in "viewinterface.h" makes a difference. After all, it complains about forward declarations which means these objects are not really known but the definition is needed. -- Regards Thomas Baumgart GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA ------------------------------------------------------------- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? -------------------------------------------------------------
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ KMyMoney-devel mailing list KMyMoney-devel@kde.org https://mail.kde.org/mailman/listinfo/kmymoney-devel