linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* implicit declaration of function 'strndup'
@ 2010-04-22  7:50 Christian Kujau
  2010-05-14 13:27 ` Christian Kujau
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Kujau @ 2010-04-22  7:50 UTC (permalink / raw)
  To: linux-btrfs, chris.mason; +Cc: zhaolei, miaox

Hi,

compiling the latest checkout of btrfs-progs-git, I still get the compiler 
error Miao Xie reported[0] in March, along with a patch:

  cc1: warnings being treated as errors
  btrfs-list.c: In function 'ino_resolve':
  btrfs-list.c:511: warning: implicit declaration of function 'strndup'
  btrfs-list.c:511: warning: incompatible implicit declaration of built-in 
  function 'strndup'
  make: *** [btrfs-list.o] Error 1

I'm on Debian/stable (gcc 4.3.2-1.1, glibc-2.7), the patch from Miao Xie 
resolved this issue. Is there a reason it's not in git yet?

Thanks,
Christian.

[0] https://patchwork.kernel.org/patch/88224/
    http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg04610.html
-- 
BOFH excuse #374:

It's the InterNIC's fault.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-19 12:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-22  7:50 implicit declaration of function 'strndup' Christian Kujau
2010-05-14 13:27 ` Christian Kujau
2010-05-19 12:29   ` Christian Kujau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).