Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Make possible to override LUA_32BITS as requested #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 23, 2024

  1. Bug: Make possible to override LUA_32BITS as requested

    Make possible to override LUA_32BITS, Lua itself raises an error message saying to override LUA_32BITS, so redefining it unconditionally it is a bug.
    
    lua/luaconf.h:125:9: warning: 'LUA_32BITS' macro redefined [-Wmacro-redefined]
      125 | #define LUA_32BITS      0
          |         ^
    <command line>:9:9: note: previous definition is here
        9 | #define LUA_32BITS 1
          |         ^
    In file included from lua/lapi.c:17:
    In file included from lua/lua.h:16:
    lua/luaconf.h:572:2: error: "Compiler does not support 'long long'. Use option '-DLUA_32BITS'   or '-DLUA_C89_NUMBERS' (see file 'luaconf.h' for details)"
      572 | #error "Compiler does not support 'long long'. Use option '-DLUA_32BITS' \
          |  ^
    illwieckz committed Nov 23, 2024
    Configuration menu
    Copy the full SHA
    3787445 View commit details
    Browse the repository at this point in the history