[Xorp-hackers] [greearb/xorp.ct] 3a12a5: netbsd: Fix sockutil.cc build on netbsd.
noreply at github.com
noreply at github.com
Thu Sep 29 10:45:56 PDT 2011
Branch: refs/heads/master
Home: https://github.com/greearb/xorp.ct
Commit: 3a12a5eebd295619b021f16b5f2b871fe232c690
https://github.com/greearb/xorp.ct/commit/3a12a5eebd295619b021f16b5f2b871fe232c690
Author: Ben Greear <greearb at candelatech.com>
Date: 2011-09-29 (Thu, 29 Sep 2011)
Changed paths:
M xorp/libxipc/sockutil.cc
Log Message:
-----------
netbsd: Fix sockutil.cc build on netbsd.
Error looks like:
g++ -o obj/x86_64-unknown-netbsd5.1./libxipc/sockutil.os -c -O1 -g3 -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -fPIC -DXRL_PF=120 -D_FORTIFY_SOURCE=0 -Iobj/x86_64-unknown-netbsd5.1. -I. -I. libxipc/sockutil.cc
cc1plus: warnings being treated as errors
libxipc/sockutil.cc: In function 'void get_active_ipv4_addrs(std::vector<IPv4, std::allocator<IPv4> >&)':
libxipc/sockutil.cc:311: warning: deleting 'void*' is undefined
libxipc/sockutil.cc:317: warning: deleting 'void*' is undefined
Use malloc/free instead of new/delete[]
Reported-by: Uwe <6bone at 6bone.informatik.uni-leipzig.de>
Original patch from: Joerg Sonnenberger <joerg at netbsd.org>
Signed-off-by: Ben Greear <greearb at candelatech.com>
Commit: 4265327f3754f1a470c8555dc19cbb744aa19ce2
https://github.com/greearb/xorp.ct/commit/4265327f3754f1a470c8555dc19cbb744aa19ce2
Author: Ben Greear <greearb at candelatech.com>
Date: 2011-09-29 (Thu, 29 Sep 2011)
Changed paths:
M xorp/fea/data_plane/control_socket/click_socket.cc
Log Message:
-----------
netbsd: Fix click mount command for netbsd.
This patch is from the netbsd project:
$NetBSD: patch-ab,v 1.9 2009/05/12 13:58:44 obache Exp $
Signed-off-by: Ben Greear <greearb at candelatech.com>
Commit: 8ca3b19e03c541e384a06a6c65a3dcfeda0726ea
https://github.com/greearb/xorp.ct/commit/8ca3b19e03c541e384a06a6c65a3dcfeda0726ea
Author: Ben Greear <greearb at candelatech.com>
Date: 2011-09-29 (Thu, 29 Sep 2011)
Changed paths:
M xorp/fea/data_plane/ifconfig/ifconfig_get_ioctl.cc
Log Message:
-----------
netbsd: Fix compile problem in ifconfig_get_ioctl.
This is another malloc/free v/s new/delete[] bugfix,
from the netbsd project:
$NetBSD: patch-ac,v 1.5 2009/05/12 13:58:44 obache Exp $
Signed-off-by: Ben Greear <greearb at candelatech.com>
Compare: https://github.com/greearb/xorp.ct/compare/a44ec46...8ca3b19
More information about the Xorp-hackers
mailing list