[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8891) LMDB fails to compile on latest Microsoft Visual Studio



hrissan@mail.ru wrote:
> Full_Name: Hrissan
> Version: commit 86a90cad721cbdc0bb0a9c3bf15396f5c946ae95
> OS: Windows 7
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (5.44.169.206)
> 
> 
> Sorry this seems to be the only way to report bug in LMDB.

No need to apologize for using the documented mechanism.

Thanks for the report, fixed now in mdb.master.
> 
> In mdb.c line 55, 68, 77
> 
> typedef NTSTATUS WINAPI (NtCreateSectionFunc)
> 
> Should be
> 
> typedef NTSTATUS (WINAPI NtCreateSectionFunc)
> 
> Visual Studio Community 2017 version 15.7.6 does not accept the incorrect
> typedef any more.
> 
> 
> 


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/