Dear, I install the libzdb,but failed err msg is "in function _Atomic expected declaration specifiers before 'KstatementID' ". if I want install the version 3.3.3 ,which gcc version is better ?could you help me ? thanks !
C++ install dir
Fixed with https://bitbucket.org/tildeslash/libzdb/commits/801c75ac321a8c13f2b9e0d6722b...
The error message is caused by using _Atomic(x) from <stdatomic.h> without checking if the compiler actually have it. I.e. if the compiler is C11 or later compliant. The commit above performs this check. To fix the problem, either update your compiler so it is C11 or checkout and rebuild libzdb from master
Jan-Henrik
On 13 Jul 2020, at 12:24, 颜培震 yanpeizhen856@163.com wrote:
Dear, I install the libzdb,but failed err msg is "in function _Atomic expected declaration specifiers before 'KstatementID' ". if I want install the version 3.3.3 ,which gcc version is better ?could you help me ? thanks !