[git] GCRYPT - branch, master, updated. libgcrypt-1.8.1-21-g621f5c4

Andreas Metzler ametzler at bebt.de
Wed Nov 15 19:17:51 CET 2017


On 2017-11-14 NIIBE Yutaka <gniibe at fsij.org> wrote:
> Andreas Metzler <ametzler at bebt.de> wrote:
> > This causes the following error on mingw:
> > ../../tests/t-secmem.c: In function 'main':
> > ../../tests/t-secmem.c:126:16: warning: implicit declaration of function 'getpagesize' [-Wimplicit-function-declaration]
> >    pgsize_val = getpagesize ();
[...]
> > And indeed it seems to be true, AC_CHECK_FUNCS succeeds but
> > AC_CHECK_DECLS fails.

> Ah, I see.

> For t-secmem.c, I tried to follow the way secmem.c does.  But, t-secmem
> routine doesn't check HAVE_MMAP.

> While MinGW has its own peculiarities, we don't need to check all of
> them.  I think that it is better to use HAVE_MMAP which is already
> exists.

> I'll do that (for both of 1.8 and master).

Thanks, worked for me.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Gcrypt-devel mailing list