-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix build for c++ 20 #1060
base: master
Are you sure you want to change the base?
Fix build for c++ 20 #1060
Conversation
@zaphoyd, +1 for merging this. |
@zaphoyd do you plan to merge and create a new tag for that change ? Thank you in advance |
Just as a heads up, the https://github.com/zaphoyd/websocketpp/tree/develop branch already has this fix since 3197a52 |
Cool, thanks. Any thoughts, when this can be released and be available in conan center? Ofk there is a way to use the |
@selevit I think your best bet would be to submit a patch to the conan-center repo https://github.com/conan-io/conan-center-index/tree/master/recipes/websocketpp to fix builds for C++20 similar to how the vcpkg folks did it microsoft/vcpkg#23669 |
@pajlada oh, cool, thanks for the suggestion and the link |
websocketpp had some ill-formed usage of template parameters which was finally removed in C++20. Hence build fails when building with C++20 support enabled. The patch is already in the develop branch but no new release was done. There are no autobuilder failures because websocketpp is a header-only library, and there are no packages in Buildroot that depned on websocketpp. A build issue was encountered when bumping an internal project to C++20. This issue triggered quite some bug reports in the project [0] and there are backports to other package managers like vcpkg [1] and conan [2]. [0] zaphoyd/websocketpp#1060 [1] microsoft/vcpkg#23669 [2] conan-io/conan-center-index#15295 Signed-off-by: Michael Nosthoff <[email protected]> [Thomas: extend commit log with details provided by Michael.] Signed-off-by: Thomas Petazzoni <[email protected]>
websocketpp had some ill-formed usage of template parameters which was finally removed in C++20. Hence build fails when building with C++20 support enabled. The patch is already in the develop branch but no new release was done. There are no autobuilder failures because websocketpp is a header-only library, and there are no packages in Buildroot that depned on websocketpp. A build issue was encountered when bumping an internal project to C++20. This issue triggered quite some bug reports in the project [0] and there are backports to other package managers like vcpkg [1] and conan [2]. [0] zaphoyd/websocketpp#1060 [1] microsoft/vcpkg#23669 [2] conan-io/conan-center-index#15295 Signed-off-by: Michael Nosthoff <[email protected]> [Thomas: extend commit log with details provided by Michael.] Signed-off-by: Thomas Petazzoni <[email protected]> (cherry picked from commit 9ac1a76) Signed-off-by: Peter Korsgaard <[email protected]>
websocketpp had some ill-formed usage of template parameters which was finally removed in C++20. Hence build fails when building with C++20 support enabled. The patch is already in the develop branch but no new release was done. There are no autobuilder failures because websocketpp is a header-only library, and there are no packages in Buildroot that depned on websocketpp. A build issue was encountered when bumping an internal project to C++20. This issue triggered quite some bug reports in the project [0] and there are backports to other package managers like vcpkg [1] and conan [2]. [0] zaphoyd/websocketpp#1060 [1] microsoft/vcpkg#23669 [2] conan-io/conan-center-index#15295 Signed-off-by: Michael Nosthoff <[email protected]> [Thomas: extend commit log with details provided by Michael.] Signed-off-by: Thomas Petazzoni <[email protected]> (cherry picked from commit 9ac1a76) Signed-off-by: Peter Korsgaard <[email protected]>
what fuck this BUG? |
No description provided.