When compiling with clang, try adding -Qunused-arguments to the compiler flags.
Something like

# Add -Qunused-arguments to CFLAGS if clang/clang++ is used.
.if ${CC:T:Mclang} == "clang" || ${CXX:T:Mclang++} == "clang++"
CFLAGS+=        -Qunused-arguments
.endif

in /etc/make.conf should do it.
Regards!
--
Niclas Zeising
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to