[MacPorts] #41846: lua-luaexpat: error: array type has incomplete element type

MacPorts noreply at macports.org
Mon Mar 10 11:48:51 PDT 2014


#41846: lua-luaexpat: error: array type has incomplete element type
---------------------------+--------------------------------
  Reporter:  rudloff@…     |      Owner:  macports-tickets@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:
      Port:  lua-luaexpat  |
---------------------------+--------------------------------

Comment (by snc@…):

 I've attached an update to 1.2.0, as I cannot find 1.3.0.

 1.2.0 continues to have issues, which is unsurprising since there have
 been no tags or releases of Lua 5.2 compatibility work.

 The unknown `luaL_reg` is defined in lua's lauxlib.h and #included in
 src/lxplib.c, so I'm not sure why the compiler is bailing.

 {{{
 src/lxplib.c:520:39: error: array has incomplete element type 'const
 struct luaL_reg'
 static const struct luaL_reg lxp_meths[] = {
                                       ^
 src/lxplib.c:520:21: note: forward declaration of 'struct luaL_reg'
 static const struct luaL_reg lxp_meths[] = {
                     ^
 src/lxplib.c:533:39: error: array has incomplete element type 'const
 struct luaL_reg'
 static const struct luaL_reg lxp_funcs[] = {
                                       ^
 src/lxplib.c:520:21: note: forward declaration of 'struct luaL_reg'
 static const struct luaL_reg lxp_meths[] = {
                     ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/41846#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list