I'm building Godot with luascript on Windows, with LLVM-Mingw-w64, using the options scons use_mingw=yes use_llvm=yes use_lld=yes module_luascript_enabled=yes, and ANTLR4 has several errors in CommonToken.h and CommonToken.cpp. Most of the errors are dllimport errors, such as error: definition of dllimport static field not allowed and redeclared without 'dllimport' attribute: previous 'dllimport' ignored. Hopefully this can help make the module work cross-platform.
I'm building Godot with luascript on Windows, with LLVM-Mingw-w64, using the options
scons use_mingw=yes use_llvm=yes use_lld=yes module_luascript_enabled=yes
, and ANTLR4 has several errors inCommonToken.h
andCommonToken.cpp
. Most of the errors are dllimport errors, such aserror: definition of dllimport static field not allowed
andredeclared without 'dllimport' attribute: previous 'dllimport' ignored
. Hopefully this can help make the module work cross-platform.