On Monday, December 22, 2003, at 07:49 AM, Oden Eriksson wrote:
Hi Tom, I get this:

gcc -I. -Icdb      -g -O2 -Wall -c vpopmail.c
vpopmail.c: In function `open_smtp_relay':
vpopmail.c:2454: warning: unused variable `cp'

Here's the errors from compiling it against dietlibc:

diet -Os gcc -march=pentium -static -nostdinc -I. -Icdb      -Os
-march=pentium -pipe -nostdinc -D_BSD_SOURCE -D_GNU_SOURCE -Wall -c
vpopmail.c
vpopmail.c: In function `randltr':
vpopmail.c:560: warning: `random' is deprecated (declared at
/usr/lib/dietlibc/include/stdlib.h:51)
vpopmail.c: In function `mkpasswd3':
vpopmail.c:588: warning: `srandom' is deprecated (declared at
/usr/lib/dietlibc/include/stdlib.h:52)

But it compiles! I will test later on if it works too ;)

Thanks. I've cleaned up vpopmail.c in CVS, so it won't throw those warnings any more.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Reply via email to