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

Replace make_shared with new in some cases #814

Merged
merged 2 commits into from
Sep 26, 2019
Merged

Replace make_shared with new in some cases #814

merged 2 commits into from
Sep 26, 2019

Conversation

stefan-floeren
Copy link
Contributor

@stefan-floeren stefan-floeren commented Apr 24, 2019

Follow up to #810, for develop branch.

Repeat issues for closing

Fixes #794
Fixes #808

Replace make_shared for asio types that take a lib::ref as a parameter.
This should fix the ASIO change (boostorg/asio@59066d8) for 1.70,
while keeping it backwards compatible to older boost versions.
@zaphoyd
Copy link
Owner

zaphoyd commented Apr 30, 2019

Thanks. I need a bit more time for testing, but at first glance I don't expect any issues with this. While I'd prefer to maintain the use of make_shared long term, this looks like a good solution for the moment to maintain compatibility with both new and old dependencies.

@tomkirkhawkeye
Copy link

Appreciate you are probably very busy, but is there any update on this? We are keen to move forward to Boost 1.70

clangen added a commit to clangen/musikcube that referenced this pull request Jun 17, 2019
@sbraz
Copy link

sbraz commented Jun 30, 2019

Hello @zaphoyd is there any chance to see this merged along with a new release?

@clangen
Copy link

clangen commented Jul 8, 2019

Manually applying this patch seems to work fine in my app, both when using Boost 1.70 and also earlier (1.6x) versions. It may be a good idea to try to merge this, as 1.70 is now the default version in Homebrew, so many mac apps using websocketcpp may stop compiling out of the box.

kraj added a commit to YoeDistro/meta-openembedded that referenced this pull request Aug 29, 2019
Patch is cherry-picked from
zaphoyd/websocketpp#814

Removed unused patches

Signed-off-by: Khem Raj <[email protected]>
halstead pushed a commit to openembedded/meta-openembedded that referenced this pull request Aug 29, 2019
Patch is cherry-picked from
zaphoyd/websocketpp#814

Removed unused patches

Signed-off-by: Khem Raj <[email protected]>
jpuhlman pushed a commit to MontaVista-OpenSourceTechnology/meta-openembedded that referenced this pull request Sep 5, 2019
Source: meta-openembedded
MR: 00000
Type: Integration
Disposition: Merged from meta-openembedded
ChangeID: 55dabe2
Description:

Patch is cherry-picked from
zaphoyd/websocketpp#814

Removed unused patches

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Jeremy Puhlman <[email protected]>
@Azreal
Copy link

Azreal commented Sep 23, 2019

@zaphoyd, can you merged this please? If you're busy or unavailable can you give someone else merge rights.

@niclar
Copy link

niclar commented Sep 24, 2019

Ping @zaphoyd, -its time to get a move on supporting boost 1.70+

@zaphoyd zaphoyd merged commit bc0dc57 into zaphoyd:develop Sep 26, 2019
@vanillycpp
Copy link

Teset on my working project by 2 weeks, works fine

jmarrec added a commit to jmarrec/conan-websocketpp that referenced this pull request Dec 17, 2019
@jmarrec
Copy link

jmarrec commented Dec 17, 2019

Hello @zaphoyd is there any chance to see this merged along with a new release?

👍 on this, is there any way to get a new release please? I had to fork conan-websocketpp to apply this as a patch, getting a new release would make things much easier (cf bincrafters/conan-websocketpp#5)

Croydon pushed a commit to bincrafters/conan-websocketpp that referenced this pull request Dec 17, 2019
@nisaobni
Copy link

boost incompatibility fix works for me, when is the fix expected to make it to master?

br101 pushed a commit to br101/packages that referenced this pull request Apr 16, 2020
Fix compilation for newer Boost versions, same as in the websocketpp 'develop'
branch: zaphoyd/websocketpp#814

Signed-off-by: Bruno Randolf <[email protected]>
br101 pushed a commit to br101/packages that referenced this pull request Apr 17, 2020
Fix compilation for newer Boost versions, same as in the websocketpp 'develop'
branch: zaphoyd/websocketpp#814

Signed-off-by: Bruno Randolf <[email protected]>
neheb pushed a commit to openwrt/packages that referenced this pull request Apr 17, 2020
Fix compilation for newer Boost versions, same as in the websocketpp 'develop'
branch: zaphoyd/websocketpp#814

Signed-off-by: Bruno Randolf <[email protected]>
(cherry picked from commit e1bb99f)
@atari83
Copy link

atari83 commented Apr 21, 2020

Sorry guys, can anybody explain to me how to use the head version of websocketpp to fix the building with boost 1.7 ?

I just cloned cpprestsdk and ran : "git submodule update --init" to fetch websocketpp but it seems to get the release version (not head). So what should i do to get the head version ?

Thanks,

@atari83
Copy link

atari83 commented Apr 21, 2020

Sorry guys, can anybody explain to me how to use the head version of websocketpp to fix the building with boost 1.7 ?

I just cloned cpprestsdk and ran : "git submodule update --init" to fetch websocketpp but it seems to get the release version (not head). So what should i do to get the head version ?

Thanks,

Ok, So i used: "git submodule update --init --recursive --remote". and it seems to be working :)

nmeyerhans pushed a commit to nmeyerhans/packages that referenced this pull request May 4, 2020
Fix compilation for newer Boost versions, same as in the websocketpp 'develop'
branch: zaphoyd/websocketpp#814

Signed-off-by: Bruno Randolf <[email protected]>
farmergreg pushed a commit to farmergreg/packages that referenced this pull request Sep 8, 2020
Fix compilation for newer Boost versions, same as in the websocketpp 'develop'
branch: zaphoyd/websocketpp#814

Signed-off-by: Bruno Randolf <[email protected]>
farmergreg pushed a commit to farmergreg/packages that referenced this pull request Sep 8, 2020
Fix compilation for newer Boost versions, same as in the websocketpp 'develop'
branch: zaphoyd/websocketpp#814

Signed-off-by: Bruno Randolf <[email protected]>
daregit pushed a commit to daregit/yocto-combined that referenced this pull request May 22, 2024
…boost 1.70+

Patch is cherry-picked from
zaphoyd/websocketpp#814

Removed unused patches

Signed-off-by: Khem Raj <[email protected]>
daregit pushed a commit to daregit/yocto-combined that referenced this pull request May 22, 2024
…boost 1.70+

Patch is cherry-picked from
zaphoyd/websocketpp#814

Removed unused patches

Signed-off-by: Khem Raj <[email protected]>
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.

None yet