include/xapian/version.h

Go to the documentation of this file.
00001 // version.h: Define preprocesor symbols for the library version.
00002 // If using GCC, also check the C++ ABI version is compatible with that used
00003 // to build the library.
00004 //
00005 // Copyright (C) 2002,2004,2005,2006,2007 Olly Betts
00006 //
00007 // This program is free software; you can redistribute it and/or
00008 // modify it under the terms of the GNU General Public License as
00009 // published by the Free Software Foundation; either version 2 of the
00010 // License, or (at your option) any later version.
00011 //
00012 // This program is distributed in the hope that it will be useful
00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00015 // GNU General Public License for more details.
00016 //
00017 // You should have received a copy of the GNU General Public License
00018 // along with this program; if not, write to the Free Software
00019 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00020 
00021 #ifndef XAPIAN_INCLUDED_VERSION_H
00022 #define XAPIAN_INCLUDED_VERSION_H
00023 
00024 #ifdef __GNUC__
00025 #if !defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION != 1002
00026 #error The C++ ABI version of compiler you are using does not match
00027 #error that of the compiler used to build the library. The versions
00028 #error must match or your program will not work correctly.
00029 #error The Xapian library was built with g++ 4.1.2
00030 #endif
00031 
00032 #ifdef _GLIBCXX_DEBUG
00033 #error You are compiling with _GLIBCXX_DEBUG defined, but the library
00034 #error was not compiled with this flag. The settings must match or your
00035 #error program will not work correctly.
00036 #endif
00037 #endif
00038 
00039 #define XAPIAN_VERSION "1.0.10"
00040 #define XAPIAN_MAJOR_VERSION 1
00041 #define XAPIAN_MINOR_VERSION 0
00042 #define XAPIAN_REVISION 10
00043 
00044 #define XAPIAN_HAS_FLINT_BACKEND 1
00045 #define XAPIAN_HAS_QUARTZ_BACKEND 1
00046 #define XAPIAN_HAS_INMEMORY_BACKEND 1
00047 #define XAPIAN_HAS_REMOTE_BACKEND 1
00048 
00049 #endif /* XAPIAN_INCLUDED_VERSION_H */

Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.