[Buildroot] [PATCH] package/websocketpp: fix build with C++20

Michael Nosthoff buildroot at heine.tech
Fri Nov 3 20:54:36 UTC 2023


Hi Thomas,

On Friday, November 03, 2023 20:31 CET, Thomas Petazzoni <thomas.petazzoni at bootlin.com> wrote:

> On Fri,  3 Nov 2023 12:16:12 +0100
> Michael Nosthoff via buildroot <buildroot at buildroot.org> wrote:
> 

> 
> Since there are no autobuilder failures for this, could you provide a
> defconfig that reproduces the build issue?

Since this is a Header Only Lib and we only have one other package
depending on it I don't think there is a defconfig which provokes this.

I stumbled across this issue when I started 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].

So, as buildroot is in this case also more or less acting like a package manager
when generating the SDK I thought it makes sense to apply this patch here as well.

Regards,
Michael

[0] https://github.com/zaphoyd/websocketpp/pull/1060
[1] https://github.com/microsoft/vcpkg/pull/23669
[2] https://github.com/conan-io/conan-center-index/pull/15295

> 
> Best regards,
> 
> Thomas
> -- 
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com




More information about the buildroot mailing list