lua-users home
lua-l archive

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


> I'm not sure how I feel about this.  It seems problematic.  For development
> and initial testing, I don't define NDEBUG (so asserts are enabled) and yet,
> here's some code that "arbitrarily" sets NDEBUG if some other define isn't
> defined.  I know I can change the code, but I'd rather not have to patch it
> if possible.  I know the intent is to avoid including debugging code by
> default but I would think there would have to be a better way.

This definition is inside LPEG. Are you talking about development and
initial testing of LPEG itself?  Otherwise, the "arbitrarily" definition
of NDEBUG inside LPEG should not botter you.

-- Roberto