Nate Lawson wrote:
> /home/src/sys/gnu/ext2fs/ext2_vfsops.c: In function `ext2_unmount':
> @/sys/buf.h:281: warning: inlining failed in call to `BUF_LOCK'
"Warning: compiler failed to do what the hell it was told to do".
8-).
-- Terry
ffreestanding -Wall -Wredundant-decls
> > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> > -Winline -Wcast-qual -fformat-extensions -std=c99 -c
> > /home/src/sys/modules/ext2fs/../../gnu/ext2fs/ext2_vfsops.c
> > /home/src/sys/gnu/ext2fs
Nate Lawson <[EMAIL PROTECTED]> writes:
> Warner mentioned this was due to the gcc import. Nearly every part of the
> kernel that uses newbus or buf.h prints out lots of warnings. Can someone
> see about fixing this, whether it's by fixing our headers or build flags
> or gcc itself? I've alread
ointer-arith -Winline -Wcast-qual
> -fformat-extensions -std=c99 -c
> /home/src/sys/modules/ext2fs/../../gnu/ext2fs/ext2_vfsops.c
> /home/src/sys/gnu/ext2fs/ext2_vfsops.c: In function `compute_sb_data':
> @/sys/buf.h:281: warning: inlining failed in call to `BUF_LOCK'
>
ps.c
/home/src/sys/gnu/ext2fs/ext2_vfsops.c: In function `compute_sb_data':
@/sys/buf.h:281: warning: inlining failed in call to `BUF_LOCK'
/home/src/sys/gnu/ext2fs/ext2_vfsops.c:496: warning: called from here
/home/src/sys/gnu/ext2fs/ext2_vfsops.c: In function `ext2_unmount':