FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

make aborts on ubuntu

 
Post new topic   Reply to topic     Forum Index -> QtD
View previous topic :: View next topic  
Author Message
tulpe



Joined: 19 Jan 2007
Posts: 8

PostPosted: Fri Mar 15, 2013 5:02 pm    Post subject: make aborts on ubuntu Reply with quote

after applying the 64 bit patch from https://bitbucket.org/qtd/repo/issue/4/cmake-finding-dmd

make aborts with:

Code:

Scanning dependencies of target cpp_core
[  0%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/ArrayOps_shell.cpp.o
[  0%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QChildEvent_shell.cpp.o
[  0%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QCoreApplication_shell.cpp.o
[  0%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QEvent_shell.cpp.o
[  0%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QEventLoop_shell.cpp.o
[  1%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QObject_shell.cpp.o
[  1%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QTimerEvent_shell.cpp.o
[  1%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QTranslator_shell.cpp.o
[  1%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QByteArray_shell.cpp.o
[  1%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QLocale_shell.cpp.o
[  2%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QDataStream_shell.cpp.o
[  2%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QMimeData_shell.cpp.o
[  2%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QIODevice_shell.cpp.o
[  2%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QDateTime_shell.cpp.o
[  2%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QDate_shell.cpp.o
[  3%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QTime_shell.cpp.o
[  3%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QBitArray_shell.cpp.o
[  3%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QRegExp_shell.cpp.o
[  3%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QUrl_shell.cpp.o
[  3%] Building CXX object CMakeFiles/cpp_core.dir/cpp/qt_core/QAbstractItemModel_shell.cpp.o
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual QModelIndex QAbstractItemModel_QtDShell::buddy(const QModelIndex&) const’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:83:141: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual bool QAbstractItemModel_QtDShell::canFetchMore(const QModelIndex&) const’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:92:137: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual int QAbstractItemModel_QtDShell::columnCount(const QModelIndex&) const’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:105:136: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual QVariant QAbstractItemModel_QtDShell::data(const QModelIndex&, int) const’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:118:167: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual bool QAbstractItemModel_QtDShell::dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&)’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:126:233: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual void QAbstractItemModel_QtDShell::fetchMore(const QModelIndex&)’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:145:121: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual Qt::ItemFlags QAbstractItemModel_QtDShell::flags(const QModelIndex&) const’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:152:152: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual bool QAbstractItemModel_QtDShell::hasChildren(const QModelIndex&) const’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:159:136: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual QModelIndex QAbstractItemModel_QtDShell::index(int, int, const QModelIndex&) const’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:175:177: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual bool QAbstractItemModel_QtDShell::insertColumns(int, int, const QModelIndex&)’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:184:169: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual bool QAbstractItemModel_QtDShell::insertRows(int, int, const QModelIndex&)’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:191:163: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual QList<QModelIndex> QAbstractItemModel_QtDShell::match(const QModelIndex&, int, const QVariant&, int, Qt::MatchFlags) const’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:199:169: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual QModelIndex QAbstractItemModel_QtDShell::parent(const QModelIndex&) const’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:224:142: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual bool QAbstractItemModel_QtDShell::removeColumns(int, int, const QModelIndex&)’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:233:169: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual bool QAbstractItemModel_QtDShell::removeRows(int, int, const QModelIndex&)’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:240:163: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual int QAbstractItemModel_QtDShell::rowCount(const QModelIndex&) const’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:254:133: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual bool QAbstractItemModel_QtDShell::setData(const QModelIndex&, const QVariant&, int)’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:261:138: error: taking address of temporary [-fpermissive]
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp: In member function ‘virtual QSize QAbstractItemModel_QtDShell::span(const QModelIndex&) const’:
/home/tulpe/tmp/qtd/build_dir/build/cpp/qt_core/QAbstractItemModel_shell.cpp:283:140: error: taking address of temporary [-fpermissive]
make[5]: *** [CMakeFiles/cpp_core.dir/cpp/qt_core/QAbstractItemModel_shell.cpp.o] Error 1
make[4]: *** [CMakeFiles/cpp_core.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [main] Error 2
make[1]: *** [CMakeFiles/main.dir/all] Error 2
make: *** [all] Error 2


any ideas?
Back to top
View user's profile Send private message
michaelc97



Joined: 06 May 2007
Posts: 9

PostPosted: Sat Apr 06, 2013 8:04 pm    Post subject: Reply with quote

add -fpermissive to the cmake params
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> QtD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group