perbone / luascript

Lua language support for Godot Engine
Apache License 2.0
629 stars 44 forks source link

Problem with windows build #22

Closed Lufen34 closed 3 years ago

Lufen34 commented 4 years ago

Hello !

First of all thanks for your work ! I really appreciate your work on binding the LUA language to godot. Now i'm not super familiar with scons et neither with "antlr4" but I keep having this error comming up when I recompile godot using this command :

scons -j4 platform=windows module_luascript_enabled=yes

and I keep getting errors such as :

ConsoleErrorListener.cpp [ 26%] Compiling ==> modules\luascript\lib\antlr4\DefaultErrorStrategy.cpp DefaultErrorStrategy.cpp C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream' C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>

or :

-C4273 (exemple : lib\antlr4\DefaultErrorStrategy.h(19): note: see previous definition of '{ctor}' )

Any ideas of where this is comming from ?

I am on Windows x64 version 20H2.

EDIT : after further research it seems that I have an issue similar to this case?

EDIT 2: I'm trying to build it using WSL2 :)

Lufen34 commented 4 years ago

it seems that on WSL2 I have also errors :

[Initial build] Compiling ==> modules/luascript/lua_script_instance.cpp modules/luascript/debug.cpp: In function 'void print_debug(String, ...)': modules/luascript/debug.cpp:96:23: error: 'const class String' has no member named 'c_str' 96 wcstombs(fmtbuf, fmt.c_str(), fmt.size()); ^~~~~ modules/luascript/debug.cpp:98:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'double' [-Wformat=] 98 sprintf(tmpbuf, "%d %lu %2lu %2lu ", ~~^
long unsigned int
%f
99 OS::get_singleton()->get_process_id(),
100 OS::get_singleton()->get_unix_time(),
~~~~~~~~
double

In file included from modules/luascript/lua_script.cpp:24: modules/luascript/lua_script.h:110:55: error: 'Variant::CallError' has not been declared 110 | Variant _new(const Variant p_args, int p_argcount, Variant::CallError &r_error); | ^~~ In file included from modules/luascript/lua_script.cpp:25: modules/luascript/lua_script_instance.h:46:91: error: 'Variant::CallError' has not been declared 46 | virtual Variant call(const StringName &p_method, const Variant p_args, int p_argcount, Variant::CallError &r_error); | ^~~ In file included from modules/luascript/lua_script.cpp:26: modules/luascript/lua_script_language.h:38:35: error: deduced class type 'MutexLock' in function return type 38 | _FORCEINLINE static MutexLock &acquire() { | ^~~ In file included from ./core/safe_refcount.h:34, from ./core/os/memory.h:35, from ./core/list.h:35, from ./core/engine.h:34, from ./core/os/os.h:34, from modules/luascript/lua_script.cpp:20: ./core/os/mutex.h:60:7: note: 'template class MutexLock' declared here 60 | class MutexLock { | ^~~~~ In file included from modules/luascript/lua_script.cpp:26: modules/luascript/lua_script_language.h:72:82: error: 'PoolStringArray' does not name a type; did you mean 'PackedStringArray'? 72 | virtual String make_function(const String &p_class, const String &p_name, const PoolStringArray &p_args) const; | ^~~~~~~ | PackedStringArray modules/luascript/lua_script.cpp: In constructor 'LuaScript::LuaScript()': modules/luascript/lua_script.cpp:40:34: error: 'acquire' is not a member of 'LuaScriptLanguage' 40 | auto guard = LuaScriptLanguage::acquire(); | ^~~ modules/luascript/lua_script.cpp: In destructor 'virtual LuaScript::~LuaScript()': modules/luascript/lua_script.cpp:49:34: error: 'acquire' is not a member of 'LuaScriptLanguage' 49 | auto guard = LuaScriptLanguage::acquire(); | ^~~ In file included from ./core/list.h:35, from ./core/engine.h:34, from ./core/os/os.h:34, from modules/luascript/lua_script.cpp:20: modules/luascript/lua_script.cpp: In member function 'virtual ScriptInstance LuaScript::instance_create(Object)': modules/luascript/lua_script.cpp:89:85: error: invalid new-expression of abstract class type 'LuaScriptInstance' 89 | LuaScriptInstance instance = memnew(LuaScriptInstance(p_this, Ref(this))); | ^ ./core/os/memory.h:93:51: note: in definition of macro 'memnew' 93 | #define memnew(m_class) _post_initialize(new ("") m_class) | ^~~ In file included from modules/luascript/lua_script.cpp:25: modules/luascript/lua_script_instance.h:24:7: note: because the following virtual functions are pure within 'LuaScriptInstance': 24 | class LuaScriptInstance : public ScriptInstance { | ^~~~~ In file included from ./core/os/main_loop.h:36, from ./core/engine.h:35, from ./core/os/os.h:34, from modules/luascript/lua_script.cpp:20: ./core/script_language.h:201:18: note: 'virtual Variant ScriptInstance::call(const StringName&, const Variant, int, Callable::CallError&)' 201 | virtual Variant call(const StringName &p_method, const Variant p_args, int p_argcount, Callable::CallError &r_error) = 0; | ^~~~ ./core/script_language.h:224:32: note: 'virtual Vector ScriptInstance::get_rpc_methods() const' 224 | virtual Vector get_rpc_methods() const = 0; | ^~~~~~~ ./core/script_language.h:225:19: note: 'virtual uint16_t ScriptInstance::get_rpc_method_id(const StringName&) const' 225 | virtual uint16_t get_rpc_method_id(const StringName &p_method) const = 0; | ^~~~~ ./core/script_language.h:226:21: note: 'virtual StringName ScriptInstance::get_rpc_method(uint16_t) const' 226 | virtual StringName get_rpc_method(uint16_t p_id) const = 0; | ^~~~~~ ./core/script_language.h:227:34: note: 'virtual MultiplayerAPI::RPCMode ScriptInstance::get_rpc_mode_by_id(uint16_t) const' 227 | virtual MultiplayerAPI::RPCMode get_rpc_mode_by_id(uint16_t p_id) const = 0; | ^~~~~~ ./core/script_language.h:230:32: note: 'virtual Vector ScriptInstance::get_rset_properties() const' 230 | virtual Vector get_rset_properties() const = 0; | ^~~~~~~ ./core/script_language.h:231:19: note: 'virtual uint16_t ScriptInstance::get_rset_property_id(const StringName&) const' 231 | virtual uint16_t get_rset_property_id(const StringName &p_variable) const = 0; | ^~~~~~~~ ./core/script_language.h:232:21: note: 'virtual StringName ScriptInstance::get_rset_property(uint16_t) const' 232 | virtual StringName get_rset_property(uint16_t p_id) const = 0; | ^~~~~ ./core/script_language.h:233:34: note: 'virtual MultiplayerAPI::RPCMode ScriptInstance::get_rset_mode_by_id(uint16_t) const' 233 | virtual MultiplayerAPI::RPCMode get_rset_mode_by_id(uint16_t p_id) const = 0; | ^~~~~~~ modules/luascript/lua_script.cpp:91:34: error: 'acquire' is not a member of 'LuaScriptLanguage' 91 | auto guard = LuaScriptLanguage::acquire(); | ^~~ modules/luascript/lua_script.cpp: In member function 'virtual bool LuaScript::instance_has(const Object) const': modules/luascript/lua_script.cpp:113:34: error: 'acquire' is not a member of 'LuaScriptLanguage' 113 | auto guard = LuaScriptLanguage::acquire(); | ^~~ modules/luascript/lua_script.cpp: In member function 'virtual Error LuaScript::reload(bool)': modules/luascript/lua_script.cpp:148:35: error: 'acquire' is not a member of 'LuaScriptLanguage' 148 | auto guard = LuaScriptLanguage::acquire(); | ^~~ modules/luascript/lua_script.cpp: In member function 'Error LuaScript::load_source_code(const String&)': modules/luascript/lua_script.cpp:268:2: error: 'PoolVector' was not declared in this scope; did you mean 'Vector'? 268 | PoolVector buffer; | ^~~~~~ | Vector modules/luascript/lua_script.cpp:268:20: error: expected primary-expression before '>' token 268 | PoolVector buffer; | ^ modules/luascript/lua_script.cpp:268:22: error: 'buffer' was not declared in this scope; did you mean 'setbuffer'? 268 | PoolVector buffer; | ^~ | setbuffer modules/luascript/lua_script.cpp:273:20: error: expected primary-expression before '>' token 273 | PoolVector::Write w = buffer.write(); | ^ modules/luascript/lua_script.cpp:273:23: error: '::Write' has not been declared; did you mean 'fwrite'? 273 | PoolVector::Write w = buffer.write(); | ^~~~~ | fwrite modules/luascript/lua_script.cpp:275:27: error: 'w' was not declared in this scope 275 | int r = file->get_buffer(w.ptr(), len); | ^ modules/luascript/lua_script.cpp: At global scope: modules/luascript/lua_script.cpp:324:65: error: 'Variant::CallError' has not been declared 324 | Variant LuaScript::_new(const Variant p_args, int p_argcount, Variant::CallError &r_error) { // TODO | ^~~ In file included from ./core/resource.h:34, from ./core/input/input_event.h:36, from ./core/os/main_loop.h:34, from ./core/engine.h:35, from ./core/os/os.h:34, from modules/luascript/lua_script.cpp:20: ./core/class_db.h: In instantiation of 'static MethodBind ClassDB::bind_vararg_method(uint32_t, StringName, M, const MethodInfo&, const Vector&, bool) [with M = Variant (LuaScript::)(const Variant, int, int&); uint32_t = unsigned int]': modules/luascript/lua_script.cpp:298:111: required from here ./core/class_db.h:303:47: error: no matching function for call to 'create_vararg_method_bind(Variant (LuaScript::*&)(const Variant, int, int&), const MethodInfo&, bool&)' 303 | MethodBind bind = create_vararg_method_bind(p_method, p_info, p_return_nil_is_variant); | ~~~~~^~~~~~~~~~~ In file included from ./core/class_db.h:34, from ./core/resource.h:34, from ./core/input/input_event.h:36, from ./core/os/main_loop.h:34, from ./core/engine.h:35, from ./core/os/os.h:34, from modules/luascript/lua_script.cpp:20: ./core/method_bind.h:377:13: note: candidate: 'template MethodBind create_vararg_method_bind(Variant (T::*)(const Variant, int, Callable::CallError&), const MethodInfo&, bool)' 377 | MethodBind create_vararg_method_bind(Variant (T::p_method)(const Variant , int, Callable::CallError &), const MethodInfo &p_info, bool p_return_nil_is_variant) { | ^~~~~~~~~ ./core/method_bind.h:377:13: note: template argument deduction/substitution failed: In file included from ./core/resource.h:34, from ./core/input/input_event.h:36, from ./core/os/main_loop.h:34, from ./core/engine.h:35, from ./core/os/os.h:34, from modules/luascript/lua_script.cpp:20: ./core/class_db.h:303:47: note: mismatched types 'Callable::CallError' and 'int' 303 | MethodBind *bind = create_vararg_method_bind(p_method, p_info, p_return_nil_is_variant); | ~~~~~^~~~~~~~~~~ scons: ** [modules/luascript/debug.linuxbsd.tools.64.o] Error 1 scons: [modules/luascript/lua_script.linuxbsd.tools.64.o] Error 1 In file included from modules/luascript/editor/luascript_syntax_highlighter.cpp:20: modules/luascript/editor/luascript_syntax_highlighter.h:33:29: error: 'HighlighterInfo' is not a member of 'TextEdit' 33 | virtual Map<int, TextEdit::HighlighterInfo> _get_line_syntax_highlighting(int p_line); | ^~~~~~~ modules/luascript/editor/luascript_syntax_highlighter.h:33:44: error: template argument 2 is invalid 33 | virtual Map<int, TextEdit::HighlighterInfo> _get_line_syntax_highlighting(int p_line); | ^ modules/luascript/editor/luascript_syntax_highlighter.h:33:46: error: conflicting return type specified for 'virtual int LuaScriptSyntaxHighlighter::_get_line_syntax_highlighting(int)' 33 | virtual Map<int, TextEdit::HighlighterInfo> _get_line_syntax_highlighting(int p_line); | ^~~~~~~~~ In file included from ./scene/gui/text_edit.h:38, from modules/luascript/editor/luascript_syntax_highlighter.h:22, from modules/luascript/editor/luascript_syntax_highlighter.cpp:20: ./scene/resources/syntax_highlighter.h:53:21: note: overridden function is 'virtual Dictionary SyntaxHighlighter::_get_line_syntax_highlighting(int)' 53 | virtual Dictionary _get_line_syntax_highlighting(int p_line) { return Dictionary(); } | ^~~~~~~~~ modules/luascript/editor/luascript_syntax_highlighter.cpp:43:20: error: 'HighlighterInfo' is not a member of 'TextEdit' 43 | Map<int, TextEdit::HighlighterInfo> LuaScriptSyntaxHighlighter::_get_line_syntax_highlighting(int p_line) { | ^~~~~~~ modules/luascript/editor/luascript_syntax_highlighter.cpp:43:35: error: template argument 2 is invalid 43 | Map<int, TextEdit::HighlighterInfo> LuaScriptSyntaxHighlighter::_get_line_syntax_highlighting(int p_line) { | ^ modules/luascript/editor/luascript_syntax_highlighter.cpp: In member function 'virtual int LuaScriptSyntaxHighlighter::_get_line_syntax_highlighting(int)': modules/luascript/editor/luascript_syntax_highlighter.cpp:44:23: error: 'text_editor' was not declared in this scope; did you mean 'text_edit'? 44 | const String &line = text_editor->get_line(p_line); | ^~~ | text_edit modules/luascript/editor/luascript_syntax_highlighter.cpp:47:21: error: 'HighlighterInfo' is not a member of 'TextEdit' 47 | Map<int, TextEdit::HighlighterInfo> lsh_map; | ^~~~~~~ modules/luascript/editor/luascript_syntax_highlighter.cpp:47:36: error: template argument 2 is invalid 47 | Map<int, TextEdit::HighlighterInfo> lsh_map; | ^ In file included from modules/luascript/lua_script_instance.h:22, from modules/luascript/lua_script_instance.cpp:20: modules/luascript/lua_script.h:110:55: error: 'Variant::CallError' has not been declared 110 | Variant _new(const Variant p_args, int p_argcount, Variant::CallError &r_error); | ^~~ In file included from modules/luascript/lua_script_instance.cpp:20: modules/luascript/lua_script_instance.h:46:91: error: 'Variant::CallError' has not been declared 46 | virtual Variant call(const StringName &p_method, const Variant p_args, int p_argcount, Variant::CallError &r_error); | ^~~ In file included from modules/luascript/lua_script_instance.cpp:23: modules/luascript/lua_script_language.h:38:35: error: deduced class type 'MutexLock' in function return type 38 | _FORCEINLINE static MutexLock &acquire() { | ^~~ In file included from ./core/safe_refcount.h:34, from ./core/os/memory.h:35, from ./core/list.h:35, from ./core/method_bind.h:38, from ./core/class_db.h:34, from ./core/reference.h:34, from ./core/io/stream_peer.h:34, from ./core/io/packet_peer.h:34, from ./core/io/networked_multiplayer_peer.h:34, from ./core/io/multiplayer_api.h:34, from ./core/script_language.h:34, from modules/luascript/lua_script.h:22, from modules/luascript/lua_script_instance.h:22, from modules/luascript/lua_script_instance.cpp:20: ./core/os/mutex.h:60:7: note: 'template class MutexLock' declared here 60 | class MutexLock { | ^~~~~ In file included from modules/luascript/lua_script_instance.cpp:23: modules/luascript/lua_script_language.h:72:82: error: 'PoolStringArray' does not name a type; did you mean 'PackedStringArray'? 72 | virtual String make_function(const String &p_class, const String &p_name, const PoolStringArray &p_args) const; | ^~~~~~~ | PackedStringArray modules/luascript/lua_script_instance.cpp: In destructor 'virtual LuaScriptInstance::~LuaScriptInstance()': modules/luascript/lua_script_instance.cpp:35:35: error: 'acquire' is not a member of 'LuaScriptLanguage' 35 | auto guard = LuaScriptLanguage::acquire(); | ^~~ modules/luascript/lua_script_instance.cpp: At global scope: modules/luascript/lua_script_instance.cpp:80:101: error: 'Variant::CallError' has not been declared 80 | Variant LuaScriptInstance::call(const StringName &p_method, const Variant p_args, int p_argcount, Variant::CallError &r_error) { | ^~~ modules/luascript/lua_script_instance.cpp: In member function 'virtual Variant LuaScriptInstance::call(const StringName&, const Variant, int, int&)': modules/luascript/lua_script_instance.cpp:89:10: error: request for member 'error' in 'r_error', which is of non-class type 'int' 89 | r_error.error = Variant::CallError::CALL_ERROR_INVALID_METHOD; | ^~~~~ modules/luascript/lua_script_instance.cpp:89:27: error: 'Variant::CallError' has not been declared 89 | r_error.error = Variant::CallError::CALL_ERROR_INVALID_METHOD; | ^~~~~ modules/luascript/lua_script_instance.cpp: In member function 'virtual void LuaScriptInstance::call_multilevel(const StringName&, const Variant, int)': modules/luascript/lua_script_instance.cpp:97:11: error: 'CallError' is not a member of 'Variant' 97 | Variant::CallError error; | ^~~~~ modules/luascript/lua_script_instance.cpp:98:43: error: 'error' was not declared in this scope; did you mean 'perror'? 98 | this->call(p_method, p_args, p_argcount, error); | ^~~~~ | perror modules/luascript/lua_script_instance.cpp: In member function 'virtual void LuaScriptInstance::call_multilevel_reversed(const StringName&, const Variant, int)': modules/luascript/lua_script_instance.cpp:107:11: error: 'CallError' is not a member of 'Variant' 107 | Variant::CallError error; | ^~~~~ modules/luascript/lua_script_instance.cpp:108:43: error: 'error' was not declared in this scope; did you mean 'perror'? 108 | this->call(p_method, p_args, p_argcount, error); | ^~~~~ | perror scons: [modules/luascript/editor/luascript_syntax_highlighter.linuxbsd.tools.64.o] Error 1 scons: [modules/luascript/lua_script_instance.linuxbsd.tools.64.o] Error 1 scons: building terminated because of errors.

perbone commented 4 years ago

Interesting all this Antlr4 things are new and I may or may not had create new bugs. I'll have new commits this week end and I hope this error will be solved. Just one note though is that I don't have a Windows enviroment so your input will be much appreciated. -- Perbone

Lufen34 commented 4 years ago

Hello thank you for your reply !

I can indeed send you the output that I get, I'm just afraid that it is actually really huge.

Feel free to remove my comment if indeed it takes too much space :

scons: Reading SConscript files ...
Configuring for Windows: target=debug, bits=default
Found MSVC version 14.2, arch amd64, bits=64
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
[ 26%] Compiling ==> modules\luascript\lib\antlr4\CommonToken.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\CommonTokenFactory.cpp
[ 26%] CommonToken.cpp==> modules\luascript\lib\antlr4\ConsoleErrorListener.cpp

[ 26%] ConsoleErrorListener.cpp
CommonTokenFactory.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\Exceptions.cpp
Exceptions.cpp
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
modules\luascript\lib\antlr4\ConsoleErrorListener.cpp(10): warning C4273: 'INSTANCE': inconsistent dll linkage
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\ConsoleErrorListener.h(17): note: see previous definition of 'public: static antlr4::ConsoleErrorListener antlr4::ConsoleErrorListener::INSTANCE'
modules\luascript\lib\antlr4\ConsoleErrorListener.cpp(10): error C2491: 'antlr4::ConsoleErrorListener::INSTANCE': definition of dllimport static data member not allowed
modules\luascript\lib\antlr4\ConsoleErrorListener.cpp(13): warning C4273: 'antlr4::ConsoleErrorListener::syntaxError': inconsistent dll linkage
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\ConsoleErrorListener.h(31): note: see previous definition of 'syntaxError'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): warning C4251: 'antlr4::ProxyErrorListener::_delegates': class 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>' needs to have dll-interface to be used by clients of class 'antlr4::ProxyErrorListener'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): note: see declaration of 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(150): warning C4251: 'antlr4::Recognizer::_mutex': class 'std::mutex' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\mutex(87): note: see declaration of 'std::mutex'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(153): warning C4251: 'antlr4::Recognizer::_tokenTypeMapCache': class 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<const antlr4::dfa::Vocabulary *>,std::allocator<std::pair<const antlr4::dfa::Vocabulary *const ,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(153): note: see declaration of 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<const antlr4::dfa::Vocabulary *>,std::allocator<std::pair<const antlr4::dfa::Vocabulary *const ,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(154): warning C4251: 'antlr4::Recognizer::_ruleIndexMapCache': class 'std::map<std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<std::vector<std::string,std::allocator<std::string>>>,std::allocator<std::pair<const std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(154): note: see declaration of 'std::map<std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<std::vector<std::string,std::allocator<std::string>>>,std::allocator<std::pair<const std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Vocabulary.h(186): warning C4251: 'antlr4::dfa::Vocabulary::_literalNames': class 'std::vector<std::string,std::allocator<std::string>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(28): note: see declaration of 'std::vector<std::string,std::allocator<std::string>>'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Vocabulary.h(187): warning C4251: 'antlr4::dfa::Vocabulary::_symbolicNames': class 'std::vector<std::string,std::allocator<std::string>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(28): note: see declaration of 'std::vector<std::string,std::allocator<std::string>>'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Vocabulary.h(188): warning C4251: 'antlr4::dfa::Vocabulary::_displayNames': class 'std::vector<std::string,std::allocator<std::string>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(28): note: see declaration of 'std::vector<std::string,std::allocator<std::string>>'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): warning C4251: 'antlr4::CommonToken::EMPTY_SOURCE': struct 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\TokenFactory.h(23): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(53): warning C4251: 'antlr4::CommonToken::_source': struct 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\TokenFactory.h(23): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(61): warning C4251: 'antlr4::CommonToken::_text': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'

modules\luascript\lib\antlr4\CommonToken.cpp(23): warning C4273: 'EMPTY_SOURCE': inconsistent dll linkageC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): note: see previous definition of 'protected: static std::pair<antlr4::TokenSource *,antlr4::CharStream *> const antlr4::CommonToken::EMPTY_SOURCE'C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): warning C4251: 'antlr4::CommonToken::EMPTY_SOURCE': struct 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'

