It compiled fine for me with no warnings on Debian 2.1. Maybe your headers
are outdated.
--Adam
----- Original Message -----
From: Jeff Hayward <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 13, 1999 12:33 PM
Subject: Re: taildir won't compile...
: On Thu, 13 May 1999, Marlon Anthony Abao wrote:
:
: mail:~$ cc taildir.c
: taildir.c:15: conflicting types for `sys_errlist'
: /usr/include/errno.h:31: previous declaration of `sys_errlist'
: taildir.c: In function `newest':
: taildir.c:65: warning: passing arg 3 of `scandir' from incompatible
pointer
: type
: taildir.c:65: warning: passing arg 4 of `scandir' from incompatible
pointer
: type
:
: am using linux... is there a problem with it?
:
: It compiles with 1 warning (which can be ignored) for me. Which
: Linux are you using? I've got RH 6.0
:
: % uname -v -s -r -m
: Linux 2.2.5-15 #1 Mon Apr 19 23:00:46 EDT 1999 i686
:
: % cc -o taildir taildir.c
: taildir.c: In function `newest':
: taildir.c:65: warning: passing arg 3 of `scandir' from incompatible
: pointer type
:
: % ./taildir . & (sleep 1; echo "Hello, world" >>@0000000002; sleep 3)
: [2] 1380
: Hello, world
:
:
: -- Jeff
:
:
: