Re: [head tinderbox] failure on i386/i386
On Tue, 22 May 2012, FreeBSD Tinderbox wrote:
> [...]
> from /obj/i386.i386/src/tmp/usr/include/sys/_types.h:33,
> from /obj/i386.i386/src/tmp/usr/include/stdio.h:41,
> from /src/sbin/devd/parse.y:33:
> /obj/i386.i386/src/tmp/usr/include/x86/_types.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
> /obj/i386.i386/src/tmp/usr/include/x86/_types.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__int_least8_t'
> cc1: warnings being treated as errors
> /src/sbin/devd/parse.y: In function 'yyparse':
> /src/sbin/devd/parse.y:103: warning: implicit declaration of function 'add_attach'
Another bug in the new yacc is that it uses hard-coded GNUisms
like __attribute__(()) (maybe firm-coded by autoconfig) instead of
hard-coded FreeBSDisms like __printflike().
But this is not the bug here. devd.h is just included in a wrong order
(before its prerequisites) in parse.y. This worked accidentally because
old yacc includes sufficient namespace pollution earlier.
Bruce
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 188 之 448 篇):