/usr/local/include/readline/rltypedefs.h:35:22: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] typedef int Function () __attribute__ ((deprecated)); ^ void /usr/local/include/readline/rltypedefs.h:36:24: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] typedef void VFunction () __attribute__ ((deprecated)); ^ void /usr/local/include/readline/rltypedefs.h:37:26: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] typedef char *CPFunction () __attribute__ ((deprecated)); ^ void /usr/local/include/readline/rltypedefs.h:38:28: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] typedef char **CPPFunction () __attribute__ ((deprecated)); ^ void /usr/local/include/readline/readline.h:385:23: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] extern int rl_message (); ^ void build log: http://sprunge.us/IECJ regressed by: https://github.com/llvm-mirror/clang/commit/162749f9c543
So actually this is something the readline port, since the complaints are about its headers. Either we can disable -Wstrict-prototypes for this port to work around it, or we can fix the prototypes in the readline port.
A commit references this bug: Author: jbeich Date: Sat Jan 21 04:39:52 UTC 2017 New revision: 432012 URL: https://svnweb.freebsd.org/changeset/ports/432012 Log: net-im/folks: ignore warnings in system headers Pass -isystem to avoid adding -Wno-foo each time Clang bumps into an issue with a header from another port. PR: 216031 Changes: head/net-im/folks/Makefile
https://wiki.freebsd.org/WarnerLosh/UsrLocal where -I/usr/local/include vs. -isystem/usr/local/include is the legacy for crippling the compiler.
A commit references this bug: Author: jbeich Date: Sat Jan 21 04:51:17 UTC 2017 New revision: 432014 URL: https://svnweb.freebsd.org/changeset/ports/432014 Log: MFH: r432012 net-im/folks: ignore warnings in system headers Pass -isystem to avoid adding -Wno-foo each time Clang bumps into an issue with a header from another port. PR: 216031 Approved by: ports-secteam blanket Changes: _U branches/2017Q1/ branches/2017Q1/net-im/folks/Makefile