modules\luascript\lib\antlr4\CommonToken.cpp(23): error C2491: 'antlr4::CommonToken::EMPTY_SOURCE': definition of dllimport static data member not allowedC:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'

modules\luascript\lib\antlr4\CommonToken.cpp(25): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkageC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(53): warning C4251: 'antlr4::CommonToken::_source': struct 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(87): note: see previous definition of '{ctor}'
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'

modules\luascript\lib\antlr4\CommonToken.cpp(30): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkageC:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(61): warning C4251: 'antlr4::CommonToken::_text': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(88): note: see previous definition of '{ctor}'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'modules\luascript\lib\antlr4\CommonToken.cpp(43): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkage

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(25): warning C4251: 'antlr4::CommonTokenFactory::DEFAULT': class 'std::unique_ptr<antlr4::TokenFactory<antlr4::CommonToken>,std::default_delete<antlr4::TokenFactory<antlr4::CommonToken>>>' needs to have dll-interface to be used by clients of class 'antlr4::CommonTokenFactory'modules\luascript\lib\antlr4\Exceptions.cpp(10): warning C4273: 'antlr4::RuntimeException::RuntimeException': inconsistent dll linkageC:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(97): note: see previous definition of '{ctor}'

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(25): note: see declaration of 'std::unique_ptr<antlr4::TokenFactory<antlr4::CommonToken>,std::default_delete<antlr4::TokenFactory<antlr4::CommonToken>>>'C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(17): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\CommonToken.cpp(51): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkage

modules\luascript\lib\antlr4\Exceptions.cpp(13): warning C4273: 'antlr4::RuntimeException::what': inconsistent dll linkagemodules\luascript\lib\antlr4\CommonTokenFactory.cpp(14): warning C4273: 'DEFAULT': inconsistent dll linkageC:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(112): note: see previous definition of '{ctor}'

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(19): note: see previous definition of 'what'C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(25): note: see previous definition of 'public: static std::unique_ptr<antlr4::TokenFactory<antlr4::CommonToken>,std::default_delete<antlr4::TokenFactory<antlr4::CommonToken> > > const antlr4::CommonTokenFactory::DEFAULT'

