Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 00:47:28 -0400
From:      Adam Stouffer <astouffer@adelphia.net>
To:        freebsd-alpha@freebsd.org
Subject:   compiler bugs?
Message-ID:  <4.3.2.7.2.20011024003858.00b43500@pop>

next in thread | raw e-mail | index | archive | help
I'm trying to get ipfilter compiled so this box can be made into a 
firewall. After getting the latest ipfilter sources (3.4.21) I follow the 
instructions and type 'make freebsd4' after a minute or so it stops with 
this error:

cc1: warnings being treated as errors
../../ip_auth.c: In function `fr_auth_ioctl':
../../ip_auth.c:344: warning: comparison is always false due to limited 
range of data type
*** Error code 1

Line 344 shows:

	if (cmd == SIOCRMAFR) {

After emailing Darren Reed he says its because of a compiler bug. Is this 
true? 4.4 release also ships with the same 2.95.3 version of gcc. Also why 
is ipfilter not included in the ports tree? Thanks.


Adam


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.7.2.20011024003858.00b43500>