From 6fd295531d34a3f1df887200ad904321b6020ddd Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Wed, 4 Oct 2023 09:40:14 -0700 Subject: Update to boost 1.83.0 In boost 1.83.0, the boost::url maintainers deprecated the header only usage of the library without warning. A discussion with the maintainers[1] made it clear that they removed the abiliy on purpose, and they're not going to add it back or add a deprecation strategy (they did say they would update the documentation to actually match the intent), and that from here on in we should be using the cmake boost project to pull in the non-header-only boost libraries we use (which at this point is ONLY boost url). This commit updates to remove the usage of boost::urls::result typedef, which was deprecated in this release (which causes a compile error) and moves it to boost::system::result. In addition, it updates our meson files to pull in the boost project as a cmake dependency. [1] https://cpplang.slack.com/archives/C01JR6C9C4U/p1696441238739129 Tested: Not yet. Change-Id: Ia7adfc0348588915440687c3ab83a1de3e6b845a Signed-off-by: Ed Tanous --- test/http/utility_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/http/utility_test.cpp b/test/http/utility_test.cpp index cf83410707..cc21bbcf2f 100644 --- a/test/http/utility_test.cpp +++ b/test/http/utility_test.cpp @@ -83,7 +83,7 @@ TEST(Utility, Base64EncodeDecodeString) TEST(Utility, readUrlSegments) { - boost::urls::result parsed = + boost::system::result parsed = boost::urls::parse_relative_ref("/redfish/v1/Chassis#/Fans/0/Reading"); EXPECT_TRUE(readUrlSegments(*parsed, "redfish", "v1", "Chassis")); -- cgit v1.2.3