Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
[ 2%] /bin/sh: warning: setlocale: LC_ALL: cannot change locale (pl_PL) Building CXX object kadu-core/CMakeFiles/kadu.dir/main.cpp.o /bin/sh: warning: setlocale: LC_ALL: cannot change locale (pl_PL) In file included from /usr/include/QtCore/qdir.h:45, from /usr/include/QtCore/QDir:1, from /home/sebcioz/kadu/kadu/kadu-core/main.cpp:10: /usr/include/QtCore/qstring.h:60:22: string: No such file or directory In file included from /usr/include/QtCore/qdir.h:45, from /usr/include/QtCore/QDir:1, from /home/sebcioz/kadu/kadu/kadu-core/main.cpp:10: /usr/include/QtCore/qstring.h:65: error: expected initializer before '<' token /usr/include/QtCore/qstring.h:478: error: expected unqualified-id before '&' token /usr/include/QtCore/qstring.h:478: error: expected `,' or `...' before '&' token /usr/include/QtCore/qstring.h:479: error: invalid use of `::' /usr/include/QtCore/qstring.h:479: error: `string' declared as an `inline' field /usr/include/QtCore/qstring.h:479: error: expected `;' before "toStdString" /usr/include/QtCore/qstring.h:485: error: expected `,' or `...' before '&' token /usr/include/QtCore/qstring.h:486: error: `QStdWString' does not name a type /usr/include/QtCore/qstring.h:1033: error: expected initializer before "QString" /usr/include/QtCore/qstring.h:1036: error: expected unqualified-id before '&' token /usr/include/QtCore/qstring.h:1036: error: expected `,' or `...' before '&' token /usr/include/QtCore/qstring.h: In static member function `static QString QString::fromStdString(int)': /usr/include/QtCore/qstring.h:1037: error: `s' was not declared in this scope /usr/include/QtCore/qstring.h: At global scope: /usr/include/QtCore/qstring.h:1040: error: `QStdWString' does not name a type /usr/include/QtCore/qstring.h:1054: error: expected `,' or `...' before '&' token /usr/include/QtCore/qstring.h: In static member function `static QString QString::fromStdWString(int)': /usr/include/QtCore/qstring.h:1055: error: `s' was not declared in this scope In file included from /usr/include/QtCore/qobject.h:50, from /usr/include/QtCore/qiodevice.h:46, from /usr/include/QtCore/qfile.h:45, from /usr/include/QtCore/qfileinfo.h:45, from /usr/include/QtCore/qdir.h:46, from /usr/include/QtCore/QDir:1, from /home/sebcioz/kadu/kadu/kadu-core/main.cpp:10: /usr/include/QtCore/qlist.h:50:20: iterator: No such file or directory /usr/include/QtCore/qlist.h:51:16: list: No such file or directory /usr/include/QtCore/qlist.h:54:15: new: No such file or directory In file included from /usr/include/QtCore/qobject.h:50, from /usr/include/QtCore/qiodevice.h:46, from /usr/include/QtCore/qfile.h:45, from /usr/include/QtCore/qfileinfo.h:45, from /usr/include/QtCore/qdir.h:46, from /usr/include/QtCore/QDir:1, from /home/sebcioz/kadu/kadu/kadu-core/main.cpp:10: /usr/include/QtCore/qlist.h: At global scope: /usr/include/QtCore/qlist.h:326: error: expected unqualified-id before '<' token /usr/include/QtCore/qlist.h:326: error: expected `,' or `...' before '<' token /usr/include/QtCore/qlist.h:328: error: invalid use of `::' /usr/include/QtCore/qlist.h:328: error: `list' declared as an `inline' field /usr/include/QtCore/qlist.h:328: error: expected `;' before '<' token /usr/include/QtCore/qlist.h:332: error: expected `;' before "private" /usr/include/QtCore/qlist.h: In static member function `static QList<T> QList<T>::fromStdList(int)': /usr/include/QtCore/qlist.h:327: error: `list' was not declared in this scope /usr/include/QtCore/qlist.h:327: error: `back_inserter' is not a member of `std' In file included from /usr/include/QtGui/qpolygon.h:45, from /usr/include/QtGui/qmatrix.h:45, from /usr/include/QtGui/qtransform.h:44, from /usr/include/QtGui/qimage.h:45, from /usr/include/QtGui/qpixmap.h:50, from /usr/include/QtGui/QPixmap:1, from /home/sebcioz/kadu/kadu/kadu-core/chat/chat-shared.h:13, from /home/sebcioz/kadu/kadu/kadu-core/chat/chat.h:13, from /home/sebcioz/kadu/kadu/kadu-core/core/core.h:16, from /home/sebcioz/kadu/kadu/kadu-core/main.cpp:35: /usr/include/QtCore/qvector.h:52:18: vector: No such file or directory In file included from /usr/include/QtGui/qpolygon.h:45, from /usr/include/QtGui/qmatrix.h:45, from /usr/include/QtGui/qtransform.h:44, from /usr/include/QtGui/qimage.h:45, from /usr/include/QtGui/qpixmap.h:50, from /usr/include/QtGui/QPixmap:1, from /home/sebcioz/kadu/kadu/kadu-core/chat/chat-shared.h:13, from /home/sebcioz/kadu/kadu/kadu-core/chat/chat.h:13, from /home/sebcioz/kadu/kadu/kadu-core/core/core.h:16, from /home/sebcioz/kadu/kadu/kadu-core/main.cpp:35: /usr/include/QtCore/qvector.h: At global scope: /usr/include/QtCore/qvector.h:294: error: expected unqualified-id before '<' token /usr/include/QtCore/qvector.h:294: error: expected `,' or `...' before '<' token /usr/include/QtCore/qvector.h:296: error: invalid use of `::' /usr/include/QtCore/qvector.h:296: error: `vector' declared as an `inline' field /usr/include/QtCore/qvector.h:296: error: expected `;' before '<' token /usr/include/QtCore/qvector.h:300: error: expected `;' before "private" /usr/include/QtCore/qvector.h: In static member function `static QVector<T> QVector<T>::fromStdVector(int)': /usr/include/QtCore/qvector.h:295: error: `vector' was not declared in this scope /usr/include/QtCore/qvector.h:295: error: `back_inserter' is not a member of `std' /usr/include/QtCore/qvector.h: In member function `void QVector<T>::realloc(int, int)': /usr/include/QtCore/qvector.h:482: error: expected unqualified-id before '&' token /usr/include/QtCore/qvector.h:482: error: expected `)' before '&' token /usr/include/QtCore/qvector.h:482: error: expected `{' before '&' token /usr/include/QtCore/qvector.h:482: error: expected primary-expression before ')' token /usr/include/QtCore/qvector.h:482: error: expected `;' before ')' token In file included from /usr/include/QtCore/qdebug.h:46, from /usr/include/QtNetwork/qabstractsocket.h:48, from /usr/include/QtNetwork/qhostaddress.h:48, from /usr/include/QtNetwork/QHostAddress:1, from /home/sebcioz/kadu/kadu/kadu-core/accounts/account-shared.h:16, from /home/sebcioz/kadu/kadu/kadu-core/accounts/account.h:16, from /home/sebcioz/kadu/kadu/kadu-core/chat/chat-shared.h:15, from /home/sebcioz/kadu/kadu/kadu-core/chat/chat.h:13, from /home/sebcioz/kadu/kadu/kadu-core/core/core.h:16, from /home/sebcioz/kadu/kadu/kadu-core/main.cpp:35: /usr/include/QtCore/qhash.h: In member function `void QHashData::hasShrunk()': /usr/include/QtCore/qhash.h:175: error: expected unqualified-id before '&' token /usr/include/QtCore/qhash.h:175: error: expected `)' before '&' token /usr/include/QtCore/qhash.h:175: error: expected `{' before '&' token /usr/include/QtCore/qhash.h:175: error: expected primary-expression before ')' token /usr/include/QtCore/qhash.h:175: error: expected `;' before ')' token In file included from /usr/include/QtCore/qdebug.h:48, from /usr/include/QtNetwork/qabstractsocket.h:48, from /usr/include/QtNetwork/qhostaddress.h:48, from /usr/include/QtNetwork/QHostAddress:1, from /home/sebcioz/kadu/kadu/kadu-core/accounts/account-shared.h:16, from /home/sebcioz/kadu/kadu/kadu-core/accounts/account.h:16, from /home/sebcioz/kadu/kadu/kadu-core/chat/chat-shared.h:15, from /home/sebcioz/kadu/kadu/kadu-core/chat/chat.h:13, from /home/sebcioz/kadu/kadu/kadu-core/core/core.h:16, from /home/sebcioz/kadu/kadu/kadu-core/main.cpp:35: /usr/include/QtCore/qmap.h:50:15: map: No such file or directory In file included from /usr/include/QtCore/qdebug.h:48, from /usr/include/QtNetwork/qabstractsocket.h:48, from /usr/include/QtNetwork/qhostaddress.h:48, from /usr/include/QtNetwork/QHostAddress:1, from /home/sebcioz/kadu/kadu/kadu-core/accounts/account-shared.h:16, from /home/sebcioz/kadu/kadu/kadu-core/accounts/account.h:16, from /home/sebcioz/kadu/kadu/kadu-core/chat/chat-shared.h:15, from /home/sebcioz/kadu/kadu/kadu-core/chat/chat.h:13, from /home/sebcioz/kadu/kadu/kadu-core/core/core.h:16, from /home/sebcioz/kadu/kadu/kadu-core/main.cpp:35: /usr/include/QtCore/qmap.h: At global scope: /usr/include/QtCore/qmap.h:171: error: expected `,' or `...' before '<' token /usr/include/QtCore/qmap.h:172: error: using-declaration for non-member at class scope /usr/include/QtCore/qmap.h:172: error: expected `;' before '<' token /usr/include/QtCore/qmap.h:917: error: expected unqualified-id before '<' token /usr/include/QtCore/qmap.h:917: error: expected `,' or `...' before '<' token /usr/include/QtCore/qmap.h: In constructor `QMap<Key, T>::QMap(int)': /usr/include/QtCore/qmap.h:921: error: expected unqualified-id before '<' token /usr/include/QtCore/qmap.h:922: error: `it' was not declared in this scope /usr/include/QtCore/qmap.h:922: error: `other' was not declared in this scope /usr/include/QtCore/qmap.h: At global scope: /usr/include/QtCore/qmap.h:930: error: expected constructor, destructor, or type conversion before '<' token In file included from /usr/include/QtNetwork/qabstractsocket.h:48, from /usr/include/QtNetwork/qhostaddress.h:48, from /usr/include/QtNetwork/QHostAddress:1, from /home/sebcioz/kadu/kadu/kadu-core/accounts/account-shared.h:16, from /home/sebcioz/kadu/kadu/kadu-core/accounts/account.h:16, from /home/sebcioz/kadu/kadu/kadu-core/chat/chat-shared.h:15, from /home/sebcioz/kadu/kadu/kadu-core/chat/chat.h:13, from /home/sebcioz/kadu/kadu/kadu-core/core/core.h:16, from /home/sebcioz/kadu/kadu/kadu-core/main.cpp:35: /usr/include/QtCore/qdebug.h: In destructor `QDebug::~QDebug()': /usr/include/QtCore/qdebug.h:86: error: `std::bad_alloc' has not been declared /usr/include/QtCore/qdebug.h:86: error: invalid catch parameter /home/sebcioz/kadu/kadu/kadu-core/main.cpp: In function `int main(int, char**)': /home/sebcioz/kadu/kadu/kadu-core/main.cpp:346: error: `getuid' was not declared in this scope /home/sebcioz/kadu/kadu/kadu-core/main.cpp:379: error: `sleep' was not declared in this scope /home/sebcioz/kadu/kadu/kadu-core/main.cpp:436: error: `geteuid' was not declared in this scope /usr/include/QtCore/qvector.h: In constructor `QVector<T>::QVector(int) [with T = QPoint]': /usr/include/QtGui/qpolygon.h:97: instantiated from here /usr/include/QtCore/qvector.h:408: error: no matching function for call to `operator new(unsigned int, QPoint*&)' <internal>:0: note: candidates are: void* operator new(unsigned int) /usr/include/QtCore/qvector.h: In constructor `QVector<T>::QVector(int) [with T = QPointF]': /usr/include/QtGui/qpolygon.h:162: instantiated from here /usr/include/QtCore/qvector.h:408: error: no matching function for call to `operator new(unsigned int, QPointF*&)' <internal>:0: note: candidates are: void* operator new(unsigned int) /usr/include/QtCore/qlist.h: In member function `void QList<T>::node_construct(QList<T>::Node*, const T&) [with T = QString]': /usr/include/QtCore/qlist.h:472: instantiated from `void QList<T>::append(const T&) [with T = QString]' /usr/include/QtCore/qstringlist.h:70: instantiated from here /usr/include/QtCore/qlist.h:352: error: no matching function for call to `operator new(unsigned int, QList<QString>::Node*&)' <internal>:0: note: candidates are: void* operator new(unsigned int) /usr/include/QtCore/qlist.h: In member function `void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, QList<T>::Node*) [with T = QString]': /usr/include/QtCore/qlist.h:706: instantiated from `QList<T>& QList<T>::operator+=(const QList<T>&) [with T = QString]' /usr/include/QtCore/qstringlist.h:85: instantiated from here /usr/include/QtCore/qlist.h:383: error: no matching function for call to `operator new(unsigned int, QList<QString>::Node*&)' <internal>:0: note: candidates are: void* operator new(unsigned int) /usr/include/QtCore/qvector.h: In member function `void QVector<T>::realloc(int, int) [with T = QPoint]': /usr/include/QtCore/qvector.h:324: instantiated from `void QVector<T>::detach_helper() [with T = QPoint]' /usr/include/QtCore/qvector.h:118: instantiated from `QVector<T>::QVector(const QVector<T>&) [with T = QPoint]' /usr/include/QtGui/qpolygon.h:66: instantiated from here /usr/include/QtCore/qvector.h:500: error: no matching function for call to `operator new(unsigned int, QPoint*)' <internal>:0: note: candidates are: void* operator new(unsigned int) /usr/include/QtCore/qvector.h:505: error: no matching function for call to `operator new(unsigned int, QPoint*)' <internal>:0: note: candidates are: void* operator new(unsigned int) /usr/include/QtCore/qvector.h: In member function `void QVector<T>::realloc(int, int) [with T = QPointF]': /usr/include/QtCore/qvector.h:324: instantiated from `void QVector<T>::detach_helper() [with T = QPointF]' /usr/include/QtCore/qvector.h:118: instantiated from `QVector<T>::QVector(const QVector<T>&) [with T = QPointF]' /usr/include/QtGui/qpolygon.h:138: instantiated from here /usr/include/QtCore/qvector.h:500: error: no matching function for call to `operator new(unsigned int, QPointF*)' <internal>:0: note: candidates are: void* operator new(unsigned int) /usr/include/QtCore/qvector.h:505: error: no matching function for call to `operator new(unsigned int, QPointF*)' <internal>:0: note: candidates are: void* operator new(unsigned int) /usr/include/QtCore/qlist.h: In member function `void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, QList<T>::Node*) [with T = ProtocolFactory*]': /usr/include/QtCore/qlist.h:606: instantiated from `void QList<T>::detach_helper() [with T = ProtocolFactory*]' /usr/include/QtCore/qlist.h:114: instantiated from `QList<T>::QList(const QList<T>&) [with T = ProtocolFactory*]' /home/sebcioz/kadu/kadu/kadu-core/protocols/protocols-manager.h:29: instantiated from here /usr/include/QtCore/qlist.h:383: error: no matching function for call to `operator new(unsigned int, QList<ProtocolFactory*>::Node*&)' <internal>:0: note: candidates are: void* operator new(unsigned int) /usr/include/QtCore/qvector.h: In member function `void QVector<T>::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/QtCore/qvector.h:324: instantiated from `void QVector<T>::detach_helper() [with T = QPainterPath::Element]' /usr/include/QtCore/qvector.h:134: instantiated from `void QVector<T>::detach() [with T = QPainterPath::Element]' /usr/include/QtCore/qvector.h:233: instantiated from `T* QVector<T>::begin() [with T = QPainterPath::Element]' /usr/include/QtCore/qvector.h:246: instantiated from `T& QVector<T>::first() [with T = QPainterPath::Element]' /usr/include/QtGui/qpainterpath.h:387: instantiated from here /usr/include/QtCore/qvector.h:500: error: no matching function for call to `operator new(unsigned int, QPainterPath::Element*)' <internal>:0: note: candidates are: void* operator new(unsigned int) /usr/include/QtCore/qvector.h:505: error: no matching function for call to `operator new(unsigned int, QPainterPath::Element*)' <internal>:0: note: candidates are: void* operator new(unsigned int) make[2]: *** [kadu-core/CMakeFiles/kadu.dir/main.cpp.o] Error 1 make[1]: *** [kadu-core/CMakeFiles/kadu.dir/all] Error 2 make: *** [all] Error 2 Instalacja nie powiod�a si� (na etapie make)
This paste will be private.
From the Design Piracy series on my blog: