Re: [Freeciv-Dev] (PR#37596) 64bit lua -Werror

2007-09-03 Thread Marko Lindqvist

URL: http://bugs.freeciv.org/Ticket/Display.html?id=37596 

On 03/09/07, Egor Vyscrebentsov wrote:

  [cazfi74 - Mon Mar 05 19:49:42 2007]:
 
   --enable-debug cannot be used at 64bit system, since:
 
  ../../../../src.patched/dependencies/lua/src/ltable.c: In function
 
 'luaH_mainposition':../../../../src.patched/dependencies/lua/src/ltable.c:108:
  warning: cast from pointer to integer of different size
  ../../../../src.patched/dependencies/lua/src/ltable.c:110: warning:
  cast from pointer to integer of different size

 If this have any sense - see attached patch. Works for me.

 Fixes problems here too. It has some theoretical problems, but less
so than old code.


 - ML



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#37596) 64bit lua -Werror

2007-03-05 Thread Marko Lindqvist

URL: http://bugs.freeciv.org/Ticket/Display.html?id=37596 

 --enable-debug cannot be used at 64bit system, since:

../../../../src.patched/dependencies/lua/src/ltable.c: In function
'luaH_mainposition':../../../../src.patched/dependencies/lua/src/ltable.c:108:
warning: cast from pointer to integer of different size
../../../../src.patched/dependencies/lua/src/ltable.c:110: warning:
cast from pointer to integer of different size


 - ML



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] (PR#37596) 64bit lua -Werror

2007-03-05 Thread Marko Lindqvist

URL: http://bugs.freeciv.org/Ticket/Display.html?id=37596 

On 3/5/07, Marko Lindqvist [EMAIL PROTECTED] wrote:

  --enable-debug cannot be used at 64bit system, since:

 ../../../../src.patched/dependencies/lua/src/ltable.c: In function
 'luaH_mainposition':../../../../src.patched/dependencies/lua/src/ltable.c:108:
 warning: cast from pointer to integer of different size
 ../../../../src.patched/dependencies/lua/src/ltable.c:110: warning:
 cast from pointer to integer of different size

 When I updated lua to 5.1.1, I didn't got this error while compiling lua.
 But tolua did not compile against lua-5.1.1. I even got latest
version of tolua (which version we are using? Version number is not in
any obvious place)
 I tested also lua-5.0.3, but original problem is present there.


 - ML



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev