{"push_id":2182429125,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"c75ceed4766c1c4cdcd7d2914db19061045ccaab","before":"b3768a639ba8fbfa796084fc4d0c3d969ab046df","commits":[{"sha":"c75ceed4766c1c4cdcd7d2914db19061045ccaab","author":{"name":"Andrey Utkin","email":"7172e6a39b17d6c7c60d52b673c009f6cdec9f17@fastmail.com"},"message":"Define 'foreach' in backends/libcommuni/session.cpp\n\nFixes compilation issue\n\n[ 64%] Building CXX object backends/libcommuni/CMakeFiles/spectrum2_libcommuni_backend.dir/session.cpp.o\ncd /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni && /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_FILESYSTEM_VERSION=3 -DDEBUG -DIRC_SHARED -DPURPLE_RUNTIME=0 -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_KEYWORDS -DSPECTRUM_VERSION=\\\"2.0.5-git-b15fcedf\\\" -DSUPPORT_LEGACY_CAPS -DWITH_LIBEVENT -DWITH_LOG4CXX -DWITH_PQXX -DWITH_PROTOBUF -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtCore -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -isystem /usr/include/qt4/QtNetwork -I/usr/include/qt4/Communi/IrcCore -I/usr/include/qt4/Communi/IrcUtil -I/usr/include/qt4/Communi/IrcModel -I/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/include -isystem /usr/share/qt4/mkspecs/default   -DBOOST_SIGNALS_NO_DEPRECATION_WARNING -O2 -pipe   -O0 -ggdb -o CMakeFiles/spectrum2_libcommuni_backend.dir/session.cpp.o -c /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp: In member function ‘void MyIrcSession::on_socketError(QAbstractSocket::SocketError)’:\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:208:22: error: expected primary-expression before ‘*’ token\n   foreach (IrcBuffer *buffer, m_bufferModel->buffers()) {\n\t\t      ^\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:208:23: error: ‘buffer’ was not declared in this scope\n   foreach (IrcBuffer *buffer, m_bufferModel->buffers()) {\n\t\t       ^~~~~~\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:208:23: note: suggested alternative:\nIn file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:22:0,\n\t\t from /usr/include/boost/asio/socket_acceptor_service.hpp:29,\n\t\t from /usr/include/boost/asio/basic_socket_acceptor.hpp:25,\n\t\t from /usr/include/boost/asio/ip/tcp.hpp:19,\n\t\t from /usr/include/Swiften/Network/HostAddressPort.h:9,\n\t\t from /usr/include/Swiften/Elements/S5BProxyRequest.h:22,\n\t\t from /usr/include/Swiften/Parser/PayloadParsers/S5BProxyRequestParser.h:18,\n\t\t from /usr/include/Swiften/Swiften.h:112,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.h:30,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:21:\n/usr/include/boost/asio/buffer.hpp:1231:24: note:   ‘boost::asio::buffer’\n inline const_buffers_1 buffer(\n\t\t\t^~~~~~\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:208:55: error: ‘foreach’ was not declared in this scope\n ch (IrcBuffer *buffer, m_bufferModel->buffers()) {\n\t\t\t\t\t\t^\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:208:55: note: suggested alternative:\nIn file included from /usr/include/boost/foreach.hpp:86:0,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/include/transport/Config.h:24,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/ircnetworkplugin.h:27,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:30:\n/usr/include/boost/foreach_fwd.hpp:26:11: note:   ‘boost::foreach’\n namespace foreach\n\t   ^~~~~~~\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp: In member function ‘void MyIrcSession::on_namesMessageReceived(IrcMessage*)’:\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:348:19: error: expected primary-expression before ‘*’ token\n  foreach (IrcUser *user, userModel->users()) {\n\t\t   ^\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:348:20: error: ‘user’ was not declared in this scope\n  foreach (IrcUser *user, userModel->users()) {\n\t\t    ^~~~\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:348:44: error: ‘foreach’ was not declared in this scope\n  foreach (IrcUser *user, userModel->users()) {\n\t\t\t\t\t    ^\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:348:44: note: suggested alternative:\nIn file included from /usr/include/boost/foreach.hpp:86:0,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/include/transport/Config.h:24,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/ircnetworkplugin.h:27,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:30:\n/usr/include/boost/foreach_fwd.hpp:26:11: note:   ‘boost::foreach’\n namespace foreach\n\t   ^~~~~~~\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp: In member function ‘void MyIrcSession::sendMessageToFrontend(const string&, const string&, const string&)’:\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:387:23: error: expected primary-expression before ‘*’ token\n    foreach (IrcBuffer *buffer, m_bufferModel->buffers()) {\n\t\t       ^\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:387:24: error: ‘buffer’ was not declared in this scope\n    foreach (IrcBuffer *buffer, m_bufferModel->buffers()) {\n\t\t\t^~~~~~\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:387:24: note: suggested alternative:\nIn file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:22:0,\n\t\t from /usr/include/boost/asio/socket_acceptor_service.hpp:29,\n\t\t from /usr/include/boost/asio/basic_socket_acceptor.hpp:25,\n\t\t from /usr/include/boost/asio/ip/tcp.hpp:19,\n\t\t from /usr/include/Swiften/Network/HostAddressPort.h:9,\n\t\t from /usr/include/Swiften/Elements/S5BProxyRequest.h:22,\n\t\t from /usr/include/Swiften/Parser/PayloadParsers/S5BProxyRequestParser.h:18,\n\t\t from /usr/include/Swiften/Swiften.h:112,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.h:30,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:21:\n/usr/include/boost/asio/buffer.hpp:1231:24: note:   ‘boost::asio::buffer’\n inline const_buffers_1 buffer(\n\t\t\t^~~~~~\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:387:56: error: ‘foreach’ was not declared in this scope\n ch (IrcBuffer *buffer, m_bufferModel->buffers()) {\n\t\t\t\t\t\t^\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:387:56: note: suggested alternative:\nIn file included from /usr/include/boost/foreach.hpp:86:0,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/include/transport/Config.h:24,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/ircnetworkplugin.h:27,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:30:\n/usr/include/boost/foreach_fwd.hpp:26:11: note:   ‘boost::foreach’\n namespace foreach\n\t   ^~~~~~~\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp: In member function ‘void MyIrcSession::on_numericMessageReceived(IrcMessage*)’:\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:465:23: error: expected primary-expression before ‘*’ token\n    foreach (IrcBuffer *buffer, m_bufferModel->buffers()) {\n\t\t       ^\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:465:24: error: ‘buffer’ was not declared in this scope\n    foreach (IrcBuffer *buffer, m_bufferModel->buffers()) {\n\t\t\t^~~~~~\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:465:24: note: suggested alternative:\nIn file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:22:0,\n\t\t from /usr/include/boost/asio/socket_acceptor_service.hpp:29,\n\t\t from /usr/include/boost/asio/basic_socket_acceptor.hpp:25,\n\t\t from /usr/include/boost/asio/ip/tcp.hpp:19,\n\t\t from /usr/include/Swiften/Network/HostAddressPort.h:9,\n\t\t from /usr/include/Swiften/Elements/S5BProxyRequest.h:22,\n\t\t from /usr/include/Swiften/Parser/PayloadParsers/S5BProxyRequestParser.h:18,\n\t\t from /usr/include/Swiften/Swiften.h:112,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.h:30,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:21:\n/usr/include/boost/asio/buffer.hpp:1231:24: note:   ‘boost::asio::buffer’\n inline const_buffers_1 buffer(\n\t\t\t^~~~~~\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:465:56: error: ‘foreach’ was not declared in this scope\n ch (IrcBuffer *buffer, m_bufferModel->buffers()) {\n\t\t\t\t\t\t^\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:465:56: note: suggested alternative:\nIn file included from /usr/include/boost/foreach.hpp:86:0,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/include/transport/Config.h:24,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/ircnetworkplugin.h:27,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:30:\n/usr/include/boost/foreach_fwd.hpp:26:11: note:   ‘boost::foreach’\n namespace foreach\n\t   ^~~~~~~\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:490:23: error: expected primary-expression before ‘*’ token\n    foreach (IrcBuffer *buffer, m_bufferModel->buffers()) {\n\t\t       ^\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp: In member function ‘void MyIrcSession::awayTimeout()’:\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:523:21: error: expected primary-expression before ‘*’ token\n  foreach (IrcBuffer *buffer, m_bufferModel->buffers()) {\n\t\t     ^\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:523:22: error: ‘buffer’ was not declared in this scope\n  foreach (IrcBuffer *buffer, m_bufferModel->buffers()) {\n\t\t      ^~~~~~\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:523:22: note: suggested alternative:\nIn file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:22:0,\n\t\t from /usr/include/boost/asio/socket_acceptor_service.hpp:29,\n\t\t from /usr/include/boost/asio/basic_socket_acceptor.hpp:25,\n\t\t from /usr/include/boost/asio/ip/tcp.hpp:19,\n\t\t from /usr/include/Swiften/Network/HostAddressPort.h:9,\n\t\t from /usr/include/Swiften/Elements/S5BProxyRequest.h:22,\n\t\t from /usr/include/Swiften/Parser/PayloadParsers/S5BProxyRequestParser.h:18,\n\t\t from /usr/include/Swiften/Swiften.h:112,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.h:30,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:21:\n/usr/include/boost/asio/buffer.hpp:1231:24: note:   ‘boost::asio::buffer’\n inline const_buffers_1 buffer(\n\t\t\t^~~~~~\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:523:54: error: ‘foreach’ was not declared in this scope\n ch (IrcBuffer *buffer, m_bufferModel->buffers()) {\n\t\t\t\t\t\t^\n/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:523:54: note: suggested alternative:\nIn file included from /usr/include/boost/foreach.hpp:86:0,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/include/transport/Config.h:24,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/ircnetworkplugin.h:27,\n\t\t from /var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999/backends/libcommuni/session.cpp:30:\n/usr/include/boost/foreach_fwd.hpp:26:11: note:   ‘boost::foreach’\n namespace foreach\n\t   ^~~~~~~\nmake[2]: *** [backends/libcommuni/CMakeFiles/spectrum2_libcommuni_backend.dir/build.make:126: backends/libcommuni/CMakeFiles/spectrum2_libcommuni_backend.dir/session.cpp.o] Error 1\nmake[2]: Leaving directory '/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999'\nmake[1]: *** [CMakeFiles/Makefile2:646: backends/libcommuni/CMakeFiles/spectrum2_libcommuni_backend.dir/all] Error 2\nmake[1]: Leaving directory '/var/tmp/portage/net-im/spectrum-9999/work/spectrum-9999'\nmake: *** [Makefile:152: all] Error 2","distinct":true,"url":"https://api.github.com/repos/decent-im/spectrum2/commits/c75ceed4766c1c4cdcd7d2914db19061045ccaab"}]}
{"actor":{"display_login":"andrey-utkin"}}