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

Fix build for c++ 20 #1060

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

andreazevedo
Copy link

No description provided.

@selevit
Copy link

selevit commented Sep 26, 2022

@zaphoyd, +1 for merging this.

@julienteisseire
Copy link

@zaphoyd do you plan to merge and create a new tag for that change ? Thank you in advance

@pajlada
Copy link

pajlada commented Dec 24, 2022

Just as a heads up, the https://github.com/zaphoyd/websocketpp/tree/develop branch already has this fix since 3197a52

@selevit
Copy link

selevit commented Dec 25, 2022

Cool, thanks.

Any thoughts, when this can be released and be available in conan center?

Ofk there is a way to use the develop branch as a submodule, but anyway, the released version would be even better :)

@pajlada
Copy link

pajlada commented Dec 25, 2022

@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

Sil3ntStorm added a commit to Sil3ntStorm/websocketpp that referenced this pull request Dec 28, 2022
@selevit
Copy link

selevit commented Jan 2, 2023

@pajlada oh, cool, thanks for the suggestion and the link

arnout pushed a commit to buildroot/buildroot that referenced this pull request Nov 4, 2023
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 <buildroot@heine.tech>
[Thomas: extend commit log with details provided by Michael.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
arnout pushed a commit to buildroot/buildroot that referenced this pull request Nov 8, 2023
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 <buildroot@heine.tech>
[Thomas: extend commit log with details provided by Michael.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 9ac1a76)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
arnout pushed a commit to buildroot/buildroot that referenced this pull request Nov 8, 2023
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 <buildroot@heine.tech>
[Thomas: extend commit log with details provided by Michael.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 9ac1a76)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
@mingzhizhiren
Copy link

what fuck this BUG?

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

Successfully merging this pull request may close these issues.

5 participants