Compiler errors

已查看 3 次
跳至第一个未读帖子

Bob M

未读,
2008年10月31日 14:46:372008/10/31
收件人 zfs-fuse
Trying to compile zfs-fuse on the new Ubuntu Intrepid Ibex (gcc-4.3)

cc1: warnings being treated as errors
cmd/zdb/zdb.c: In function 'zdb_dump_block_raw':
cmd/zdb/zdb.c:2007: error: ignoring return value of 'write', declared
with attribute warn_unused_result

I suspect there are a lot more of those. Anyway, some work needed for
gcc 4.3...

Roland

未读,
2008年10月31日 15:43:122008/10/31
收件人 zfs-fuse、bob.mc...@gmail.com
Hello,

maybe you could try removing -Werror from the CCFLAGS in the appropriate
SConstruct file.

also see
http://groups.google.com/group/zfs-fuse/browse_thread/thread/9dedf105b301ea06

hth
roland

Michael C

未读,
2008年11月11日 20:56:032008/11/11
收件人 zfs-fuse
Bob M,

Prior to reading Roland's advice I performed the same steps and it
worked.

Michael

On Oct 31, 11:43 am, "Roland" <devz...@web.de> wrote:
> Hello,
>
> maybe you could try removing -Werror from the CCFLAGS in the appropriate
> SConstruct file.
>
> also seehttp://groups.google.com/group/zfs-fuse/browse_thread/thread/9dedf105...
回复全部
回复作者
转发
0 个新帖子