← Back to team overview

kicad-developers team mailing list archive

[Patch] Fix "unit_test_utils" Build When Using Boost 1.59

 

Hi,

Below is a patch which fixes "unit_test_utils" build when using Boost 1.59 .

Best regards,
Michael

From d4764f49bd756f2b0cfa6bf529bc4179229f8f2d Mon Sep 17 00:00:00 2001
From: Michael Smith <michaelsmith.m@xxxxxxxxxxxxxx>
Date: Wed, 23 Oct 2019 16:50:54 +0200
Subject: [PATCH] Fixed an issue which prevented unit_test_utils from being
buildable with Boost 1.59
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------2.7.4"

This is a multi-part message in MIME format.
--------------2.7.4
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit

---
qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h | 1 +
1 file changed, 1 insertion(+)

--------------2.7.4
Content-Type: text/x-patch; name="0001-Fixed-an-issue-which-prevented-unit_test_utils-from-.patch"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="0001-Fixed-an-issue-which-prevented-unit_test_utils-from-.patch"

diff --git a/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h b/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h
index 08ae0b9..6f99dcb 100644
--- a/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h
+++ b/qa/unit_test_utils/include/unit_test_utils/unit_test_utils.h
@@ -26,6 +26,7 @@

#include <boost/test/test_case_template.hpp>
#include <boost/test/unit_test.hpp>
+#include <boost/version.hpp>

#include <unit_test_utils/wx_assert.h>

--------------2.7.4--

Follow ups