Created attachment 203688 [details] patch Add -Wno-error=strict-prototypes to fix build with GCC: cc1: warnings being treated as errors ndproxy.c:92: warning: function declaration isn't a prototype [-Wstrict-prototypes] ndproxy.c:116: warning: function declaration isn't a prototype [-Wstrict-prototypes] Tested on powerpc64 and amd64.
Comment on attachment 203688 [details] patch These are two static functions without arguments, these warnings have no impact. Thanks.
A commit references this bug: Author: pkubaj Date: Tue Apr 30 13:53:23 UTC 2019 New revision: 500492 URL: https://svnweb.freebsd.org/changeset/ports/500492 Log: net/ndproxy: add -Wno-error=strict-prototypes to CFLAGS when using GCC This is needed to fix build: ndproxy.c:51: function declaration isn't a prototype PR: 237296 Approved by: fbsd.bugzilla@fenyo.net (maintainer), mat (mentor) Differential Revision: https://reviews.freebsd.org/D20013 Changes: head/net/ndproxy/Makefile