Steve Kargl <[EMAIL PROTECTED]> 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 - [EMAIL PROTECTED]
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to