[Tile-serving] [openstreetmap/osm2pgsql] luaL_traceback is not supported in Lua 5.1, except for LuaJIT (#1153)
Sarah Hoffmann
notifications at github.com
Mon May 4 19:00:52 UTC 2020
@lonvia commented on this pull request.
I'm trying to get a travis run with Lua 5.1 with luajit up and running. I'd like to wait for that before merging this fix.
> @@ -158,11 +159,16 @@ static int pcall_error_traceback_handler(lua_State *lua_state)
// wrapper function for lua_pcall to include a stack traceback
int luaX_pcall(lua_State *lua_state, int narg, int nres)
{
+// Lua 5.1 doesn't support luaL_traceback, unless LuaJIT is used
+#if LUA_VERSION_NUM < 502 && HAVE_LUAJIT == 0
Is that second part correct? When we don't have luajit then HAVE_LUAJIT is not defined.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1153#pullrequestreview-405257170
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200504/793e1659/attachment.htm>
More information about the Tile-serving
mailing list