[Xorp-hackers] 'unused parameter' error when build xorp on freebsd with --disable-ipv6

Mykola Dzham i at levsha.org.ua
Mon May 4 14:04:53 PDT 2009


Hi!
I try to build xorp-1.6 from ports on FreeBSD 8.0-CURRENT g++ (GCC)
4.2.1 20070719 and build stops:

/bin/sh ../../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..    -Wno-uninitialized -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT firewall_get_ipfw2.lo -MD -MP -MF .deps/firewall_get_ipfw2.Tpo -c -o firewall_get_ipfw2.lo firewall_get_ipfw2.cc
 c++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -Wno-uninitialized -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT firewall_get_ipfw2.lo -MD -MP -MF .deps/firewall_get_ipfw2.Tpo -c firewall_get_ipfw2.cc  -fPIC -DPIC -o .libs/firewall_get_ipfw2.o
cc1plus: warnings being treated as errors
firewall_get_ipfw2.cc:143: warning: unused parameter 'firewall_entry_list'

I writed patch (attached), that fix build, but i not tested xorp
working. Can anyone confirm build problem and test this patch?
 
-- 
Mykola Dzham, LEFT-(UANIC|RIPE)
JID: levsha at jabber.net.ua
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-no-ipv6-fw.patch
Type: text/x-diff
Size: 1185 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20090505/9c95fe64/attachment.bin 


More information about the Xorp-hackers mailing list