Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] milter-greylist 4.4 alpha1 is available

2012-02-25 by manu@netbsd.org

shuttlebox <shuttlebox@...> wrote:

> milter-greylist.c: In function 'gmtoffset':
> milter-greylist.c:2040:2: warning: implicit declaration of function
> 'gmtime_r' [-Wimplicit-function-declaration]
> milter-greylist.c:2041:2: warning: implicit declaration of function
> 'localtime_r' [-Wimplicit-function-declaration]
> milter-greylist.c: In function 'check_drac':

gmtime_r() and localtime_r() are suppossed to be in <time.h>
Please look at the file and check why they are not defined. There is
probably an #ifdef

> milter-greylist.c:2218:2: warning: implicit declaration of function
> 'dbopen' [-Wimplicit-function-declaration]
> milter-greylist.c:2218:41: error: 'O_SHLOCK' undeclared (first use in
> this function)

dbopen() is supposed to come from <db.h> or <db_185.h>, I suspect the
right file is not included at all here. Where is dbopen() defined at
yours?

> milter-greylist.c:2568:2: warning: implicit declaration of function
> 'strtok_r' [-Wimplicit-function-declaration]

strtok_r() is supposed to be in <string.h>, could you check what
happened?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.