Skip to content

C++11 #15

@alex-mashin

Description

@alex-mashin

When statically included within C++11 projects, the library isn't compiled.

The errors are:

.../luasandbox/include/lrexlib-2.6.0/src/pcre/../algo.h:125:27: warning:
invalid suffix on literal; C++11 requires a space between literal and
identifier [-Wliteral-suffix]
luaL_typerror(L, pos, "string or "REX_TYPENAME);

and

.../luasandbox/include/lrexlib-2.6.0/src/pcre/lpcre.c:180:20: error:
invalid conversion from ‘void_’ to ‘const unsigned char_’ [-fpermissive]
argC->tables = *check_chartables (L, pos);

There may be other errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions