Hi!
I'm trying to build libdb on Linux and MacOS. So far, so good, it works well on Linux, however, on OSX there are two configurations which are not possible:
libdb version: 6.2.32
OS: OSX 10.3
Compiler: Apple Clang 9.1
Build Type: Release
How to reproduce my steps:
- Download libdb 6.2.32
- ./configure
- make
There are many errors involving **atomic_flag**, for instance:
/Applications/Xcode-9.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/atomic:1782:35: error: unknown type name 'atomic_flag'
atomic_flag_test_and_set_explicit(atomic_flag* __o, memory_order __m) _NOEXCEP
The full log can be obtained here: https://travis-ci.com/bincrafters/conan-libdb/jobs/215894032#L3774
libdb is supported by Apple Clang 9.1 and 10? If not, is there a patch to fix this?
Regards!