ondra-novak / mmbot

Market Making trading bot for cryptomarkets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

./update

SphereSK opened this issue · comments

Hi Ondra,

during update it throw error:
Unpacking objects: 100% (82/82), done.
From https://github.com/ondra-novak/mmbot
3c5c035..f95a624 master -> origin/master
2dc22f9..f1b4107 webadmin -> origin/webadmin
Fetching submodule src/server
warning: redirecting to https://github.com/ondra-novak/simpleServer.git/
From https://www.github.com/ondra-novak/simpleServer
1d31cf1..a000398 master -> origin/master
Fetching submodule src/shared
warning: redirecting to https://github.com/ondra-novak/ondra_shared.git/
From https://www.github.com/ondra-novak/ondra_shared
1bf824d..2136311 master -> origin/master
Automatic merge went well; stopped before committing as requested
Submodule path 'src/shared': checked out '1bf824d8f5a7a2196ee380e9daa4e65435094008'
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mmbot
[ 1%] Building CXX object src/server/src/simpleServer/CMakeFiles/simpleServer.dir/linux/tcpStreamFactory.cpp.o
/home/mmbot/src/server/src/simpleServer/linux/tcpStreamFactory.cpp: In member function ‘virtual simpleServer::Stream simpleServer::TCPConnect::create()’:
/home/mmbot/src/server/src/simpleServer/linux/tcpStreamFactory.cpp:144:29: error: catching polymorphic type ‘class simpleServer::SystemException’ by value [-Werror=catch-value=]
} catch (SystemException e) {
^
cc1plus: all warnings being treated as errors
make[2]: *** [src/server/src/simpleServer/CMakeFiles/simpleServer.dir/build.make:336: src/server/src/simpleServer/CMakeFiles/simpleServer.dir/linux/tcpStreamFactory.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:141: src/server/src/simpleServer/CMakeFiles/simpleServer.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

You have newer GCC
you can try repair it to:

catch (SystemException &e)

Master version compiled in clang++ 6.0.0 and gcc 7+ and both compiled without errors and warning. Please try latest master

Note that version 2.0 is out, a it is a lot of different.