modules\luascript\lib\antlr4\Exceptions.cpp(19): warning C4273: 'antlr4::IOException::IOException': inconsistent dll linkagemodules\luascript\lib\antlr4\CommonTokenFactory.cpp(14): error C2491: 'antlr4::CommonTokenFactory::DEFAULT': definition of dllimport static data member not allowedmodules\luascript\lib\antlr4\CommonToken.cpp(70): warning C4273: 'antlr4::CommonToken::getType': inconsistent dll linkage

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(78): note: see previous definition of '{ctor}'modules\luascript\lib\antlr4\CommonTokenFactory.cpp(16): warning C4273: 'antlr4::CommonTokenFactory::CommonTokenFactory': inconsistent dll linkageC:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(114): note: see previous definition of 'getType'scons: *** [modules\luascript\lib\antlr4\ConsoleErrorListener.windows.tools.64.obj] Error 2

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(56): note: see previous definition of '{ctor}'modules\luascript\lib\antlr4\Exceptions.cpp(22): warning C4273: 'antlr4::IOException::what': inconsistent dll linkagemodules\luascript\lib\antlr4\CommonToken.cpp(74): warning C4273: 'antlr4::CommonToken::setLine': inconsistent dll linkage

modules\luascript\lib\antlr4\CommonTokenFactory.cpp(19): warning C4273: 'antlr4::CommonTokenFactory::CommonTokenFactory': inconsistent dll linkageC:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(80): note: see previous definition of 'what'C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(128): note: see previous definition of 'setLine'

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(66): note: see previous definition of '{ctor}'modules\luascript\lib\antlr4\Exceptions.cpp(28): warning C4273: 'antlr4::IllegalStateException::~IllegalStateException': inconsistent dll linkagemodules\luascript\lib\antlr4\CommonToken.cpp(78): warning C4273: 'antlr4::CommonToken::getText': inconsistent dll linkage

modules\luascript\lib\antlr4\CommonTokenFactory.cpp(23): warning C4273: 'antlr4::CommonTokenFactory::create': inconsistent dll linkageC:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(26): note: see previous definition of '{dtor}'C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(126): note: see previous definition of 'getText'

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(68): note: see previous definition of 'create'modules\luascript\lib\antlr4\Exceptions.cpp(33): warning C4273: 'antlr4::IllegalArgumentException::~IllegalArgumentException': inconsistent dll linkagemodules\luascript\lib\antlr4\CommonToken.cpp(95): warning C4273: 'antlr4::CommonToken::setText': inconsistent dll linkage

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(34): note: see previous definition of '{dtor}'C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(125): note: see previous definition of 'setText'

modules\luascript\lib\antlr4\CommonTokenFactory.cpp(37): warning C4273: 'antlr4::CommonTokenFactory::create': inconsistent dll linkagemodules\luascript\lib\antlr4\Exceptions.cpp(38): warning C4273: 'antlr4::NullPointerException::~NullPointerException': inconsistent dll linkage

modules\luascript\lib\antlr4\CommonToken.cpp(99): warning C4273: 'antlr4::CommonToken::getLine': inconsistent dll linkageC:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(71): note: see previous definition of 'create'C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(42): note: see previous definition of '{dtor}'

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(129): note: see previous definition of 'getLine'modules\luascript\lib\antlr4\Exceptions.cpp(43): warning C4273: 'antlr4::IndexOutOfBoundsException::~IndexOutOfBoundsException': inconsistent dll linkage

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(50): note: see previous definition of '{dtor}'modules\luascript\lib\antlr4\CommonToken.cpp(103): warning C4273: 'antlr4::CommonToken::getCharPositionInLine': inconsistent dll linkage

modules\luascript\lib\antlr4\Exceptions.cpp(48): warning C4273: 'antlr4::UnsupportedOperationException::~UnsupportedOperationException': inconsistent dll linkageC:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(131): note: see previous definition of 'getCharPositionInLine'

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(58): note: see previous definition of '{dtor}'modules\luascript\lib\antlr4\CommonToken.cpp(107): warning C4273: 'antlr4::CommonToken::setCharPositionInLine': inconsistent dll linkage

scons: *** [modules\luascript\lib\antlr4\CommonTokenFactory.windows.tools.64.obj] Error 2
modules\luascript\lib\antlr4\Exceptions.cpp(53): warning C4273: 'antlr4::EmptyStackException::~EmptyStackException': inconsistent dll linkageC:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(132): note: see previous definition of 'setCharPositionInLine'

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(67): note: see previous definition of '{dtor}'modules\luascript\lib\antlr4\CommonToken.cpp(111): warning C4273: 'antlr4::CommonToken::getChannel': inconsistent dll linkage

modules\luascript\lib\antlr4\Exceptions.cpp(58): warning C4273: 'antlr4::CancellationException::~CancellationException': inconsistent dll linkageC:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(134): note: see previous definition of 'getChannel'

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(87): note: see previous definition of '{dtor}'modules\luascript\lib\antlr4\CommonToken.cpp(115): warning C4273: 'antlr4::CommonToken::setChannel': inconsistent dll linkage

modules\luascript\lib\antlr4\Exceptions.cpp(63): warning C4273: 'antlr4::ParseCancellationException::~ParseCancellationException': inconsistent dll linkageC:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(135): note: see previous definition of 'setChannel'

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(95): note: see previous definition of '{dtor}'modules\luascript\lib\antlr4\CommonToken.cpp(119): warning C4273: 'antlr4::CommonToken::setType': inconsistent dll linkage

C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(137): note: see previous definition of 'setType'
modules\luascript\lib\antlr4\CommonToken.cpp(123): warning C4273: 'antlr4::CommonToken::getStartIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(139): note: see previous definition of 'getStartIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(127): warning C4273: 'antlr4::CommonToken::setStartIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(140): note: see previous definition of 'setStartIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(131): warning C4273: 'antlr4::CommonToken::getStopIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(142): note: see previous definition of 'getStopIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(135): warning C4273: 'antlr4::CommonToken::setStopIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(143): note: see previous definition of 'setStopIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(139): warning C4273: 'antlr4::CommonToken::getTokenIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(145): note: see previous definition of 'getTokenIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(143): warning C4273: 'antlr4::CommonToken::setTokenIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(146): note: see previous definition of 'setTokenIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(147): warning C4273: 'antlr4::CommonToken::getTokenSource': inconsistent dll linkage
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(148): note: see previous definition of 'getTokenSource'
modules\luascript\lib\antlr4\CommonToken.cpp(151): warning C4273: 'antlr4::CommonToken::getInputStream': inconsistent dll linkage
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(149): note: see previous definition of 'getInputStream'
modules\luascript\lib\antlr4\CommonToken.cpp(155): warning C4273: 'antlr4::CommonToken::toString': inconsistent dll linkage
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(151): note: see previous definition of 'toString'
modules\luascript\lib\antlr4\CommonToken.cpp(159): warning C4273: 'antlr4::CommonToken::toString': inconsistent dll linkage
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(153): note: see previous definition of 'toString'
modules\luascript\lib\antlr4\CommonToken.cpp(186): warning C4273: 'antlr4::CommonToken::InitializeInstanceFields': inconsistent dll linkage
C:\Users\Lufen\Documents\Godot\godot+lua\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(155): note: see previous definition of 'InitializeInstanceFields'
scons: *** [modules\luascript\lib\antlr4\CommonToken.windows.tools.64.obj] Error 2
scons: building terminated because of errors.
MetlHedd commented 3 years ago

Same erros found when building for windows with github actions. You can see full logs here: https://github.com/MetlHedd/luascript/actions/runs/242093569 The linux build did fine, but can't test it since I'm using WSL2, check here: https://github.com/MetlHedd/luascript/actions/runs/242093568

The build scripts is based from official github from godot.

perbone commented 3 years ago

Guys I can't reproduce the error. Please make sure 1) You already successfully compiled Godot WITHOUT LuaScript (that will eliminate any false problem) 2) You have a C++17 compatible compiler If all of this pass, than there is a problema that I can't see ate the moment. -- Perbone

MetlHedd commented 3 years ago

I did change to c++17 and now get this error:

modules\luascript\lib\antlr4\CommonTokenFactory.cpp(14): error C2491: 'antlr4::CommonTokenFactory::DEFAULT': definition of dllimport static data member not allowedmodules\luascript\lib\antlr4\CommonToken.cpp(23): error C2491: 'antlr4::CommonToken::EMPTY_SOURCE': definition of dllimport static data member not allowed

Full logs can be get here: https://github.com/MetlHedd/luascript/runs/1083722165?check_suite_focus=true#step:7:1444

perbone commented 3 years ago

You don't need to change any flag, scons do that automatic. What I ask is if your compiler supports C++17.

Lufen34 commented 3 years ago

Hi !

I indeed did compile godot before and then tried to recompile it afterward with the lua module.

And my compiler is indeed compatible 2017. Tho I did not specify the c++17 as (of what I understood by browsing) scons choose by default the version he needs in the configuration of the build system.

I will give it a try tonight !

And like @MetlHedd we both have issues related to antlr4 as he got also the C2491 etc. I'll try to investigate once I have a bit of time and if i find a fix i'll try to share it here.

thanks for your time !

EDIT: I just saw your post about the "c++17" so i guess I do not need to worry about it.

Lufen34 commented 3 years ago

What I have tried just now (I had a bit of time to kill) :

I found this that might give you an hint of the issue ?

perbone commented 3 years ago

Hi, Please kindly try the latest sources from master and share here if the problem have been fixed. -- Perbone

Lufen34 commented 3 years ago

Hello !

Sadly still the same issues, and your parameters -std=c++17 is ignored


