Skip to content

Issues with Lua 5.5 #1747

@BongoVR

Description

@BongoVR

Hello,

we just ran into some issues after upgrading the Lua library to the recent 5.5 version.

Adjusting sol.hpp was necessary to compile our project again.

Line 2849 (obviously)
#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501 || LUA_VERSION_NUM > 505

Line 3729
#if defined(LUA_VERSION_NUM) && (LUA_VERSION_NUM == 504 || LUA_VERSION_NUM == 505)
(LUA_ERRGCMM has still to be defined)

Line 26017
: unique_base(lua_newstate(alfunc, alpointer, luaL_makeseed(nullptr))), state_view(unique_base::get()) {
(lua_newstate got a third parameter; tried to use luaL_makeseed(nullptr))

Otherwise, no issues have been observed so far.
Best regards

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