Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2012 22:38:22 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        "stable@freebsd.org" <stable@FreeBSD.org>, David Chisnall <theraven@FreeBSD.org>
Subject:   Re: -stdlib=libc++ fails for some ports
Message-ID:  <50B7D5CE.4080307@FreeBSD.org>
In-Reply-To: <50B73C1D.7070709@FreeBSD.org>
References:  <50B731FC.5090301@gmail.com> <50B73C1D.7070709@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-11-29 11:42, Dimitry Andric wrote:
> On 2012-11-29 10:59, Volodymyr Kostyrko wrote:
>> When compiling databases/db5 with CFLAGS+= -stdlib=libc++ I got this:
...
>> /usr/include/c++/v1/cstddef:64:61: error: expected class member or base
>> class name
>>        _LIBCPP_ALWAYS_INLINE _LIBCPP_CONSTEXPR nullptr_t() : _(0) {}
>>                                                                ^
>> ./db_int.h:445:16: note: expanded from macro '_'
>> #define _(msg)  msg     /* Replace with localization function. */
>>                    ^
>>
>> The problem is actually on libc++ side and has been fixed upstream:
>>
>> http://llvm.org/viewvc/llvm-project?view=rev&revision=167038
>
> Yes, David imported a new libc++ snapshot, including this fix, into head
> in r242945.  He did not set an MFC period at the time, so I am not sure
> what his plans are. :-)

I merged the snapshot to stable/9 in r243683.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50B7D5CE.4080307>