buildworld error on -current
Nilton Jose Rizzo
rizzo at i805.com.br
Thu Nov 14 19:36:15 UTC 2013
Em Thu, 14 Nov 2013 13:51:59 +0100, Dimitry Andric escreveu
> 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:
>
No, only update the source via svn
> 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.
I'll try it.
>
> -Dimitry
Thanx,
Rizzo
More information about the freebsd-current
mailing list