Go to the documentation of this file. 20 #ifndef XAPIAN_INCLUDED_VERSION_H 21 #define XAPIAN_INCLUDED_VERSION_H 24 #if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ == 0) 25 #error Xapian no longer supports GCC < 3.1 27 #if !defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION != 1013 28 #if defined __GXX_ABI_VERSION && __GXX_ABI_VERSION >= 1002 29 #warning The C++ ABI version of compiler you are using does not exactly match 30 #warning that of the compiler used to build the library. If linking fails 31 #warning due to missing symbols, this is probably the reason why. 32 #warning The Xapian library was built with g++ 8.3.0 34 #error The C++ ABI version of compiler you are using does not match 35 #error that of the compiler used to build the library. The versions 36 #error must match or your program will not work correctly. 37 #error The Xapian library was built with g++ 8.3.0 42 #error You are compiling with _GLIBCXX_DEBUG defined, but the library 43 #error was not compiled with this flag. The settings must match or your 44 #error program will not work correctly. 50 #define XAPIAN_ENABLE_VISIBILITY 53 #define XAPIAN_VERSION "1.4.20" 58 #define XAPIAN_MAJOR_VERSION 1 63 #define XAPIAN_MINOR_VERSION 4 68 #define XAPIAN_REVISION 20 71 #define XAPIAN_DOCID_BASE_TYPE int 74 #define XAPIAN_TERMCOUNT_BASE_TYPE int 77 #define XAPIAN_TERMPOS_BASE_TYPE int 80 #define XAPIAN_TOTALLENGTH_TYPE unsigned long 83 #define XAPIAN_REVISION_TYPE unsigned long 86 #define XAPIAN_HAS_CHERT_BACKEND 1 89 #define XAPIAN_HAS_GLASS_BACKEND 1 92 #define XAPIAN_HAS_INMEMORY_BACKEND 1 95 #define XAPIAN_HAS_REMOTE_BACKEND 1 106 #define XAPIAN_AT_LEAST(A,B,C) \ 107 (XAPIAN_MAJOR_VERSION > (A) || \ 108 (XAPIAN_MAJOR_VERSION == (A) && \ 109 (XAPIAN_MINOR_VERSION > (B) || \ 110 (XAPIAN_MINOR_VERSION == (B) && XAPIAN_REVISION >= (C))))) 121 #ifndef XAPIAN_MOVE_SEMANTICS 122 # if __cplusplus >= 201103L || \ 123 (defined _MSC_VER && _MSC_VER >= 1900) || \ 124 defined XAPIAN_LIB_BUILD 125 # define XAPIAN_MOVE_SEMANTICS