[ 25%] Compiling ==> modules\luascript\lib\antlr4\ANTLRErrorStrategy.cpp
cl : Command line warning D9002 : ignoring unknown option '-std=c++17'
ANTLRErrorListener.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\ANTLRFileStream.cpp
cl : Command line warning D9002 : ignoring unknown option '-std=c++17'
ANTLRErrorStrategy.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\ANTLRInputStream.cpp
cl : Command line warning D9002 : ignoring unknown option '-std=c++17'
ANTLRFileStream.cpp
cl : Command line warning D9002 : ignoring unknown option '-std=c++17'
ANTLRInputStream.cpp
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
modules\luascript\lib\antlr4\ANTLRErrorStrategy.cpp(9): warning C4273: 'antlr4::ANTLRErrorStrategy::~ANTLRErrorStrategy': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRErrorStrategy.h(35): note: see previous definition of '{dtor}'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
modules\luascript\lib\antlr4\ANTLRErrorListener.cpp(9): warning C4273: 'antlr4::ANTLRErrorListener::~ANTLRErrorListener': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRErrorListener.h(19): note: see previous definition of '{dtor}'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(19): warning C4251: 'antlr4::ANTLRInputStream::_data': class 'std::basic_string<int,std::char_traits<int>,std::allocator<int>>' needs to have dll-interface to be used by clients of class 'antlr4::ANTLRInputStream'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\antlr4-common.h(64): note: see declaration of 'std::basic_string<int,std::char_traits<int>,std::allocator<int>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(26): warning C4251: 'antlr4::ANTLRInputStream::name': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::ANTLRInputStream'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRFileStream.h(17): warning C4251: 'antlr4::ANTLRFileStream::_fileName': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::ANTLRFileStream'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
modules\luascript\lib\antlr4\ANTLRFileStream.cpp(12): warning C4273: 'antlr4::ANTLRFileStream::ANTLRFileStream': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRFileStream.h(21): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\ANTLRFileStream.cpp(17): warning C4273: 'antlr4::ANTLRFileStream::loadFromFile': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRFileStream.h(23): note: see previous definition of 'loadFromFile'
modules\luascript\lib\antlr4\ANTLRFileStream.cpp(32): warning C4273: 'antlr4::ANTLRFileStream::getSourceName': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRFileStream.h(24): note: see previous definition of 'getSourceName'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(19): warning C4251: 'antlr4::ANTLRInputStream::_data': class 'std::basic_string<int,std::char_traits<int>,std::allocator<int>>' needs to have dll-interface to be used by clients of class 'antlr4::ANTLRInputStream'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\antlr4-common.h(64): note: see declaration of 'std::basic_string<int,std::char_traits<int>,std::allocator<int>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(26): warning C4251: 'antlr4::ANTLRInputStream::name': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::ANTLRInputStream'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(20): warning C4273: 'antlr4::ANTLRInputStream::ANTLRInputStream': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(28): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(26): warning C4273: 'antlr4::ANTLRInputStream::ANTLRInputStream': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(29): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(29): warning C4273: 'antlr4::ANTLRInputStream::ANTLRInputStream': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(30): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(34): warning C4273: 'antlr4::ANTLRInputStream::load': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(32): note: see previous definition of 'load'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(44): warning C4273: 'antlr4::ANTLRInputStream::load': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(33): note: see previous definition of 'load'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(54): warning C4273: 'antlr4::ANTLRInputStream::reset': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(38): note: see previous definition of 'reset'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(58): warning C4273: 'antlr4::ANTLRInputStream::consume': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(39): note: see previous definition of 'consume'
[ 26%] modules\luascript\lib\antlr4\ANTLRInputStream.cpp(69): warning C4273: 'antlr4::ANTLRInputStream::LA': inconsisten[ 26%] inkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(40): note: see previous definition of 'LA'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(89): warning C4273: 'antlr4::ANTLRInputStream::LT': inconsistent dll l[ 26%]
[ 26%] C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(41): note: see previous definition of 'LT'
[ 26%] modules\luascript\lib\antlr4\ANTLRInputStream.cpp(93): warning C4273: 'antlr4::ANTLRInputStream::index': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(48): note: see previou[ 26%] ition of 'index'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(97): warning C4273: 'antlr4::ANTLRInputStream::size': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(49): note: see previous definition of 'size'
[ 26%] modules\luascript\lib\antlr4\ANTLRInputStream.cpp(102): warning C4273: 'antlr4::ANTLRInputStream::mark': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(53): note: see previou[ 26%] ition of 'mark'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(106): warning C4273: 'antlr4::ANTLRInputStream::release': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(54): note: see previou[ 26%] ition of 'release'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(109): warning C4273: 'antlr4::ANTLRInputStream::seek': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(60): note: see previous definition of 'seek'
[ 26%] modules\luascript\lib\antlr4\ANTLRInputStream.cpp(121): warning C4273: 'antlr4::ANTLRInputStream::getText': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(61): note: see previou[ 26%] ition of 'getText'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(142): warning C4273: 'antlr4::ANTLRInputStream::getSourceName': incons[ 26%] dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(62): note: see previous definition of 'getSourceName'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(149): warning C4273: 'antlr4::ANTLRInputStream::toString': inconsisten[ 26%] inkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(63): note: see previous definition of 'toString'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(153): warning C4273: 'antlr4::ANTLRInputStream::InitializeInstanceFields': inconsistent dll linkage
[ 26%] C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ANTLRInputStream.h(66): note: see previous definition of 'InitializeInstanceFields'
[ 26%] Compiling ==> modules\luascript\lib\antlr4\BailErrorStrategy.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\BaseErrorListener.cpp
cl : Command line warning D9002 : ignoring unknown option '-std=c++17'
BailErrorStrategy.cpp
cl : Command line warning D9002 : ignoring unknown option '-std=c++17'
BaseErrorListener.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\BufferedTokenStream.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\CharStream.cpp
cl : Command line warning D9002 : ignoring unknown option '-std=c++17'
BufferedTokenStream.cpp
cl : Command line warning D9002 : ignoring unknown option '-std=c++17'
CharStream.cpp
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
modules\luascript\lib\antlr4\BaseErrorListener.cpp(12): warning C4273: 'antlr4::BaseErrorListener::syntaxError': inconsistent dll linkageC:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(38): warning C4251: 'antlr4::tree::ParseTree::children': class 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>' needs to have dll-interface to be used by clients of class 'antlr4::tree::ParseTree'

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BaseErrorListener.h(23): note: see previous definition of 'syntaxError'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>'

modules\luascript\lib\antlr4\BaseErrorListener.cpp(16): warning C4273: 'antlr4::BaseErrorListener::reportAmbiguity': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(97): warning C4251: 'antlr4::tree::ParseTreeTracker::_allocated': class 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>' needs to have dll-interface to be used by clients of class 'antlr4::tree::ParseTreeTracker'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BaseErrorListener.h(26): note: see previous definition of 'reportAmbiguity'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>'

modules\luascript\lib\antlr4\BaseErrorListener.cpp(20): warning C4273: 'antlr4::BaseErrorListener::reportAttemptingFullContext': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BaseErrorListener.h(29): note: see previous definition of 'reportAttemptingFullContext'
modules\luascript\lib\antlr4\BaseErrorListener.cpp(24): warning C4273: 'antlr4::BaseErrorListener::reportContextSensitivity': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BaseErrorListener.h(32): note: see previous definition of 'reportContextSensitivity'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ParserRuleContext.h(66): warning C4251: 'antlr4::ParserRuleContext::exception': class 'std::exception_ptr' needs to have dll-interface to be used by clients of class 'antlr4::ParserRuleContext'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\exception(214): note: see declaration of 'std::exception_ptr'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): warning C4251: 'antlr4::ProxyErrorListener::_delegates': class 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>' needs to have dll-interface to be used by clients of class 'antlr4::ProxyErrorListener'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): note: see declaration of 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(150): warning C4251: 'antlr4::Recognizer::_mutex': class 'std::mutex' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\mutex(87): note: see declaration of 'std::mutex'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(153): warning C4251: 'antlr4::Recognizer::_tokenTypeMapCache': class 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<const antlr4::dfa::Vocabulary *>,std::allocator<std::pair<const antlr4::dfa::Vocabulary *const ,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(153): note: see declaration of 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<const antlr4::dfa::Vocabulary *>,std::allocator<std::pair<const antlr4::dfa::Vocabulary *const ,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(154): warning C4251: 'antlr4::Recognizer::_ruleIndexMapCache': class 'std::map<std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<std::vector<std::string,std::allocator<std::string>>>,std::allocator<std::pair<const std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(154): note: see declaration of 'std::map<std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<std::vector<std::string,std::allocator<std::string>>>,std::allocator<std::pair<const std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Parser.h(412): warning C4251: 'antlr4::Parser::_errHandler': class 'std::shared_ptr<antlr4::ANTLRErrorStrategy>' needs to have dll-interface to be used by clients of class 'antlr4::Parser'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\antlr4-common.h(137): note: see declaration of 'std::shared_ptr<antlr4::ANTLRErrorStrategy>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Parser.h(421): warning C4251: 'antlr4::Parser::_precedenceStack': class 'std::vector<int,std::allocator<int>>' needs to have dll-interface to be used by clients of class 'antlr4::Parser'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Parser.h(421): note: see declaration of 'std::vector<int,std::allocator<int>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Parser.h(434): warning C4251: 'antlr4::Parser::_parseListeners': class 'std::vector<antlr4::tree::ParseTreeListener *,std::allocator<antlr4::tree::ParseTreeListener *>>' needs to have dll-interface to be used by clients of class 'antlr4::Parser'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Parser.h(128): note: see declaration of 'std::vector<antlr4::tree::ParseTreeListener *,std::allocator<antlr4::tree::ParseTreeListener *>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Parser.h(455): warning C4251: 'antlr4::Parser::bypassAltsAtnCache': class 'std::map<std::vector<uint16_t,std::allocator<uint16_t>>,antlr4::atn::ATN,std::less<std::vector<uint16_t,std::allocator<uint16_t>>>,std::allocator<std::pair<const std::vector<uint16_t,std::allocator<uint16_t>>,antlr4::atn::ATN>>>' needs to have dll-interface to be used by clients of class 'antlr4::Parser'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Parser.h(455): note: see declaration of 'std::map<std::vector<uint16_t,std::allocator<uint16_t>>,antlr4::atn::ATN,std::less<std::vector<uint16_t,std::allocator<uint16_t>>>,std::allocator<std::pair<const std::vector<uint16_t,std::allocator<uint16_t>>,antlr4::atn::ATN>>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\misc/IntervalSet.h(33): warning C4251: 'antlr4::misc::IntervalSet::_intervals': class 'std::vector<antlr4::misc::Interval,std::allocator<antlr4::misc::Interval>>' needs to have dll-interface to be used by clients of class 'antlr4::misc::IntervalSet'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\misc/IntervalSet.h(33): note: see declaration of 'std::vector<antlr4::misc::Interval,std::allocator<antlr4::misc::Interval>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\DefaultErrorStrategy.h(462): warning C4251: 'antlr4::DefaultErrorStrategy::_errorSymbols': class 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>,std::allocator<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>>>' needs to have dll-interface to be used by clients of class 'antlr4::DefaultErrorStrategy'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\DefaultErrorStrategy.h(462): note: see declaration of 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>,std::allocator<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>>>'
modules\luascript\lib\antlr4\BailErrorStrategy.cpp(15): warning C4273: 'antlr4::BailErrorStrategy::recover': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BailErrorStrategy.h(48): note: see previous definition of 'recover'
modules\luascript\lib\antlr4\BailErrorStrategy.cpp(36): warning C4273: 'antlr4::BailErrorStrategy::recoverInline': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BailErrorStrategy.h(52): note: see previous definition of 'recoverInline'
modules\luascript\lib\antlr4\BailErrorStrategy.cpp(60): warning C4273: 'antlr4::BailErrorStrategy::sync': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BailErrorStrategy.h(56): note: see previous definition of 'sync'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): warning C4251: 'antlr4::ProxyErrorListener::_delegates': class 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>' needs to have dll-interface to be used by clients of class 'antlr4::ProxyErrorListener'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): note: see declaration of 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(150): warning C4251: 'antlr4::Recognizer::_mutex': class 'std::mutex' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer[ 26%]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\mutex(87): note: see dec[ 26%] n of 'std::mutex'
[ 26%] C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(153): warning C4251: 'antlr4::Recognizer::_tokenTypeMapCache': class 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<const antlr4::dfa::Vocabulary *>,std::allocator<std::pair<const antlr4::dfa::Vocabulary *const ,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Reco[ 26%]
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(153): note: see declaration of 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<const antlr4::dfa::Vocabulary *>,std::allocator<std::pair<const antlr4::dfa::Vocabulary *const ,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>'Compiling ==> modules\luascript\lib\antlr4\CommonToken.cpp

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(154): warning C4251: 'antlr4::Recognizer::_ruleIndexMapCache': class 'std::map<std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<std::vector<std::string,std::allocator<std::string>>>,std::allocator<std::pair<const std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(154): note: see declaration of 'std::map<std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<std::vector<std::string,std::allocator<std::string>>>,std::allocator<std::pair<const std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Lexer.h(48): warning C4251: 'antlr4::Lexer::token': class 'std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>' needs to have dll-interface to be used by clients of class 'antlr4::Lexer'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\TokenSource.h(35): note: see declaration of 'std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Lexer.h(75): warning C4251: 'antlr4::Lexer::modeStack': class 'std::vector<size_t,std::allocator<size_t>>' needs to have dll-interface to be used by clients of class 'antlr4::Lexer'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Lexer.h(75): note: see declaration of 'std::vector<size_t,std::allocator<size_t>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Lexer.h(189): warning C4251: 'antlr4::Lexer::_text': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::Lexer'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
modules\luascript\lib\antlr4\CharStream.cpp(10): warning C4273: 'antlr4::CharStream::~CharStream': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CharStream.h(16): note: see previous definition of '{dtor}'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(38): warning C4251: 'antlr4::tree::ParseTree::children': class 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>' needs to have dll-interface to be used by clients of class 'antlr4::tree::ParseTree'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(97): warning C4251: 'antlr4::tree::ParseTreeTracker::_allocated': class 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>' needs to have dll-interface to be used by clients of class 'antlr4::tree::ParseTreeTracker'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(108): warning C4251: 'antlr4::BufferedTokenStream::_tokens': class 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>,std::allocator<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>>>' needs to have dll-interface to be used by clients of class 'antlr4::BufferedTokenStream'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Lexer.h(165): note: see declaration of 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>,std::allocator<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>>>'cl : Command line warning D9002 :
ignoring unknown option '-std=c++17'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(18): warning C4273: 'antlr4::BufferedTokenStream::BufferedTokenStream': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(26): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(22): warning C4273: 'antlr4::BufferedTokenStream::getTokenSource': inconsistent dll linkageCommonToken.cpp

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(31): note: see previous definition of 'getTokenSource'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(26): warning C4273: 'antlr4::BufferedTokenStream::index': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(32): note: see previous definition of 'index'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(30): warning C4273: 'antlr4::BufferedTokenStream::mark': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(33): note: see previous definition of 'mark'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(34): warning C4273: 'antlr4::BufferedTokenStream::release': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(35): note: see previous definition of 'release'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(38): warning C4273: 'antlr4::BufferedTokenStream::reset': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(36): note: see previous definition of 'reset'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(42): warning C4273: 'antlr4::BufferedTokenStream::seek': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(37): note: see previous definition of 'seek'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(47): warning C4273: 'antlr4::BufferedTokenStream::size': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(39): note: see previous definition of 'size'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(51): warning C4273: 'antlr4::BufferedTokenStream::consume': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(40): note: see previous definition of 'consume'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(76): warning C4273: 'antlr4::BufferedTokenStream::sync': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(146): note: see previous definition of 'sync'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(89): warning C4273: 'antlr4::BufferedTokenStream::fetch': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(152): note: see previous definition of 'fetch'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(114): warning C4273: 'antlr4::BufferedTokenStream::get': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(42): note: see previous definition of 'get'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(124): warning C4273: 'antlr4::BufferedTokenStream::get': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(45): note: see previous definition of 'get'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(146): warning C4273: 'antlr4::BufferedTokenStream::LA': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(47): note: see prev[ 26%] finition of 'LA'
[ 26%] modules\luascript\lib\antlr4\BufferedTokenStream.cpp(150): warning C4273: 'antlr4::BufferedTokenStream::LB': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(154): note: see previous definition of 'LB'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(157): warning C4273: 'antlr4::BufferedTokenStream::LT': inconsisten[ 26%] inkage
Compiling ==> modules\luascript\lib\antlr4\CommonTokenFactory.cpp
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(48): note: see previous definition of 'LT'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(176): warning C4273: 'antlr4::BufferedTokenStream::adjustSeekIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(167): note: see previous definition of 'adjustSeekIndex'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(180): warning C4273: 'antlr4::BufferedTokenStream::lazyInit': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(168): note: see previous definition of 'lazyInit'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(186): warning C4273: 'antlr4::BufferedTokenStream::setup': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(169): note: see previous definition of 'setup'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(192): warning C4273: 'antlr4::BufferedTokenStream::setTokenSource': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(51): note: see previous definition of 'setTokenSource'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(199): warning C4273: 'antlr4::BufferedTokenStream::getTokens': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(52): note: see previous definition of 'getTokens'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(206): warning C4273: 'antlr4::BufferedTokenStream::getTokens': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(53): note: see previous definition of 'getTokens'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(210): warning C4273: 'antlr4::BufferedTokenStream::getTokens': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(60): note: see previous definition of 'getTokens'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(237): warning C4273: 'antlr4::BufferedTokenStream::getTokens': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(61): note: see previous definition of 'getTokens'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(243): warning C4273: 'antlr4::BufferedTokenStream::nextTokenOnChannel': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(177): note: see previous definition of 'nextTokenOnChannel'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(261): warning C4273: 'antlr4::BufferedTokenStream::previousTokenOnChannel': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(189): note: see previous definition of 'previousTokenOnChannel'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(281): warning C4273: 'antlr4::BufferedTokenStream::getHiddenTokensToRight': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(66): note: see previous definition of 'getHiddenTokensToRight'
cl : Command line warning D9002 : ignoring unknown option '-std=c++17'
CommonTokenFactory.cpp
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(300): warning C4273: 'antlr4::BufferedTokenStream::getHiddenTokensToRight': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(73): note: see previous definition of 'getHiddenTokensToRight'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(304): warning C4273: 'antlr4::BufferedTokenStream::getHiddenTokensToLeft': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(80): note: see previous definition of 'getHiddenTokensToLeft'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(326): warning C4273: 'antlr4::BufferedTokenStream::getHiddenTokensToLeft': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(86): note: see previous definition of 'getHiddenTokensToLeft'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(330): warning C4273: 'antlr4::BufferedTokenStream::filterForChannel': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(191): note: see previous definition of 'filterForChannel'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(348): warning C4273: 'antlr4::BufferedTokenStream::isInitialized': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(193): note: see previous definition of 'isInitialized'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(356): warning C4273: 'antlr4::BufferedTokenStream::getSourceName': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(88): note: see previous definition of 'getSourceName'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(360): warning C4273: 'antlr4::BufferedTokenStream::getText': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(89): note: see previous definition of 'getText'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(365): warning C4273: 'antlr4::BufferedTokenStream::getText': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(90): note: see previous definition of 'getText'
[ 26%] Compiling ==> modules\luascript\lib\antlr4\CommonTokenStream.cpp
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(388): warning C4273: 'antlr4::BufferedTokenStream::getText': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(91): note: see previous definition of 'getText'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(392): warning C4273: 'antlr4::BufferedTokenStream::getText': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(92): note: see previous definition of 'getText'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(400): warning C4273: 'antlr4::BufferedTokenStream::fill': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(95): note: see previous definition of 'fill'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(411): warning C4273: 'antlr4::BufferedTokenStream::InitializeInstanceFields': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(197): note: see previous definition of 'InitializeInstanceFields'
cl : Command line warning D9002 : ignoring unknown option '-std=c++17'
CommonTokenStream.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\ConsoleErrorListener.cpp
cl : Command line warning D9002 : ignoring unknown option '-std=c++17'
ConsoleErrorListener.cpp
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): warning C4251: 'antlr4::ProxyErrorListener::_delegates': class 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>' needs to have dll-interface to be used by clients of class 'antlr4::ProxyErrorListener'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): note: see declaration of 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(150): warning C4251: 'antlr4::Recognizer::_mutex': class 'std::mutex' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\mutex(87): note: see declaration of 'std::mutex'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(153): warning C4251: 'antlr4::Recognizer::_tokenTypeMapCache': class 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<const antlr4::dfa::Vocabulary *>,std::allocator<std::pair<const antlr4::dfa::Vocabulary *const ,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(153): note: see declaration of 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<const antlr4::dfa::Vocabulary *>,std::allocator<std::pair<const antlr4::dfa::Vocabulary *const ,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(154): warning C4251: 'antlr4::Recognizer::_ruleIndexMapCache': class 'std::map<std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<std::vector<std::string,std::allocator<std::string>>>,std::allocator<std::pair<const std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(154): note: see declaration of 'std::map<std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<std::vector<std::string,std::allocator<std::string>>>,std::allocator<std::pair<const std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Vocabulary.h(186): warning C4251: 'antlr4::dfa::Vocabulary::_literalNames': class 'std::vector<std::string,std::allocator<std::string>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(28): note: see declaration of 'std::vector<std::string,std::allocator<std::string>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Vocabulary.h(187): warning C4251: 'antlr4::dfa::Vocabulary::_symbolicNames': class 'std::vector<std::string,std::allocator<std::string>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(28): note: see declaration of 'std::vector<std::string,std::allocator<std::string>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Vocabulary.h(188): warning C4251: 'antlr4::dfa::Vocabulary::_displayNames': class 'std::vector<std::string,std::allocator<std::string>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(28): note: see declaration of 'std::vector<std::string,std::allocator<std::string>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): warning C4251: 'antlr4::CommonToken::EMPTY_SOURCE': struct 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\TokenFactory.h(23): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(53): warning C4251: 'antlr4::CommonToken::_source': struct 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\TokenFactory.h(23): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(61): warning C4251: 'antlr4::CommonToken::_text': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
modules\luascript\lib\antlr4\CommonToken.cpp(23): warning C4273: 'EMPTY_SOURCE': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): note: see previous definition of 'protected: static std::pair<antlr4::TokenSource *,antlr4::CharStream *> const antlr4::CommonToken::EMPTY_SOURCE'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'modules\luascript\lib\antlr4\CommonToken.cpp(23): error C2491: 'antlr4::CommonToken::EMPTY_SOURCE': definition of dllimport static data member not allowed

