-
uWS::SSLApp({ 1>------ Build started: Project: ConsoleApplication1, Configuration: Debug Win32 ------ |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
I built uwebsockets with vcpkg:vcpkg install uwebsockets |
Beta Was this translation helpful? Give feedback.
-
You need to enable C++17, this project is using modern C++ features |
Beta Was this translation helpful? Give feedback.
-
I got that errors while I compiled it with C++17.(ISO C++17 Standard (/std:c++17)) |
Beta Was this translation helpful? Give feedback.
-
Using the { .field = ... } notation is a C++20 feature, not C++17... If you could please stick to pure C++17 (which I'm just about to be able to use at work...), PS: See https://en.cppreference.com/w/cpp/language/aggregate_initialization |
Beta Was this translation helpful? Give feedback.
-
Ah, right. But you don't have to use it, you can construct that structure in old style and pass it in. |
Beta Was this translation helpful? Give feedback.
Using the { .field = ... } notation is a C++20 feature, not C++17...
If you could please stick to pure C++17 (which I'm just about to be able to use at work...),
that would be great Alex. My $0.02... --DD
PS: See https://en.cppreference.com/w/cpp/language/aggregate_initialization
PPS: C++20 is not even officially out yet.