[Xapian-devel] Patch for database code

Olly Betts olly at survex.com
Mon Apr 23 17:10:08 BST 2007


On Mon, Apr 23, 2007 at 04:56:57PM +0100, Charlie Hull wrote:
> Attached is a simple patch for Flint and Quartz; Visual C++ complains if 
> you try and define arrays with non-constant size.

Ah yes, VLAs are C99 and GCC supports them for C++ as an extension.

I think I'll just simplify the code by assuming that we have two bases
everywhere, rather than jumping through hoops to try to support a
feature we never use.

Cheers,
    Olly



More information about the Xapian-devel mailing list