modules\luascript\lib\antlr4\CommonToken.cpp(25): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkageC:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): warning C4251: 'antlr4::CommonToken::EMPTY_SOURCE': struct 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(87): note: see previous definition of '{ctor}'

modules\luascript\lib\antlr4\CommonToken.cpp(30): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkageC:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(88): note: see previous definition of '{ctor}'

modules\luascript\lib\antlr4\CommonToken.cpp(43): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(97): note: see previous definition of '{ctor}'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(53): warning C4251: 'antlr4::CommonToken::_source': struct 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'
modules\luascript\lib\antlr4\CommonToken.cpp(51): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(112): note: see previous definition of '{ctor}'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'modules\luascript\lib\antlr4\CommonToken.cpp(70): warning C4273: 'antlr4::CommonToken::getType': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(114): note: see previous definition of 'getType'
modules\luascript\lib\antlr4\CommonToken.cpp(74): warning C4273: 'antlr4::CommonToken::setLine': inconsistent dll linkage

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(128): note: see previous definition of 'setLine'
modules\luascript\lib\antlr4\CommonToken.cpp(78): warning C4273: 'antlr4::CommonToken::getText': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(126): note: see previous definition of 'getText'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(61): warning C4251: 'antlr4::CommonToken::_text': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'

modules\luascript\lib\antlr4\CommonToken.cpp(95): warning C4273: 'antlr4::CommonToken::setText': inconsistent dll linkageC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(125): note: see previous definition of 'setText'
modules\luascript\lib\antlr4\CommonToken.cpp(99): warning C4273: 'antlr4::CommonToken::getLine': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(129): note: see previous definition of 'getLine'
modules\luascript\lib\antlr4\CommonToken.cpp(103): warning C4273: 'antlr4::CommonToken::getCharPositionInLine': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(131): note: see previous definition of 'getCharPositionInLine'
modules\luascript\lib\antlr4\CommonToken.cpp(107): warning C4273: 'antlr4::CommonToken::setCharPositionInLine': inconsistent dll linkage

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(132): note: see previous definition of 'setCharPositionInLine'
modules\luascript\lib\antlr4\CommonToken.cpp(111): warning C4273: 'antlr4::CommonToken::getChannel': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(134): note: see previous definition of 'getChannel'
modules\luascript\lib\antlr4\CommonToken.cpp(115): warning C4273: 'antlr4::CommonToken::setChannel': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(135): note: see previous definition of 'setChannel'
modules\luascript\lib\antlr4\CommonToken.cpp(119): warning C4273: 'antlr4::CommonToken::setType': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(137): note: see previous definition of 'setType'
modules\luascript\lib\antlr4\CommonToken.cpp(123): warning C4273: 'antlr4::CommonToken::getStartIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(139): note: see previous definition of 'getStartIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(127): warning C4273: 'antlr4::CommonToken::setStartIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(140): note: see previous definition of 'setStartIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(131): warning C4273: 'antlr4::CommonToken::getStopIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(142): note: see previous definition of 'getStopIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(135): warning C4273: 'antlr4::CommonToken::setStopIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(143): note: see previous definition of 'setStopIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(139): warning C4273: 'antlr4::CommonToken::getTokenIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(145): note: see previous definition of 'getTokenIndex'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(25): warning C4251: 'antlr4::CommonTokenFactory::DEFAULT': class 'std::unique_ptr<antlr4::TokenFactory<antlr4::CommonToken>,std::default_delete<antlr4::TokenFactory<antlr4::CommonToken>>>' needs to have dll-interface to be used by clients of class 'antlr4::CommonTokenFactory'modules\luascript\lib\antlr4\CommonToken.cpp(143): warning C4273: 'antlr4::CommonToken::setTokenIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(146): note: see previous definition of 'setTokenIndex'

modules\luascript\lib\antlr4\CommonToken.cpp(147): warning C4273: 'antlr4::CommonToken::getTokenSource': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(25): note: see declaration of 'std::unique_ptr<antlr4::TokenFactory<antlr4::CommonToken>,std::default_delete<antlr4::TokenFactory<antlr4::CommonToken>>>'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(148): note: see previous definition of 'getTokenSource'
modules\luascript\lib\antlr4\CommonToken.cpp(151): warning C4273: 'antlr4::CommonToken::getInputStream': inconsistent dll linkage

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(149): note: see previous definition of 'getInputStream'
modules\luascript\lib\antlr4\CommonToken.cpp(155): warning C4273: 'antlr4::CommonToken::toString': inconsistent dll linkagemodules\luascript\lib\antlr4\CommonTokenFactory.cpp(14): warning C4273: 'DEFAULT': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(151): note: see previous definition of 'toString'

