How-To-Repeat: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/lambdamoo-1.8.1_1.log $ echo 'int main(int argc, char *argv) { void *ptr; exit(0); }' | clang -xc - <stdin>:1:5: error: second parameter of 'main' (argument array) must be of type 'char **' int main(int argc, char *argv) { void *ptr; exit(0); } ^ <stdin>:1:45: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))' int main(int argc, char *argv) { void *ptr; exit(0); } ^ <stdin>:1:45: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit' 1 warning and 1 error generated.
Responsible Changed From-To: freebsd-ports-bugs->miwi miwi@ wants his PRs (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed. Thanks!
miwi 2011-12-29 15:44:11 UTC FreeBSD ports repository Modified files: net/lambdamoo/files patch-configure patch-configure.in Log: - Fix build with CLANG PR: 163293 Submitted by: Jan Beich <jbeich@tormail.net> Revision Changes Path 1.2 +9 -0 ports/net/lambdamoo/files/patch-configure 1.2 +9 -0 ports/net/lambdamoo/files/patch-configure.in _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"