lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, 16 Feb 2011, Fabio Mascarenhas wrote:
> On Wed, Feb 16, 2011 at 11:08 AM, Andre Arpin <arpin@kingston.net> wrote:
> >
> > Debug/Release mode:
> >
> > Assertion failed: op[start - 1].i.code == IChoice && dest(op, start - 1) == i
> > + 1, file e:\programs\lpeg-0.10.1\lpeg.c, line 792
> >
> > I disable optimization on lua5.1.dll, lua.exe and lpeg.dll in release mode and
> > got the same error.
>
> Check the parameters that you are passing to the C compiler to see if
> you are passing -DNDEBUG, defining NDEBUG is necessary to turn off
> asserts and cover this bug.

Or you can apply a patch to fix the broken assertion:

http://article.gmane.org/gmane.comp.lang.lua.general/74778

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
South Fisher, North German Bight: Easterly 5 to 7, veering southeasterly 5 for
a time. Moderate or rough. Rain or snow. Moderate or poor.