modules\luascript\lib\antlr4\CommonToken.cpp(159): warning C4273: 'antlr4::CommonToken::toString': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(153): note: see previous definition of 'toString'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(25): note: see previous definition of 'public: static std::unique_ptr<antlr4::TokenFactory<antlr4::CommonToken>,std::default_delete<antlr4::TokenFactory<antlr4::CommonToken> > > const antlr4::CommonTokenFactory::DEFAULT'

modules\luascript\lib\antlr4\CommonTokenFactory.cpp(14): error C2491: 'antlr4::CommonTokenFactory::DEFAULT': definition of dllimport static data member not allowed
modules\luascript\lib\antlr4\CommonTokenFactory.cpp(16): warning C4273: 'antlr4::CommonTokenFactory::CommonTokenFactory': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(56): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\CommonTokenFactory.cpp(19): warning C4273: 'antlr4::CommonTokenFactory::CommonTokenFactory': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(66): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\CommonTokenFactory.cpp(23): warning C4273: 'antlr4::CommonTokenFactory::create': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(68): note: see previous definition of 'create'modules\luascript\lib\antlr4\CommonToken.cpp(186): warning C4273: 'antlr4::CommonToken::InitializeInstanceFields': inconsistent dll linkage

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(155): note: see previous definition of 'InitializeInstanceFields'
modules\luascript\lib\antlr4\CommonTokenFactory.cpp(37): warning C4273: 'antlr4::CommonTokenFactory::create': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(71): note: see previous definition of 'create'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'
scons: *** [modules\luascript\lib\antlr4\CommonToken.windows.tools.64.obj] Error 2
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(108): warning C4251: 'antlr4::BufferedTokenStream::_tokens': class 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>,std::allocator<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>>>' needs to have dll-interface to be used by clients of class 'antlr4::BufferedTokenStream'
scons: *** [modules\luascript\lib\antlr4\CommonTokenFactory.windows.tools.64.obj] Error 2
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(108): note: see declaration of 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>,std::allocator<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>>>'
modules\luascript\lib\antlr4\CommonTokenStream.cpp(12): warning C4273: 'antlr4::CommonTokenStream::CommonTokenStream': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenStream.h(44): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\CommonTokenStream.cpp(16): warning C4273: 'antlr4::CommonTokenStream::CommonTokenStream': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenStream.h(56): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\CommonTokenStream.cpp(19): warning C4273: 'antlr4::CommonTokenStream::adjustSeekIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenStream.h(73): note: see previous definition of 'adjustSeekIndex'
modules\luascript\lib\antlr4\CommonTokenStream.cpp(23): warning C4273: 'antlr4::CommonTokenStream::LB': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenStream.h(75): note: see previous definition of 'LB'
modules\luascript\lib\antlr4\CommonTokenStream.cpp(43): warning C4273: 'antlr4::CommonTokenStream::LT': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenStream.h(58): note: see previous definition of 'LT'
modules\luascript\lib\antlr4\CommonTokenStream.cpp(65): warning C4273: 'antlr4::CommonTokenStream::getNumberOfOnChannelTokens': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenStream.h(61): note: see previous definition of 'getNumberOfOnChannelTokens'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
modules\luascript\lib\antlr4\ConsoleErrorListener.cpp(10): warning C4273: 'INSTANCE': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ConsoleErrorListener.h(17): note: see previous definition of 'public: static antlr4::ConsoleErrorListener antlr4::ConsoleErrorListener::INSTANCE'
modules\luascript\lib\antlr4\ConsoleErrorListener.cpp(10): error C2491: 'antlr4::ConsoleErrorListener::INSTANCE': definition of dllimport static data member not allowed
modules\luascript\lib\antlr4\ConsoleErrorListener.cpp(13): warning C4273: 'antlr4::ConsoleErrorListener::syntaxError': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ConsoleErrorListener.h(31): note: see previous definition of 'syntaxError'
scons: *** [modules\luascript\lib\antlr4\ConsoleErrorListener.windows.tools.64.obj] Error 2
scons: building terminated because of errors. ```
perbone commented 3 years ago

This was a silly mistake of mine. Please update from master and try it again.

Lufen34 commented 3 years ago

Not that I will blame you haha.

Seems like this error problem is quiet tricky...


[ 26%] Compiling ==> modules\luascript\lib\antlr4\BailErrorStrategy.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\BaseErrorListener.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\BufferedTokenStream.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\CharStream.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
BailErrorStrategy.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
BaseErrorListener.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
BufferedTokenStream.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
CharStream.cpp
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'

modules\luascript\lib\antlr4\BaseErrorListener.cpp(12): warning C4273: 'antlr4::BaseErrorListener::syntaxError': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(38): warning C4251: 'antlr4::tree::ParseTree::children': class 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>' needs to have dll-interface to be used by clients of class 'antlr4::tree::ParseTree'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BaseErrorListener.h(23): note: see previous definition of 'syntaxError'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>'

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(97): warning C4251: 'antlr4::tree::ParseTreeTracker::_allocated': class 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>' needs to have dll-interface to be used by clients of class 'antlr4::tree::ParseTreeTracker'modules\luascript\lib\antlr4\BaseErrorListener.cpp(16): warning C4273: 'antlr4::BaseErrorListener::reportAmbiguity': inconsistent dll linkage

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BaseErrorListener.h(26): note: see previous definition of 'reportAmbiguity'
modules\luascript\lib\antlr4\BaseErrorListener.cpp(20): warning C4273: 'antlr4::BaseErrorListener::reportAttemptingFullContext': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BaseErrorListener.h(29): note: see previous definition of 'reportAttemptingFullContext'
modules\luascript\lib\antlr4\BaseErrorListener.cpp(24): warning C4273: 'antlr4::BaseErrorListener::reportContextSensitivity': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BaseErrorListener.h(32): note: see previous definition of 'reportContextSensitivity'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ParserRuleContext.h(66): warning C4251: 'antlr4::ParserRuleContext::exception': class 'std::exception_ptr' needs to have dll-interface to be used by clients of class 'antlr4::ParserRuleContext'

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\exception(214): note: see declaration of 'std::exception_ptr'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): warning C4251: 'antlr4::ProxyErrorListener::_delegates': class 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>' needs to have dll-interface to be used by clients of class 'antlr4::ProxyErrorListener'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): note: see declaration of 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(150): warning C4251: 'antlr4::Recognizer::_mutex': class 'std::mutex' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\mutex(87): note: see declaration of 'std::mutex'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(153): warning C4251: 'antlr4::Recognizer::_tokenTypeMapCache': class 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<const antlr4::dfa::Vocabulary *>,std::allocator<std::pair<const antlr4::dfa::Vocabulary *const ,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(153): note: see declaration of 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<const antlr4::dfa::Vocabulary *>,std::allocator<std::pair<const antlr4::dfa::Vocabulary *const ,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(154): warning C4251: 'antlr4::Recognizer::_ruleIndexMapCache': class 'std::map<std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<std::vector<std::string,std::allocator<std::string>>>,std::allocator<std::pair<const std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(154): note: see declaration of 'std::map<std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<std::vector<std::string,std::allocator<std::string>>>,std::allocator<std::pair<const std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Parser.h(412): warning C4251: 'antlr4::Parser::_errHandler': class 'std::shared_ptr<antlr4::ANTLRErrorStrategy>' needs to have dll-interface to be used by clients of class 'antlr4::Parser'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\antlr4-common.h(137): note: see declaration of 'std::shared_ptr<antlr4::ANTLRErrorStrategy>'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): warning C4251: 'antlr4::ProxyErrorListener::_delegates': class 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>' needs to have dll-interface to be used by clients of class 'antlr4::ProxyErrorListener'

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): note: see declaration of 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(150): warning C4251: 'antlr4::Recognizer::_mutex': class 'std::mutex' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\mutex(87): note: see declaration of 'std::mutex'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Parser.h(421): warning C4251: 'antlr4::Parser::_precedenceStack': class 'std::vector<int,std::allocator<int>>' needs to have dll-interface to be used by clients of class 'antlr4::Parser'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(153): warning C4251: 'antlr4::Recognizer::_tokenTypeMapCache': class 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<const antlr4::dfa::Vocabulary *>,std::allocator<std::pair<const antlr4::dfa::Vocabulary *const ,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Parser.h(421): note: see declaration of 'std::vector<int,std::allocator<int>>'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(153): note: see declaration of 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<const antlr4::dfa::Vocabulary *>,std::allocator<std::pair<const antlr4::dfa::Vocabulary *const ,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>'

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(154): warning C4251: 'antlr4::Recognizer::_ruleIndexMapCache': class 'std::map<std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<std::vector<std::string,std::allocator<std::string>>>,std::allocator<std::pair<const std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(154): note: see declaration of 'std::map<std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<std::vector<std::string,std::allocator<std::string>>>,std::allocator<std::pair<const std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Parser.h(434): warning C4251: 'antlr4::Parser::_parseListeners': class 'std::vector<antlr4::tree::ParseTreeListener *,std::allocator<antlr4::tree::ParseTreeListener *>>' needs to have dll-interface to be used by clients of class 'antlr4::Parser'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Parser.h(128): note: see declaration of 'std::vector<antlr4::tree::ParseTreeListener *,std::allocator<antlr4::tree::ParseTreeListener *>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Parser.h(455): warning C4251: 'antlr4::Parser::bypassAltsAtnCache': class 'std::map<std::vector<uint16_t,std::allocator<uint16_t>>,antlr4::atn::ATN,std::less<std::vector<uint16_t,std::allocator<uint16_t>>>,std::allocator<std::pair<const std::vector<uint16_t,std::allocator<uint16_t>>,antlr4::atn::ATN>>>' needs to have dll-interface to be used by clients of class 'antlr4::Parser'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Parser.h(455): note: see declaration of 'std::map<std::vector<uint16_t,std::allocator<uint16_t>>,antlr4::atn::ATN,std::less<std::vector<uint16_t,std::allocator<uint16_t>>>,std::allocator<std::pair<const std::vector<uint16_t,std::allocator<uint16_t>>,antlr4::atn::ATN>>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Lexer.h(48): warning C4251: 'antlr4::Lexer::token': class 'std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>' needs to have dll-interface to be used by clients of class 'antlr4::Lexer'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\TokenSource.h(35): note: see declaration of 'std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\misc/IntervalSet.h(33): warning C4251: 'antlr4::misc::IntervalSet::_intervals': class 'std::vector<antlr4::misc::Interval,std::allocator<antlr4::misc::Interval>>' needs to have dll-interface to be used by clients of class 'antlr4::misc::IntervalSet'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\misc/IntervalSet.h(33): note: see declaration of 'std::vector<antlr4::misc::Interval,std::allocator<antlr4::misc::Interval>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Lexer.h(75): warning C4251: 'antlr4::Lexer::modeStack': class 'std::vector<size_t,std::allocator<size_t>>' needs to have dll-interface to be used by clients of class 'antlr4::Lexer'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Lexer.h(75): note: see declaration of 'std::vector<size_t,std::allocator<size_t>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Lexer.h(189): warning C4251: 'antlr4::Lexer::_text': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::Lexer'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\DefaultErrorStrategy.h(462): warning C4251: 'antlr4::DefaultErrorStrategy::_errorSymbols': class 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>,std::allocator<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>>>' needs to have dll-interface to be used by clients of class 'antlr4::DefaultErrorStrategy'

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\DefaultErrorStrategy.h(462): note: see declaration of 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>,std::allocator<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(38): warning C4251: 'antlr4::tree::ParseTree::children': class 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>' needs to have dll-interface to be used by clients of class 'antlr4::tree::ParseTree'
modules\luascript\lib\antlr4\BailErrorStrategy.cpp(15): warning C4273: 'antlr4::BailErrorStrategy::recover': inconsistent dll linkageC:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>'

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BailErrorStrategy.h(48): note: see previous definition of 'recover'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(97): warning C4251: 'antlr4::tree::ParseTreeTracker::_allocated': class 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>' needs to have dll-interface to be used by clients of class 'antlr4::tree::ParseTreeTracker'
modules\luascript\lib\antlr4\BailErrorStrategy.cpp(36): warning C4273: 'antlr4::BailErrorStrategy::recoverInline': inconsistent dll linkageC:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>'

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BailErrorStrategy.h(52): note: see previous definition of 'recoverInline'
modules\luascript\lib\antlr4\BailErrorStrategy.cpp(60): warning C4273: 'antlr4::BailErrorStrategy::sync': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BailErrorStrategy.h(56): note: see previous definition of 'sync'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(108): warning C4251: 'antlr4::BufferedTokenStream::_tokens': class 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>,std::allocator<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>>>' needs to have dll-interface to be used by clients of class 'antlr4::BufferedTokenStream'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Lexer.h(165): note: see declaration of 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>,std::allocator<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>>>'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(18): warning C4273: 'antlr4::BufferedTokenStream::BufferedTokenStream': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(26): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(22): warning C4273: 'antlr4::BufferedTokenStream::getTokenSource': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(31): note: see previous definition of 'getTokenSource'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'modules\luascript\lib\antlr4\BufferedTokenStream.cpp(26): warning C4273: 'antlr4::BufferedTokenStream::index': inconsistent dll linkage

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(32): note: see previous definition of 'index'

modules\luascript\lib\antlr4\CharStream.cpp(10): warning C4273: 'antlr4::CharStream::~CharStream': inconsistent dll linkagemodules\luascript\lib\antlr4\BufferedTokenStream.cpp(30): warning C4273: 'antlr4::BufferedTokenStream::mark': inconsistent dll linkage

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CharStream.h(16): note: see previous definition of '{dtor}'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(33): note: see previous definition of 'mark'

modules\luascript\lib\antlr4\BufferedTokenStream.cpp(34): warning C4273: 'antlr4::BufferedTokenStream::release': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(35): note: see previous definition of 'release'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(38): warning C4273: 'antlr4::BufferedTokenStream::reset': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(36): note: see previous definition of 'reset'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(42): warning C4273: 'antlr4::BufferedTokenStream::seek': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(37): note: see previous definition of 'seek'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(47): warning C4273: 'antlr4::BufferedTokenStream::size': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(39): note: see previous definition of 'size'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(51): warning C4273: 'antlr4::BufferedTokenStream::consume': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(40): note: see previous definition of 'consume'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(76): warning C4273: 'antlr4::BufferedTokenStream::sync': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(146): note: see previous definition of 'sync'
[ 26%] modules\luascript\lib\antlr4\BufferedTokenStream.cpp(89): warning C4273: 'antlr4::BufferedTokenStream::fetch': inconsistent dll linkage
[ 26%] C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(152): note: see previous definition of 'fetch'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(114): warning C4273: 'antlr4::BufferedTokenStream::get': inconsiste[ 26%] linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(42): note: see previous definition of 'get'
Compiling ==> modules\luascript\lib\antlr4\CommonToken.cpp
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(124): warning C4273: 'antlr4::BufferedTokenStream::get': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(45): note: see previous definition of 'get'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(146): warning C4273: 'antlr4::BufferedTokenStream::LA': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(47): note: see previous definition of 'LA'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(150): warning C4273: 'antlr4::BufferedTokenStream::LB': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(154): note: see previous definition of 'LB'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(157): warning C4273: 'antlr4::BufferedTokenStream::LT': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(48): note: see previous definition of 'LT'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(176): warning C4273: 'antlr4::BufferedTokenStream::adjustSeekIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(167): note: see previous definition of 'adjustSeekIndex'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(180): warning C4273: 'antlr4::BufferedTokenStream::lazyInit': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(168): note: see previous definition of 'lazyInit'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(186): warning C4273: 'antlr4::BufferedTokenStream::setup': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(169): note: see previous definition of 'setup'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(192): warning C4273: 'antlr4::BufferedTokenStream::setTokenSource': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(51): note: see previous definition of 'setTokenSource'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(199): warning C4273: 'antlr4::BufferedTokenStream::getTokens': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(52): note: see previous definition of 'getTokens'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(206): warning C4273: 'antlr4::BufferedTokenStream::getTokens': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(53): note: see previous definition of 'getTokens'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(210): warning C4273: 'antlr4::BufferedTokenStream::getTokens': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(60): note: see previous definition of 'getTokens'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(237): warning C4273: 'antlr4::BufferedTokenStream::getTokens': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(61): note: see previous definition of 'getTokens'
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(243): warning C4273: 'antlr4::BufferedTokenStream::nextTokenOnChannel': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(177): note: see previous definition of 'nextTokenOnChannel'CommonToken.cpp

modules\luascript\lib\antlr4\BufferedTokenStream.cpp(261): warning C4273: 'antlr4::BufferedTokenStream::previousTokenOnChannel': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(189): note: see previous definition of 'previousTokenOnChannel'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(281): warning C4273: 'antlr4::BufferedTokenStream::getHiddenTokensToRight': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(66): note: see previous definition of 'getHiddenTokensToRight'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(300): warning C4273: 'antlr4::BufferedTokenStream::getHiddenTokensToRight': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(73): note: see previous definition of 'getHiddenTokensToRight'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(304): warning C4273: 'antlr4::BufferedTokenStream::getHiddenTokensToLeft': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(80): note: see previous definition of 'getHiddenTokensToLeft'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(326): warning C4273: 'antlr4::BufferedTokenStream::getHiddenTokensToLeft': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(86): note: see previous definition of 'getHiddenTokensToLeft'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(330): warning C4273: 'antlr4::BufferedTokenStream::filterForChannel': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(191): note: see previous definition of 'filterForChannel'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(348): warning C4273: 'antlr4::BufferedTokenStream::isInitialized': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(193): note: see previous definition of 'isInitialized'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(356): warning C4273: 'antlr4::BufferedTokenStream::getSourceName': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(88): note: see previous definition of 'getSourceName'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(360): warning C4273: 'antlr4::BufferedTokenStream::getText': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(89): note: see previous definition of 'getText'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(365): warning C4273: 'antlr4::BufferedTokenStream::getText': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(90): note: see previous definition of 'getText'
[ 26%] modules\luascript\lib\antlr4\BufferedTokenStream.cpp(388): warning C4273: 'antlr4::BufferedTokenStream::getText': inconsistent dll linkage
[ 26%] C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(91): note: see previous definition of 'getText'
Compiling ==> modules\luascript\lib\antlr4\CommonTokenFactory.cpp
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(392): warning C4273: 'antlr4::BufferedTokenStream::getText': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(92): note: see previous definition of 'getText'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(400): warning C4273: 'antlr4::BufferedTokenStream::fill': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(95): note: see previous definition of 'fill'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(411): warning C4273: 'antlr4::BufferedTokenStream::InitializeInstanceFields': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(197): note: see previous definition of 'InitializeInstanceFields'
[ 26%] Compiling ==> modules\luascript\lib\antlr4\CommonTokenStream.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
CommonTokenFactory.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
CommonTokenStream.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\ConsoleErrorListener.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
ConsoleErrorListener.cpp
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): warning C4251: 'antlr4::ProxyErrorListener::_delegates': class 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>' needs to have dll-interface to be used by clients of class 'antlr4::ProxyErrorListener'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): note: see declaration of 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(150): warning C4251: 'antlr4::Recognizer::_mutex': class 'std::mutex' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\mutex(87): note: see declaration of 'std::mutex'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(153): warning C4251: 'antlr4::Recognizer::_tokenTypeMapCache': class 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<const antlr4::dfa::Vocabulary *>,std::allocator<std::pair<const antlr4::dfa::Vocabulary *const ,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(153): note: see declaration of 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<const antlr4::dfa::Vocabulary *>,std::allocator<std::pair<const antlr4::dfa::Vocabulary *const ,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(154): warning C4251: 'antlr4::Recognizer::_ruleIndexMapCache': class 'std::map<std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<std::vector<std::string,std::allocator<std::string>>>,std::allocator<std::pair<const std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(154): note: see declaration of 'std::map<std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>,std::less<std::vector<std::string,std::allocator<std::string>>>,std::allocator<std::pair<const std::vector<std::string,std::allocator<std::string>>,std::map<std::string,size_t,std::less<std::string>,std::allocator<std::pair<const std::string,size_t>>>>>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Vocabulary.h(186): warning C4251: 'antlr4::dfa::Vocabulary::_literalNames': class 'std::vector<std::string,std::allocator<std::string>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(28): note: see declaration of 'std::vector<std::string,std::allocator<std::string>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Vocabulary.h(187): warning C4251: 'antlr4::dfa::Vocabulary::_symbolicNames': class 'std::vector<std::string,std::allocator<std::string>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(28): note: see declaration of 'std::vector<std::string,std::allocator<std::string>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Vocabulary.h(188): warning C4251: 'antlr4::dfa::Vocabulary::_displayNames': class 'std::vector<std::string,std::allocator<std::string>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Recognizer.h(28): note: see declaration of 'std::vector<std::string,std::allocator<std::string>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): warning C4251: 'antlr4::CommonToken::EMPTY_SOURCE': struct 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\TokenFactory.h(23): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(53): warning C4251: 'antlr4::CommonToken::_source': struct 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\TokenFactory.h(23): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(61): warning C4251: 'antlr4::CommonToken::_text': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): warning C4251: 'antlr4::CommonToken::EMPTY_SOURCE': struct 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'

modules\luascript\lib\antlr4\CommonToken.cpp(23): warning C4273: 'EMPTY_SOURCE': inconsistent dll linkageC:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\IntStream.h(41): warning C4251: 'antlr4::IntStream::UNKNOWN_SOURCE_NAME': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IntStream'

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): note: see previous definition of 'protected: static std::pair<antlr4::TokenSource *,antlr4::CharStream *> const antlr4::CommonToken::EMPTY_SOURCE'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(53): warning C4251: 'antlr4::CommonToken::_source': struct 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'

modules\luascript\lib\antlr4\CommonToken.cpp(23): error C2491: 'antlr4::CommonToken::EMPTY_SOURCE': definition of dllimport static data member not allowed
modules\luascript\lib\antlr4\CommonToken.cpp(25): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkageC:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(108): warning C4251: 'antlr4::BufferedTokenStream::_tokens': class 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>,std::allocator<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>>>' needs to have dll-interface to be used by clients of class 'antlr4::BufferedTokenStream'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(18): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(87): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\CommonToken.cpp(30): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkage

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(88): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\CommonToken.cpp(43): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkageC:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\BufferedTokenStream.h(108): note: see declaration of 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>,std::allocator<std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>>>'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(61): warning C4251: 'antlr4::CommonToken::_text': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::CommonToken'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(97): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\CommonToken.cpp(51): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkage

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(112): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\CommonToken.cpp(70): warning C4273: 'antlr4::CommonToken::getType': inconsistent dll linkageC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
modules\luascript\lib\antlr4\CommonTokenStream.cpp(12): warning C4273: 'antlr4::CommonTokenStream::CommonTokenStream': inconsistent dll linkageC:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(114): note: see previous definition of 'getType'
modules\luascript\lib\antlr4\CommonToken.cpp(74): warning C4273: 'antlr4::CommonToken::setLine': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(128): note: see previous definition of 'setLine'
modules\luascript\lib\antlr4\CommonToken.cpp(78): warning C4273: 'antlr4::CommonToken::getText': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(126): note: see previous definition of 'getText'
modules\luascript\lib\antlr4\CommonToken.cpp(95): warning C4273: 'antlr4::CommonToken::setText': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(125): note: see previous definition of 'setText'
modules\luascript\lib\antlr4\CommonToken.cpp(99): warning C4273: 'antlr4::CommonToken::getLine': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(129): note: see previous definition of 'getLine'
modules\luascript\lib\antlr4\CommonToken.cpp(103): warning C4273: 'antlr4::CommonToken::getCharPositionInLine': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(131): note: see previous definition of 'getCharPositionInLine'
modules\luascript\lib\antlr4\CommonToken.cpp(107): warning C4273: 'antlr4::CommonToken::setCharPositionInLine': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(132): note: see previous definition of 'setCharPositionInLine'
modules\luascript\lib\antlr4\CommonToken.cpp(111): warning C4273: 'antlr4::CommonToken::getChannel': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(134): note: see previous definition of 'getChannel'
modules\luascript\lib\antlr4\CommonToken.cpp(115): warning C4273: 'antlr4::CommonToken::setChannel': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(135): note: see previous definition of 'setChannel'
modules\luascript\lib\antlr4\CommonToken.cpp(119): warning C4273: 'antlr4::CommonToken::setType': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(137): note: see previous definition of 'setType'
modules\luascript\lib\antlr4\CommonToken.cpp(123): warning C4273: 'antlr4::CommonToken::getStartIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(139): note: see previous definition of 'getStartIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(127): warning C4273: 'antlr4::CommonToken::setStartIndex': inconsistent dll linkage

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(140): note: see previous definition of 'setStartIndex'

modules\luascript\lib\antlr4\CommonToken.cpp(131): warning C4273: 'antlr4::CommonToken::getStopIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(142): note: see previous definition of 'getStopIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(135): warning C4273: 'antlr4::CommonToken::setStopIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(143): note: see previous definition of 'setStopIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(139): warning C4273: 'antlr4::CommonToken::getTokenIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(145): note: see previous definition of 'getTokenIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(143): warning C4273: 'antlr4::CommonToken::setTokenIndex': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(146): note: see previous definition of 'setTokenIndex'
modules\luascript\lib\antlr4\CommonToken.cpp(147): warning C4273: 'antlr4::CommonToken::getTokenSource': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(148): note: see previous definition of 'getTokenSource'
modules\luascript\lib\antlr4\CommonToken.cpp(151): warning C4273: 'antlr4::CommonToken::getInputStream': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(149): note: see previous definition of 'getInputStream'
modules\luascript\lib\antlr4\CommonToken.cpp(155): warning C4273: 'antlr4::CommonToken::toString': inconsistent dll linkageC:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenStream.h(44): note: see previous definition of '{ctor}'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(151): note: see previous definition of 'toString'
modules\luascript\lib\antlr4\CommonToken.cpp(159): warning C4273: 'antlr4::CommonToken::toString': inconsistent dll linkage

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(25): warning C4251: 'antlr4::CommonTokenFactory::DEFAULT': class 'std::unique_ptr<antlr4::TokenFactory<antlr4::CommonToken>,std::default_delete<antlr4::TokenFactory<antlr4::CommonToken>>>' needs to have dll-interface to be used by clients of class 'antlr4::CommonTokenFactory'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(153): note: see previous definition of 'toString'
modules\luascript\lib\antlr4\CommonTokenStream.cpp(16): warning C4273: 'antlr4::CommonTokenStream::CommonTokenStream': inconsistent dll linkage

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(25): note: see declaration of 'std::unique_ptr<antlr4::TokenFactory<antlr4::CommonToken>,std::default_delete<antlr4::TokenFactory<antlr4::CommonToken>>>'C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenStream.h(56): note: see previous definition of '{ctor}'

modules\luascript\lib\antlr4\CommonTokenFactory.cpp(14): warning C4273: 'DEFAULT': inconsistent dll linkagemodules\luascript\lib\antlr4\CommonTokenStream.cpp(19): warning C4273: 'antlr4::CommonTokenStream::adjustSeekIndex': inconsistent dll linkage
modules\luascript\lib\antlr4\CommonToken.cpp(186): warning C4273: 'antlr4::CommonToken::InitializeInstanceFields': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(25): note: see previous definition of 'public: static std::unique_ptr<antlr4::TokenFactory<antlr4::CommonToken>,std::default_delete<antlr4::TokenFactory<antlr4::CommonToken> > > const antlr4::CommonTokenFactory::DEFAULT'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenStream.h(73): note: see previous definition of 'adjustSeekIndex'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonToken.h(155): note: see previous definition of 'InitializeInstanceFields'
modules\luascript\lib\antlr4\CommonTokenFactory.cpp(14): error C2491: 'antlr4::CommonTokenFactory::DEFAULT': definition of dllimport static data member not allowed
modules\luascript\lib\antlr4\CommonTokenStream.cpp(23): warning C4273: 'antlr4::CommonTokenStream::LB': inconsistent dll linkage

modules\luascript\lib\antlr4\CommonTokenFactory.cpp(16): warning C4273: 'antlr4::CommonTokenFactory::CommonTokenFactory': inconsistent dll linkageC:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenStream.h(75): note: see previous definition of 'LB'

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(56): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\CommonTokenFactory.cpp(19): warning C4273: 'antlr4::CommonTokenFactory::CommonTokenFactory': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(66): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\CommonTokenStream.cpp(43): warning C4273: 'antlr4::CommonTokenStream::LT': inconsistent dll linkage
modules\luascript\lib\antlr4\CommonTokenFactory.cpp(23): warning C4273: 'antlr4::CommonTokenFactory::create': inconsistent dll linkageC:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenStream.h(58): note: see previous definition of 'LT'

C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(68): note: see previous definition of 'create'
modules\luascript\lib\antlr4\CommonTokenStream.cpp(65): warning C4273: 'antlr4::CommonTokenStream::getNumberOfOnChannelTokens': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenStream.h(61): note: see previous definition of 'getNumberOfOnChannelTokens'
modules\luascript\lib\antlr4\CommonTokenFactory.cpp(37): warning C4273: 'antlr4::CommonTokenFactory::create': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\CommonTokenFactory.h(71): note: see previous definition of 'create'
scons: *** [modules\luascript\lib\antlr4\CommonToken.windows.tools.64.obj] Error 2
scons: *** [modules\luascript\lib\antlr4\CommonTokenFactory.windows.tools.64.obj] Error 2
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(15): warning C4251: 'antlr4::RuntimeException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::RuntimeException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\Exceptions.h(75): warning C4251: 'antlr4::IOException::_message': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'antlr4::IOException'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xstring(4564): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
modules\luascript\lib\antlr4\ConsoleErrorListener.cpp(10): warning C4273: 'INSTANCE': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ConsoleErrorListener.h(17): note: see previous definition of 'public: static antlr4::ConsoleErrorListener antlr4::ConsoleErrorListener::INSTANCE'
modules\luascript\lib\antlr4\ConsoleErrorListener.cpp(10): error C2491: 'antlr4::ConsoleErrorListener::INSTANCE': definition of dllimport static data member not allowed
modules\luascript\lib\antlr4\ConsoleErrorListener.cpp(13): warning C4273: 'antlr4::ConsoleErrorListener::syntaxError': inconsistent dll linkage
C:\Users\Lufen\Documents\godot\godot-3.2.2-stable\modules\luascript\lib\antlr4\ConsoleErrorListener.h(31): note: see previous definition of 'syntaxError'
scons: *** [modules\luascript\lib\antlr4\ConsoleErrorListener.windows.tools.64.obj] Error 2
scons: building terminated because of errors.```
MetlHedd commented 3 years ago

