gnucash master: Fix a couple of build-breakages on Debian.

John Ralls jralls at code.gnucash.org
Thu Oct 9 12:43:04 EDT 2014


Updated	 via  https://github.com/Gnucash/gnucash/commit/bc2d15e0 (commit)
	from  https://github.com/Gnucash/gnucash/commit/c81eaae6 (commit)



commit bc2d15e042f956219fa14dc398d8cbf2930ddb96
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Oct 9 12:41:30 2014 -0700

    Fix a couple of build-breakages on Debian.

diff --git a/src/libqof/qof/kvp-value.cpp b/src/libqof/qof/kvp-value.cpp
index 771f0be..bbf6ccd 100644
--- a/src/libqof/qof/kvp-value.cpp
+++ b/src/libqof/qof/kvp-value.cpp
@@ -23,6 +23,7 @@
 #include <cmath>
 #include <sstream>
 #include <iomanip>
+#include <stdexcept>
 #include "kvp_frame-p.hpp"
 
 KvpValueImpl::KvpValueImpl(KvpValueImpl const & other) noexcept
diff --git a/src/libqof/qof/kvp-value.hpp b/src/libqof/qof/kvp-value.hpp
index e56a369..4c1b1ae 100644
--- a/src/libqof/qof/kvp-value.hpp
+++ b/src/libqof/qof/kvp-value.hpp
@@ -27,8 +27,10 @@ extern "C"
 #include "config.h"
 #include "qof.h"
 }
-
+#include <boost/version.hpp>
+#if BOOST_VERSION == 105600
 #include <boost/type_traits/is_nothrow_move_assignable.hpp>
+#endif
 #include <boost/variant.hpp>
 
 struct KvpValueImpl



Summary of changes:
 src/libqof/qof/kvp-value.cpp | 1 +
 src/libqof/qof/kvp-value.hpp | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list