Hi all, Attached is a simple patch for Flint and Quartz; Visual C++ complains if you try and define arrays with non-constant size. Charlie -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: patch7.patch URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20070423/d92c683a/attachment.ksh>
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
Reasonably Related Threads
- Re: [Xapian-commits] 7603: trunk/xapian-core/ trunk/xapian-core/backends/flint/ trunk/xapian-core/backends/quartz/
- Re Phrase Tuning.
- Flint failed to deliver indexing performance to Quartz.
- Latest patches for win32 build files
- Re: [Xapian-commits] 8351: trunk/xapian-core/ trunk/xapian-core/backends/flint/