The /std:c++14 is still there.

cl /Fomodules\luascript\lib\antlr4\CommonTokenFactory.windows.opt.tools.64.obj /c modules\luascript\lib\antlr4\CommonTokenFactory.cpp /std:c++17 /std:c++14 /nologo /O2 /Z7 /MT /Gd /GR /utf-8 /W3 /wd4267 /wd4244 /wd4305 /wd4018 /wd4800 /EHsc /DDEBUG_ENABLED /DWINDOWS_ENABLED /DOPENGL_ENABLED /DWASAPI_ENABLED /DWINMIDI_ENABLED /DTYPED_METHOD_BIND /DWIN32 /DMSVC /DWINVER=0x0601 /D_WIN32_WINNT=0x0601 /DNOMINMAX /D_WIN64 /DPTRCALL_ENABLED /DTOOLS_ENABLED /DGDSCRIPT_ENABLED /DMINIZIP_ENABLED /DZSTD_STATIC_LINKING_ONLY /DGLAD_ENABLED /DGLES_OVER_GL /DMODULE_ASSIMP_ENABLED /DMODULE_BMP_ENABLED /DMODULE_BULLET_ENABLED /DMODULE_CAMERA_ENABLED /DMODULE_CSG_ENABLED /DMODULE_CVTT_ENABLED /DMODULE_DDS_ENABLED /DMODULE_ENET_ENABLED /DMODULE_ETC_ENABLED /DMODULE_FREETYPE_ENABLED /DMODULE_GDNATIVE_ENABLED /DMODULE_GDSCRIPT_ENABLED /DMODULE_GRIDMAP_ENABLED /DMODULE_HDR_ENABLED /DMODULE_JPG_ENABLED /DMODULE_JSONRPC_ENABLED /DMODULE_LUASCRIPT_ENABLED /Ithirdparty\libpng /Ithirdparty\glad /Ithirdparty\zstd /Ithirdparty\zlib /Iplatform\windows /I. /Imodules\luascript\lib\antlr4

So compiler overrides /std:c++17: cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'

Full logs: https://github.com/MetlHedd/luascript/runs/1091148157?check_suite_focus=true#step:7:1382 I'm building with recent master updates.

perbone commented 3 years ago

Seems to me guys I need my own windows build process because I'm flying dark here and this try and error is obviously not working...

Note that I can't just remove the C++14 flag as it would affect compilations other than LuaScript.

I'll get back to you as soon as possible.

-- Perbone

Lufen34 commented 3 years ago

No problem !

I am trying different things too as i'm building now the project from 0 using MinGW.

I let you know what :)

MetlHedd commented 3 years ago

If you set the compiler FLAG like this (like godot does for msvc):

if not env.msvc:
    CXXFLAGS='-std=c++17'
    env_luascript['CXXFLAGS'] = [CXXFLAGS]
else:
    CCFLAGS='/std:c++17'
    env_luascript['CCFLAGS'] = [CCFLAGS]

You can get luascript building with c++17 and don't override others modules or godot CCFLAG. Full logs from build: https://github.com/MetlHedd/luascript/runs/1091910681?check_suite_focus=true#step:7:1436

Lufen34 commented 3 years ago

@MetlHedd have you tried it in your fork ? if yes did it worked ?

perbone commented 3 years ago

If you set the compiler FLAG like this (like godot does for msvc):

if not env.msvc:
    CXXFLAGS='-std=c++17'
    env_luascript['CXXFLAGS'] = [CXXFLAGS]
else:
    CCFLAGS='/std:c++17'
    env_luascript['CCFLAGS'] = [CCFLAGS]

You can get luascript building with c++17 and don't override others modules or godot CCFLAG. Full logs from build: https://github.com/MetlHedd/luascript/runs/1091910681?check_suite_focus=true#step:7:1436

did you care to look to my code buddy? i'm doing exactly like this...

MetlHedd commented 3 years ago

If you set the compiler FLAG like this (like godot does for msvc):

if not env.msvc:
    CXXFLAGS='-std=c++17'
    env_luascript['CXXFLAGS'] = [CXXFLAGS]
else:
    CCFLAGS='/std:c++17'
    env_luascript['CCFLAGS'] = [CCFLAGS]

You can get luascript building with c++17 and don't override others modules or godot CCFLAG. Full logs from build: https://github.com/MetlHedd/luascript/runs/1091910681?check_suite_focus=true#step:7:1436

did you care to look to my code buddy? i'm doing exactly like this...

You set the CXXFLAGS on MSVC as /std:c++17, but godot alredy set the CCFLAGS as env.Prepend(CCFLAGS=["/std:c++14"]), both /std:c++17 and /std:c++14 will be set on the same command for compiler, this is why /std:c++17 /std:c++14 happens (CCXFLAGS from your code and CCFLAGS from godot), since CCFLAGS set the flags for both C and C++ compiler and CCXFLAGS set it's to only C++ compiler.

Godot does not set CCFLAGS on 3.2-stable, but it does on 3.2.2-stable and 3.2.1-stable.

perbone commented 3 years ago

It is official scons sucks and I suck hard with scons! Well as I said before, for now I'm done with this issue until I have my own windows build pipeline. Thanks you guys for the effort 'till now. -- Perbone

Lufen34 commented 3 years ago

No problem,

I will ask help in my friendlist to see if someone knows anything about scons because my self i'm not any good with it too :'D

ArtcadeDev commented 3 years ago

I'm trying to build 3.2x with the latest Lua but still getting the same error that has been mentioned here, any solutions? Platform: Windows

perbone commented 3 years ago

Hi! Sorry for the delay... So I'm still unable to develop on Windows and any issues on this platform will have to wait or have community help. Linux and Mac works great, my problem is I don't have a Windows machine. So for now I'm afraid I can't help you sorry. -- Perbone

AndersonFirmino commented 3 years ago

I returned some commits and managed to compile

git checkout f39abb1316 and i configured this too

if not env.msvc:
    CXXFLAGS='-std=c++17'
    env_luascript['CXXFLAGS'] = [CXXFLAGS]
else:
    CCFLAGS='/std:c++17'
    env_luascript['CCFLAGS'] = [CCFLAGS]

when opening the engine the option to use lua is present but my big problem was not being able to use even one print I don't know if I'm the one who couldn't understand how to use the lua inside the godot or if it's a problem in the compilation

jezv commented 3 years ago

@AndersonFirmino me too.. the first thing I did after compiling was to add a print statement and get confused at seeing no output. I'm also not sure if its something broken on windows or I'm just doing it wrong. A hello world lua script would be a great reference if anybody knows where to find one.