-
Notifications
You must be signed in to change notification settings - Fork 474
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
task
example in README.md
#107
Comments
I was about to open another issue, but perhaps it's better to follow up this one, as they might be two cases of outdated documentation. I'm new with coroutines and I'm learning by following the examples in the README.md page. This is the message (/usr/local/include/ is where I installed cppcoro, clang is 7.0.1 on Fedora Linux) clang++ -fcoroutines-ts -Wall -Wpedantic -Wextra -Wconversion -Weffc++ -std=c++2a -I /usr/local/include/ -stdlib=libc++ -c test.cpp
By inspecting the file it seems that the CPPCORO_OS_WINNT directive is closed too early. Is that OK? Is perhaps the example outdated and file_read_operation.hpp should never be used or am I missing something? Furthermore, the same error mentioned by @YehezkelShB happens to me, with message:
|
Linux isn't supported yet for all the I/O stuff anyway (see #15), but the |
Thanks. I didn't check the extension of Linux support. I guess I can wait a little bit more then... |
task<T>
example in README.md includes the following line:This doesn't compile and I can't even find a point in the git history that such a function existed.
I guess this example started before the API was final and before the introduction of
io_service
.The text was updated successfully, but these errors were encountered: