Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./update #6

Open
SphereSK opened this issue Oct 5, 2019 · 2 comments
Open

./update #6

SphereSK opened this issue Oct 5, 2019 · 2 comments

Comments

@SphereSK
Copy link

SphereSK commented Oct 5, 2019

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

@lenelai
Copy link

lenelai commented Oct 6, 2019

You have newer GCC
you can try repair it to:

catch (SystemException &e)

@ondra-novak
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants