Re: warning: inlining failed

2003-07-18 Thread Terry Lambert
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

Re: warning: inlining failed

2003-07-18 Thread Bruce Evans
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

Re: warning: inlining failed

2003-07-18 Thread LLeweLLyn Reese
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

Re: warning: inlining failed

2003-07-18 Thread Jacques A. Vidrine
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' >

warning: inlining failed

2003-07-18 Thread Nate Lawson
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':