Re: LINT trouble...
Sorry about that. You are right. Some confusion here on what sources I was compiling with. I had fixed the problem in my sources. A cvs diff does not show the difference against HEAD but current version of file. Cheers, Nick On Sun, 29 Aug 1999, Poul-Henning Kamp wrote: > > These are current sources. > > This patch fixes the problem for me: > > Index: usbdi_util.c > === > RCS file: /home/ncvs/src/sys/dev/usb/usbdi_util.c,v > retrieving revision 1.10 > diff -u -r1.10 usbdi_util.c > --- usbdi_util.c 1999/08/29 01:18:32 1.10 > +++ usbdi_util.c 1999/08/29 11:08:26 > @@ -43,10 +43,10 @@ > #include > #include > #include > -#include > #if defined(__FreeBSD__) > #include > #endif > +#include > > #include > #include > In message <[EMAIL PROTECTED]>, Nick Hibm > a writes: > > > >Please retry with current sources. I can' t reproduce the problem, but > >I remember the error message, and having fixed it. > > > >Nick > > > > > >On Sun, 29 Aug 1999, Poul-Henning Kamp wrote: > > > >> > >> schizo# !! > >> make > >> cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes >-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi >-nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -elf >../../dev/usb/usbdi_util.c > >> In file included from ../../dev/usb/usbdi_util.c:48: > >> ../../sys/bus.h:42: `devclass' defined as wrong kind of tag > >> *** Error code 1 > >> > >> Stop in /usr/src/sys/compile/LINT. > >> schizo# > >> > >> -- > >> Poul-Henning Kamp FreeBSD coreteam member > >> [EMAIL PROTECTED] "Real hackers run -current on their laptop." > >> FreeBSD -- It will take a long time before progress goes too far! > >> > >> > >> To Unsubscribe: send mail to [EMAIL PROTECTED] > >> with "unsubscribe freebsd-current" in the body of the message > >> > >> > > > >-- > >e-Mail: [EMAIL PROTECTED] > > > > > > > > -- > Poul-Henning Kamp FreeBSD coreteam member > [EMAIL PROTECTED] "Real hackers run -current on their laptop." > FreeBSD -- It will take a long time before progress goes too far! > > -- e-Mail: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: LINT trouble...
These are current sources. This patch fixes the problem for me: Index: usbdi_util.c === RCS file: /home/ncvs/src/sys/dev/usb/usbdi_util.c,v retrieving revision 1.10 diff -u -r1.10 usbdi_util.c --- usbdi_util.c1999/08/29 01:18:32 1.10 +++ usbdi_util.c1999/08/29 11:08:26 @@ -43,10 +43,10 @@ #include #include #include -#include #if defined(__FreeBSD__) #include #endif +#include #include #include In message <[EMAIL PROTECTED]>, Nick Hibm a writes: > >Please retry with current sources. I can' t reproduce the problem, but >I remember the error message, and having fixed it. > >Nick > > >On Sun, 29 Aug 1999, Poul-Henning Kamp wrote: > >> >> schizo# !! >> make >> cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes >-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi >-nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -elf >../../dev/usb/usbdi_util.c >> In file included from ../../dev/usb/usbdi_util.c:48: >> ../../sys/bus.h:42: `devclass' defined as wrong kind of tag >> *** Error code 1 >> >> Stop in /usr/src/sys/compile/LINT. >> schizo# >> >> -- >> Poul-Henning Kamp FreeBSD coreteam member >> [EMAIL PROTECTED] "Real hackers run -current on their laptop." >> FreeBSD -- It will take a long time before progress goes too far! >> >> >> To Unsubscribe: send mail to [EMAIL PROTECTED] >> with "unsubscribe freebsd-current" in the body of the message >> >> > >-- >e-Mail: [EMAIL PROTECTED] > > > -- Poul-Henning Kamp FreeBSD coreteam member [EMAIL PROTECTED] "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: LINT trouble...
Please retry with current sources. I can' t reproduce the problem, but I remember the error message, and having fixed it. Nick On Sun, 29 Aug 1999, Poul-Henning Kamp wrote: > > schizo# !! > make > cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes >-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi >-nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -elf >../../dev/usb/usbdi_util.c > In file included from ../../dev/usb/usbdi_util.c:48: > ../../sys/bus.h:42: `devclass' defined as wrong kind of tag > *** Error code 1 > > Stop in /usr/src/sys/compile/LINT. > schizo# > > -- > Poul-Henning Kamp FreeBSD coreteam member > [EMAIL PROTECTED] "Real hackers run -current on their laptop." > FreeBSD -- It will take a long time before progress goes too far! > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message > > -- e-Mail: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
LINT trouble...
schizo# !! make cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -elf ../../dev/usb/usbdi_util.c In file included from ../../dev/usb/usbdi_util.c:48: ../../sys/bus.h:42: `devclass' defined as wrong kind of tag *** Error code 1 Stop in /usr/src/sys/compile/LINT. schizo# -- Poul-Henning Kamp FreeBSD coreteam member [EMAIL PROTECTED] "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message