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. BruceReceived on Tue May 22 2012 - 09:02:13 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:27 UTC