Build failure on PowerPC in pf

看板FB_current作者時間12年前 (2014/02/27 03:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/7 (看更多)
Building on PowerPC I see the following failure: cc1: warnings being treated as errors /home/chmeee/freebsd/head/sys/modules/pf/../../netpfil/pf/pf_ioctl.c: In function 'pfioctl': /home/chmeee/freebsd/head/sys/modules/pf/../../netpfil/pf/pf_ioctl.c:1357:warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/chmeee/freebsd/head/sys/modules/pf/../../netpfil/pf/pf_ioctl.c:1359:warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/chmeee/freebsd/head/sys/modules/pf/../../netpfil/pf/pf_ioctl.c:1361:warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] struct pf_rule has counter_u64_t entries, which are actually pointers to uint64_t's. These pointers get assigned from the result of counter_u64_fetch(), which returns a uint64_t. Looks to me like there's a bug in here, but I have no idea what to do to fix it. And I'm surprised this hasn't been reported against other 32-bit architectures. - Justin _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1J3Zdmi9 (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1J3Zdmi9 (FB_current)