Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2013 13:51:59 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Nilton Jose Rizzo <rizzo@i805.com.br>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: buildworld error on -current
Message-ID:  <F441EE6D-6EB9-490C-8904-E28D2F94D7AE@FreeBSD.org>
In-Reply-To: <20131113231748.M92739@i805.com.br>
References:  <20131113231748.M92739@i805.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_C939A203-2B8E-4278-BA67-741C694C3DAB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 14 Nov 2013, at 00:23, Nilton Jose Rizzo <rizzo@i805.com.br> wrote:
...
> =3D=3D=3D> 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=3Dc++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 =3D (__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


--Apple-Mail=_C939A203-2B8E-4278-BA67-741C694C3DAB
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlKEx3MACgkQsF6jCi4glqPAyACeNSFbcjDjeWZlWea0l9LZURR4
e+IAnRjVCgvjxSnsMygMAh3n3vKfoNfA
=7pMZ
-----END PGP SIGNATURE-----

--Apple-Mail=_C939A203-2B8E-4278-BA67-741C694C3DAB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F441EE6D-6EB9-490C-8904-E28D2F94D7AE>