[pybsddb] berkelydb 18.1.6 compiler error with Clang
Himanshu Gohel
hgohel at yahoo.com
Thu Aug 10 04:39:37 CEST 2023
Hello Jesus,
First a big thank you for maintaining bsddb3/berkeleydb since 2008!
Gramps[1] software is a consumer of bsddb3 6.2.9 package via MSYS2 [2]. The Windows build of Gramps is stuck because the package isn't available on MSYS2 at the moment. The maintainers at MSYS2 have removed it from the package repo because it fails to compile with Clang. The issue is documented in PR #17871 [3] specifically this error [4].
The compiler error seems legitimate, and the code is present in the both bsddb3 6.2.9 and berkeleydb 18.1.6 branches in the Mercurial repo so a fix is needed, or a short-term workaround might be to add the compiler flag -Wincompatible-function-pointer-types [5].
Note: I do not represent Gramps in any official capacity, just interested in helping resolve the issue. Thanks,
--Himanshu G, hgohel at yahoo.com
Links:
[1] https://gramps-project.org/blog/[2] https://www.msys2.org/[3] https://github.com/msys2/MINGW-packages/pull/17871[4] https://github.com/msys2/MINGW-packages/pull/17871#issuecomment-1653908229[5] https://clang.llvm.org/docs/DiagnosticsReference.html#wincompatible-function-pointer-types
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jcea.es/pipermail/pybsddb/attachments/20230810/482d11a9/attachment.htm>
More information about the pybsddb
mailing list