Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: LLONG_MAX not available from c++



On Fri, Mar 31, 2023 at 02:35:38PM +0200, Martin Husemann wrote:
> Which options does it pass to g++ ?

Good point, but it's not the compiler, it's lua itself:

     tar xvzf lua-5.4.4.tar.gz
     cd lua-5.4.4/src
     c++ lbaselib.c

and see it fail.

In file included from lua.h:16,
                 from lbaselib.c:18:
luaconf.h:557:2: error: #error "Compiler does not support 'long long'. Use option '-DLUA_32BITS'   or '-DLUA_C89_NUMBERS' (see file 'luaconf.h' for details)"
  557 | #error "Compiler does not support 'long long'. Use option '-DLUA_32BITS' \
      |  ^~~~~

 Thomas


Home | Main Index | Thread Index | Old Index