Re: buildworld error on -current

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Thu, 14 Nov 2013 13:51:59 +0100
On 14 Nov 2013, at 00:23, Nilton Jose Rizzo <rizzo_at_i805.com.br> wrote:
...
> ===> lib/libc++ (all)
> c++   -O2 -pipe -I/usr/src/lib/libc++/../../contrib/libc++/include -I/usr/src/li
> b/libc++/../../contrib/libcxxrt -nostdlib -DLIBCXXRT -Qunused-arguments -fstack-
> protector -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-un
> used-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion
> -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses
> -std=c++0x -Wno-c++11-extensions -c
> /usr/src/lib/libc++/../../contrib/libc++/src/algorithm.cpp -o algorithm.o
> In file included from
> /usr/src/lib/libc++/../../contrib/libc++/src/algorithm.cpp:10:
> In file included from
> /usr/src/lib/libc++/../../contrib/libc++/include/algorithm:627:
> /usr/src/lib/libc++/../../contrib/libc++/include/memory:3331:3: error: no
>      matching literal operator for call to 'operator "" __len' with argument of
>      type 'unsigned long long' or 'const char *', and no matching literal
>      operator template
> 0__len = (__len - 1) & ~static_cast<_Size>(63);
>  ^
> 1 error generated.

There is a stray '0' character in front of that line.  Did you modify
the file by accident?  Try doing:

svn revert -R /usr/src/contrib/libc++/include/memory

or if that still does not remove the stray character, delete your source
tree and re-checkout.

-Dimitry


Received on Thu Nov 14 2013 - 11:52:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC