lua-users home
lua-l archive

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


I can confirm the bug Eduardo Ochs reported for lpeg-0.5. I get
it too.

Also, my C compiler gave errors

 <argument 1 to 'printcharset'>: qualifier-losing implicit cast of pointer

for lines 253, 257, and for the implicit casts in the NULL returned
at lines 395, 405 in lpeg.c. I could deal with the first two by removing the
"const" qualifiers in the formal parameters of printcharset and printinst
and with the second two by inserting (const char *) coercions.

By the way, <wctype.h> is not part of ANSI C is it? I have to insert
#ifdef WCTYPE directives around various bits if I want to use a strict
ANCI compiler.

-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/