[Xorp-users] Lastest xorp git fails to compile with g++ 6.0

Jose M Calhariz jose.calhariz at tecnico.ulisboa.pt
Tue Jul 5 11:43:47 PDT 2016


On Mon, Jun 27, 2016 at 01:16:40PM +0100, Jose M Calhariz wrote:
> 
> Debian is preparing for the future gcc/g++ 6.0.  I fetched the lastest
> xorp from git and done a compile with it.  There is new warnings and
> errors.  Because the build have failed I attach the log of the
> build.

Debian is going to ship gcc/g++ 6.x.  But xorp does not compile.  I
need help to fix the g++ error.  If not xorp will be dropped out of
next release of Debian.

The error is:

fea/data_plane/io/io_ip_socket.cc:2374:3: error: no match for
'operator<' (operand types are 'std::_Bind_helper<false, XorpFd&,
sockaddr*, long unsigned int>::type {aka std::_Bind<XorpFd(sockaddr*,
long unsigned int)>}' and 'int')
      if (bind(_proto_socket_out,
          ~~~~~~~~~~~~~~~~~~~~~~~
          reinterpret_cast<struct sockaddr*>(&sin),
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          sizeof(sin))
          ~~~~~~~~~~~~
  < 0) {
  ^~~
                                                      

For more information contact me, or see the attachment in the previous
email.

> 
> Kind regards
> Jose M Calhariz
> 
> 

Kind regards
Jose M Calhariz



> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users


-- 
--
	Uma autobiografia é um obituario em forma de seriado, ao
	qual falta o último capítulo.
		-- Quentin Crisp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20160705/6eb793c5/attachment.bin 


More information about the Xorp-users mailing list