Re: buildworld error on -current

2013-11-14 Thread Dimitry Andric
On 14 Nov 2013, at 00:23, Nilton Jose Rizzo ri...@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



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: buildworld error on -current

2013-11-14 Thread Nilton Jose Rizzo
Em Thu, 14 Nov 2013 13:51:59 +0100, Dimitry Andric escreveu
 On 14 Nov 2013, at 00:23, Nilton Jose Rizzo ri...@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
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org