Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2012 19:52:25 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        Baptiste Daroussin <bapt@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: [FYI] C++ compilers vs. __cplusplus (was Re: SV: Re: make failed for editors/libreoffice)
Message-ID:  <5009EF39.6000406@FreeBSD.org>
In-Reply-To: <500861D6.1070001@FreeBSD.org>
References:  <vyh5gfyc7ro596rvdbv95tih.1342623265060@email.android.com> <5006F780.2020004@FreeBSD.org> <44k3y1ndlp.fsf@be-well.ilk.org> <50073701.80205@FreeBSD.org> <500747F2.8010900@FreeBSD.org> <500809DA.1030301@FreeBSD.org> <50084CFA.9090802@gmail.com> <50085B54.2040005@FreeBSD.org> <500861D6.1070001@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-07-19 15:36:54 -0400, Jung-uk Kim wrote:
> On 2012-07-19 15:09:08 -0400, Dimitry Andric wrote:
>> Btw, does anybody know *why* the LibreOffice port attempts to 
>> compile everything as C++0x or C++11?   Is it really using those 
>> features?
> 
> It is using some of its features, I guess:
> 
> ifeq ($(HAVE_CXX0X),TRUE) #Currently, as well as for its own
> merits, c++11/c++0x mode allows use to use #a template for
> SAL_N_ELEMENTS to detect at compiler time its misuse gb_CXXFLAGS +=
> -std=c++0x ...
> 
> I don't know the impact of turning it off, however.  Some time ago,
> I tried to forcefully turning it off but I wasn't able to make it
> work on all releases at the time.

More investigation showed that it was added because Boost 1.48 had
serious regression:

http://cgit.freedesktop.org/libreoffice/bootstrap/commit/?h=libreoffice-3-4&id=9c2ab9f4febec2b2c5fac25469f1d0cfedc6af5e

It seems to be related to this Boost issue:

https://svn.boost.org/trac/boost/ticket/6167

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAJ7zkACgkQmlay1b9qnVOZVgCghuywlMgsr7nTiGTpSwWJpquN
bL4AoJEs2L4wqSdlRsUps1vPvkX+TvrO
=5/X9
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5009EF39.6000406>