[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmymoney-devel
Subject:    [Kmymoney-devel] kmymoney 1.0.5 building with clang fails
From:       mk-lists () email ! de
Date:       2012-11-28 8:01:11
Message-ID: DA0AFBB4-87A6-4C9B-A19C-4C2DE57A58BB () email ! de
[Download RAW message or body]

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! :)

Thanks,
Marko

[1] https://trac.macports.org/ticket/37144
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic