← Back to team overview

kicad-developers team mailing list archive

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

 

Hi Michael,

I'm assuming this patch applies to both the master and 5.1 branches of
KiCad.  Would you please rebase this patch and resend it as an
attachment rather than an inline message.  It makes my life easier for
reviewing and applying the patch.

Thanks,

Wayne

On 10/23/19 12:26 PM, Michael Smith wrote:
> 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
> <mailto: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--
> 
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


References