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

compile error #20

Open
wwd2018 opened this issue Nov 3, 2021 · 1 comment
Open

compile error #20

wwd2018 opened this issue Nov 3, 2021 · 1 comment

Comments

@wwd2018
Copy link

wwd2018 commented Nov 3, 2021

Hi, kashimAstro

please check your update for solve the Issue #10

g++ -Wall -o server server.cpp -I../src/ ../src/TCPServer.cpp ../src/TCPClient.cpp -std=c++11 -lpthread
server.cpp: In function ‘void* received(void*)’:
server.cpp:53:13: error: could not convert ‘desc’ from ‘std::vector<descript_socket*>’ to ‘bool’
if( desc )
^
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 1

Thanks
@kashimAstro

@TomwKang
Copy link

I think it should be "desc[i]".

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

2 participants