Date: Tue, 15 Jan 2013 09:35:22 -0500 From: Robert Huff <roberthuff@rcn.com> To: Alexandre <axelbsd@ymail.com> Cc: Robert Huff <roberthuff@rcn.com>, questions@freebsd.org Subject: Re: change in buildworld output when gcc -> clang Message-ID: <20725.26922.790985.729237@jerusalem.litteratus.org> In-Reply-To: <CA%2B8gk9_3Dj2Q_VDKVmZJHzCMBihR5%2BdSszDB6GuGDFiDhZA3Tw@mail.gmail.com> References: <20724.6043.689737.343567@jerusalem.litteratus.org> <CA%2B8gk9_3Dj2Q_VDKVmZJHzCMBihR5%2BdSszDB6GuGDFiDhZA3Tw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexandre writes: > > Before the installation of clang and the default system > > compiler, "make buildworld" ended with a nice little banner announcing > > the fact and the time the build completed. > > After, it ends like this: > > Your mail has been truncated. Could you please send us the end? Appended. Looking at current@, I see someone else has noticed this. Robert Huff /usr/src/lib/libwrap/../../contrib/tcp_wrappers/shell_cmd.c:79:9: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if (open("/dev/null", 2) != 0) { ^ /usr/src/lib/libwrap/../../contrib/tcp_wrappers/shell_cmd.c:81:16: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] } else if (dup(0) != 1 || dup(0) != 2) { ^ /usr/src/lib/libwrap/../../contrib/tcp_wrappers/shell_cmd.c:84:9: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] (void) execl("/bin/sh", "sh", "-c", command, (char *) 0); ^ /usr/src/lib/libwrap/../../contrib/tcp_wrappers/shell_cmd.c:91:5: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' _exit(0); ^ /usr/src/lib/libwrap/../../contrib/tcp_wrappers/shell_cmd.c:91:5: note: please include the header <unistd.h> or explicitly provide a declaration for '_exit' 7 warnings generated. /usr/src/lib/libwrap/../../contrib/tcp_wrappers/update.c:110:33: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] sprintf(request->pid, "%d", getpid()); ^ 1 warning generated. cc: warning: argument unused during compilation: '-L/usr/obj/usr/src/lib32/usr/lib32' cc: warning: argument unused during compilation: '-L/usr/obj/usr/src/lib32/usr/lib32' cc: warning: argument unused during compilation: '-L/usr/obj/usr/src/lib32/usr/lib32'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20725.26922.790985.729237>