Page MenuHomeFreeBSD

Make yaml-cpp usable on HEAD by software that wants C++17.
ClosedPublic

Authored by ed on Sep 9 2017, 6:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 9 2024, 6:18 PM
Unknown Object (File)
Dec 7 2024, 9:33 PM
Unknown Object (File)
Nov 8 2024, 5:35 AM
Unknown Object (File)
Nov 7 2024, 2:58 PM
Unknown Object (File)
Nov 5 2024, 4:44 AM
Unknown Object (File)
Oct 4 2024, 1:29 AM
Unknown Object (File)
Oct 3 2024, 6:21 PM
Unknown Object (File)
Oct 2 2024, 6:28 PM
Subscribers
None

Details

Summary

yaml-cpp uses auto_ptr in a small number of places. This is problematic,
as libc++ 5.0.0 (used on HEAD) has auto_ptr disabled when building for
C++17. This causes the build for cloudabi-utils to fail on HEAD.

Instead of removing all of the use of auto_ptr from yaml-cpp, this
commit only changes public header files to make use of unique_ptr.

As I also ran into this issue for CloudABI, here's a bug report I filed
upstream a couple of weeks ago:

https://github.com/jbeder/yaml-cpp/issues/523

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ed retitled this revision from Make yaml-cpp on HEAD by software that wants C++17. to Make yaml-cpp usable on HEAD by software that wants C++17..Sep 9 2017, 7:08 AM
This revision is now accepted and ready to land.Sep 9 2017, 8:15 AM
This revision was automatically updated to reflect the committed changes.