cvs commit: src/sys/sys cdefs.h src/include nl_types.h stdio.h

Dag-Erling Smørgrav des at des.no
Wed Feb 1 23:54:03 PST 2006


Steve Kargl <sgk at troutmask.apl.washington.edu> writes:
> Build world and kernel of amd64.  Watch kernl panic and take
> out parts of /usr/include and /usr/src.  Do "make includes"
> to restore /usr/include, so one can build a new kernel.  Watch
> the fun begin.
>
> ===> games/fortune/strfile (obj,depend,all,install)
> cc -O2 -fno-strict-aliasing -pipe  -I/usr/obj/usr/src/tmp/legacy/usr/include -c
> /usr/src/games/fortune/strfile/strfile.c
> In file included from /usr/src/games/fortune/strfile/strfile.c:53:
> /usr/include/stdio.h:331: error: syntax error before "__format_arg"
> *** Error code 1

This is trivial to hack around (e.g. by adding "-D__format_arg(x)=" to
CFLAGS in make.conf).  I agree that it's unfortunate that this breaks
upgrading across branches, but it is not a serious obstacle to
recovering from a hosed /usr/include.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list