-
Notifications
You must be signed in to change notification settings - Fork 411
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
Experimental redirect error token not working with initiating functions #125
Comments
So @chriskohlhoff, I noticed something. You cast your error codes to Not very fun to debug but I'm incredibly pleased I was able to figure and I hope my struggles will be googled and found by some other poor soul. Also, the Asio need to reflect this at least. I mean, yeesh. |
@LeonineKing1199 Where are these error codes being cast, can you please provide a link? |
Hmm, I'm thinking about closing this issue as it might just be a defect in the WSL. For example, both wandbox.org and Compiler Explorer can compile the code in question with no issues. I also attempted with a local Linux server and compilation was successful as well. This leads me to believe that there's more or less an issue just on the WSL side. |
Please go through the appropriate Microsoft channels to inform them of this defect. |
If a user of Asio attempts to use a custom initiating function, it fails to compile when using the redirect error token type.
We can easily recreate this using Win10's Windows Subystem for Linux with clang-6.
Code:
Compile command:
Output:
The code compiles perfectly when using
token
in lieu oferror_token
.Is there a way to get this fixed? It makes using Asio's coros with Beast impossible or any other custom code.
The text was updated successfully, but these errors were encountered: