Just to clarify - I did not intend for this patch to make it into 3.0.1. It is not a bugfix, it is a new functionality. As such it is a potential point for regression.

Bugfix for "operator== not working" part is already merged.

Olly, William, is it true that SWIG must support pedantic C89 ? Because there is already a lot of code in luarun.swg that doesn't follow C89 rules, especially the 'variable at the beginning of the block' rule. Most of that code is - alas - mine.

On 22 May 2014 10:56, William S Fulton <wsf@fultondesigns.co.uk> wrote:
On 22/05/14 07:46, Olly Betts wrote:
On Thu, May 22, 2014 at 07:24:37AM +0100, William S Fulton wrote:
Artem/Eric, any progress? This is blocking the new release which I
would like to do this weekend.

There's a PR for this in github:


It could do with a tweak to work with pre-C99 C compilers, but otherwise
looks OK to me.  I also checked it with Xapian's Lua bindings.

William said it needed a testcase adding in that PR, though the patch
seems to contain one already.
Good news, yes I see that now, I must have missed it before. Sounds like the patch only requires a few minor tweaks then.


Sincerely yours,
Artem Serebriyskiy