[Xapian-devel] Sample quickstartindex unable to create database on Windows 2008
olly at survex.com
Sun Jul 12 06:31:57 BST 2009
On Fri, Jul 10, 2009 at 04:26:26PM -0700, Martin Margo wrote:
> [Binary incompatibility between code compiled with and without _DEBUG]
There are similar issues with GCC and _GLIBCXX_DEBUG which we handle by
generating a check in "include/xapian/version.h" that the setting of
_GLIBCXX_DEBUG is the same as it was when the library was built - e.g.
if you build the library without _GLIBCXX_DEBUG, version.h contains:
#error You are compiling with _GLIBCXX_DEBUG defined, but the library
#error was not compiled with this flag. The settings must match or your
#error program will not work correctly.
It would be nice to have a similar check for _DEBUG under MSVC.
More information about the Xapian-devel