Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 08/29/2013 09:56 AM, dk122@torfree.net wrote:
I am unable to build (after `make clean`) master 139a7d2 (pulled today
around 12:30 UTC). The messages are, line-wrapped for e-mail, ...

/home/terry/lo_hacking/git/libo2/workdir/unxlngi6/UnpackedTarball/
boost/boost/noncopyable.hpp:27:21:
error: ‘boost::noncopyable_::noncopyable::noncopyable()’ declared
with non-public access cannot be defaulted in the class body
/home/terry/lo_hacking/git/libo2/workdir/unxlngi6/UnpackedTarball/
boost/boost/noncopyable.hpp:28:22:
error: ‘boost::noncopyable_::noncopyable::~noncopyable()’
declared with non-public access cannot be defaulted in the class body

I have to suspect that this has something to do with commit 4910c54
"Update the bundled boost to 1.54" combined with the fact that I am
building on an old release, ubuntu-natty (11.04) 32-bit.

Suggestions welcome.

Try this change

diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index c9adf88..4b7e413 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -66,6 +66,7 @@ gb_CXXFLAGS_COMMON := \
-fmessage-length=0 \
-fno-common \
-pipe \
+ -DBOOST_NO_DEFAULTED_FUNCTIONS \

ifneq ($(HAVE_THREADSAFE_STATICS),TRUE)
gb_CXXFLAGS_COMMON += -fno-threadsafe-statics

I'm having the same issue on my machine running a slightly antiquated version of openSUSE (11.4), and this change fixes it for me.

Kohei

--
Kohei Yoshida, LibreOffice Calc hacker, SUSE.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.