perbone / luascript

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

Problem building on windows #37

Closed Lioncat2002 closed 3 years ago

Lioncat2002 commented 3 years ago

Problem:

Try to build on windows for godot 3.2 throws errors and stop the build process

Error:

scons: Reading SConscript files ...
Configuring for Windows: target=debug, bits=default
Found MSVC version 14.1, arch amd64, bits=64
YASM is necessary for WebM SIMD optimizations.
WebM SIMD optimizations are disabled. Check if your CPU architecture, CPU bits or platform are supported!
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
[  5%] ←[94mCompiling ←[95m==> ←[93mmain\main.cpp←[0m
[  5%] main.cpp
[  6%] ←[94mCompiling ←[95m==> ←[93mmodules\register_module_types.gen.cpp←[0m
register_module_types.gen.cpp
[ 25%] Compiling ==> modules\luascript\lib\lua\lapi.c
[ 25%] Linking Static Library ==> main\main.windows.tools.64.lib
[ 25%] lapi.c
[ 25%] 
[ 25%] Compiling ==> modules\luascript\lib\lua\lauxlib.c
lauxlib.c
[ 25%] Compiling ==> modules\luascript\lib\lua\lbaselib.c
[ 25%] Compiling ==> modules\luascript\lib\lua\lcode.c
lbaselib.c
lcode.c
[ 25%] Compiling ==> modules\luascript\lib\lua\lcorolib.c
[ 25%] Compiling ==> modules\luascript\lib\lua\lctype.c
lcorolib.c
lctype.c
[ 25%] Compiling ==> modules\luascript\lib\lua\ldblib.c
[ 25%] Compiling ==> modules\luascript\lib\lua\ldebug.c
ldblib.c
ldebug.c
[ 25%] Compiling ==> modules\luascript\lib\lua\ldo.c
ldo.c
[ 25%] Compiling ==> modules\luascript\lib\lua\ldump.c
[ 25%] ldump.c
[ 25%] Compiling ==> modules\luascript\lib\lua\lfunc.c
[ 25%] Compiling ==> modules\luascript\lib\lua\lgc.c
lfunc.c
lgc.c
[ 25%] Compiling ==> modules\luascript\lib\lua\linit.c
linit.c
[ 25%] Compiling ==> modules\luascript\lib\lua\liolib.c
liolib.c
[ 25%] Compiling ==> modules\luascript\lib\lua\llex.c
[ 25%] Compiling ==> modules\luascript\lib\lua\lmathlib.c
llex.c
lmathlib.c
[ 25%] Compiling ==> modules\luascript\lib\lua\lmem.c
[ 25%] Compiling ==> modules\luascript\lib\lua\loadlib.c
lmem.c
loadlib.c
[ 25%] Compiling ==> modules\luascript\lib\lua\lobject.c
[ 25%] lobject.c
Compiling ==> modules\luascript\lib\lua\lopcodes.c
lopcodes.c
[ 25%] Compiling ==> modules\luascript\lib\lua\loslib.c
[ 25%] Compiling ==> modules\luascript\lib\lua\lparser.c
loslib.c
lparser.c
[ 25%] Compiling ==> modules\luascript\lib\lua\lstate.c
[ 25%] Compiling ==> modules\luascript\lib\lua\lstring.c
lstate.c
lstring.c
[ 25%] Compiling ==> modules\luascript\lib\lua\lstrlib.c
[ 25%] Compiling ==> modules\luascript\lib\lua\ltable.c
lstrlib.c
ltable.c
[ 25%] Compiling ==> modules\luascript\lib\lua\ltablib.c
[ 25%] Compiling ==> modules\luascript\lib\lua\ltm.c
[ 26%] Compiling ==> modules\luascript\lib\lua\lundump.c
ltablib.c
ltm.c
lundump.c
[ 26%] Compiling ==> modules\luascript\lib\lua\lutf8lib.c
[ 26%] Compiling ==> modules\luascript\lib\lua\lvm.c
[ 26%] Compiling ==> modules\luascript\lib\lua\lzio.c
lutf8lib.c
lvm.c
lzio.c
[ 26%] Compiling ==> modules\luascript\lib\antlr4\ANTLRErrorListener.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\ANTLRErrorStrategy.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
ANTLRErrorListener.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
ANTLRErrorStrategy.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\ANTLRFileStream.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
ANTLRFileStream.cpp
d:\godot src\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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'd:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): 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
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRErrorStrategy.h(35): note: see previous definition of '{dtor}'d:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): 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
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRErrorListener.h(19): note: see previous definition of '{dtor}'
d:\godot src\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(19): warning C4251: 'antlr4::ANTLRInputStream::_data': class 'std::basic_string<int,std::char_traits<_Elem>,std::allocator<_Elem>>' needs to have dll-interface to be used by clients of class 'antlr4::ANTLRInputStream'
        with
        [
            _Elem=int
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\antlr4-common.h(66): note: see declaration of 'std::basic_string<int,std::char_traits<_Elem>,std::allocator<_Elem>>'
        with
        [
            _Elem=int
        ]
d:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRFileStream.h(27): 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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): 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::loadFromFile': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRFileStream.h(23): note: see previous definition of 'loadFromFile'
modules\luascript\lib\antlr4\ANTLRFileStream.cpp(27): warning C4273: 'antlr4::ANTLRFileStream::getSourceName': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRFileStream.h(24): note: see previous definition of 'getSourceName'
[ 26%] Compiling ==> modules\luascript\lib\antlr4\ANTLRInputStream.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\BailErrorStrategy.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
ANTLRInputStream.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
BailErrorStrategy.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\BaseErrorListener.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
BaseErrorListener.cpp
d:\godot src\godot\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'd:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'

d:\godot src\godot\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'd:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\modules\luascript\lib\antlr4\tree/ParseTree.h(38): warning C4251: 'antlr4::tree::ParseTree::children': class 'std::vector<antlr4::tree::ParseTree *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::tree::ParseTree'
        with
        [
            _Ty=antlr4::tree::ParseTree *
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<_Ty>>'
        with
        [
            _Ty=antlr4::tree::ParseTree *
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\tree/ParseTree.h(97): warning C4251: 'antlr4::tree::ParseTreeTracker::_allocated': class 'std::vector<antlr4::tree::ParseTree *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::tree::ParseTreeTracker'
        with
        [
            _Ty=antlr4::tree::ParseTree *
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<_Ty>>'
        with
        [
            _Ty=antlr4::tree::ParseTree *
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(19): warning C4251: 'antlr4::ANTLRInputStream::_data': class 'std::basic_string<int,std::char_traits<_Elem>,std::allocator<_Elem>>' needs to have dll-interface to be used by clients of class 'antlr4::ANTLRInputStream'
        with
        [
            _Elem=int
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\antlr4-common.h(66): note: see declaration of 'std::basic_string<int,std::char_traits<_Elem>,std::allocator<_Elem>>'
        with
        [
            _Elem=int
        ]
d:\godot src\godot\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'
d:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\exception(239): note: see declaration of 'std::exception_ptr'modules\luascript\lib\antlr4\ANTLRInputStream.cpp(22): warning C4273: 'antlr4::ANTLRInputStream::ANTLRInputStream': inconsistent dll linkage

d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(28): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(32): warning C4273: 'antlr4::ANTLRInputStream::ANTLRInputStream': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(34): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(36): warning C4273: 'antlr4::ANTLRInputStream::ANTLRInputStream': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(35): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(40): warning C4273: 'antlr4::ANTLRInputStream::ANTLRInputStream': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(36): note: see previous definition of '{ctor}'
d:\godot src\godot\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): warning C4251: 'antlr4::ProxyErrorListener::_delegates': class 'std::set<antlr4::ANTLRErrorListener *,std::less<_Kty>,std::allocator<_Kty>>' needs to have dll-interface to be used by clients of class 'antlr4::ProxyErrorListener'
        with
        [
            _Kty=antlr4::ANTLRErrorListener *
        ]
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(44): warning C4273: 'antlr4::ANTLRInputStream::load': inconsistent dll linkaged:\godot src\godot\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): note: see declaration of 'std::set<antlr4::ANTLRErrorListener *,std::less<_Kty>,std::allocator<_Kty>>'
        with
        [
            _Kty=antlr4::ANTLRErrorListener *
        ]

d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(38): note: see previous definition of 'load'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(48): warning C4273: 'antlr4::ANTLRInputStream::load': inconsistent dll linkaged:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(156): warning C4251: 'antlr4::Recognizer::_mutex': class 'std::mutex' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'

d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(39): note: see previous definition of 'load'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\mutex(82): note: see declaration of 'std::mutex'

modules\luascript\lib\antlr4\ANTLRInputStream.cpp(58): warning C4273: 'antlr4::ANTLRInputStream::load': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(159): warning C4251: 'antlr4::Recognizer::_tokenTypeMapCache': class 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>,std::less<const antlr4::dfa::Vocabulary*>,std::allocator<std::pair<const antlr4::dfa::Vocabulary*const ,std::map<_Kty,_Ty,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
        with
        [
            _Kty=std::string,
            _Ty=size_t
        ]d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(40): note: see previous definition of 'load'
d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(159): note: see declaration of 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>,std::less<const antlr4::dfa::Vocabulary*>,std::allocator<std::pair<const antlr4::dfa::Vocabulary*const ,std::map<_Kty,_Ty,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>>>>'
        with
        [
            _Kty=std::string,
            _Ty=size_t
        ]
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(68): warning C4273: 'antlr4::ANTLRInputStream::reset': inconsistent dll linkaged:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(160): warning C4251: 'antlr4::Recognizer::_ruleIndexMapCache': class 'std::map<std::vector<std::string,std::allocator<_Ty>>,std::map<std::string,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>,std::less<std::vector<_Ty,std::allocator<_Ty>>>,std::allocator<std::pair<const std::vector<_Ty,std::allocator<_Ty>>,std::map<_Kty,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
        with
        [
            _Ty=std::string,
            _Kty=std::string
        ]

d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(45): note: see previous definition of 'reset'd:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(160): note: see declaration of 'std::map<std::vector<std::string,std::allocator<_Ty>>,std::map<std::string,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>,std::less<std::vector<_Ty,std::allocator<_Ty>>>,std::allocator<std::pair<const std::vector<_Ty,std::allocator<_Ty>>,std::map<_Kty,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>>>>'
        with
        [
            _Ty=std::string,
            _Kty=std::string
        ]

modules\luascript\lib\antlr4\ANTLRInputStream.cpp(72): warning C4273: 'antlr4::ANTLRInputStream::consume': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(46): note: see previous definition of 'consume'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(83): warning C4273: 'antlr4::ANTLRInputStream::LA': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(47): note: see previous definition of 'LA'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(103): warning C4273: 'antlr4::ANTLRInputStream::LT': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(48): note: see previous definition of 'LT'd:\godot src\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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\ANTLRInputStream.cpp(107): warning C4273: 'antlr4::ANTLRInputStream::index': inconsistent dll linkageC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'

d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(55): note: see previous definition of 'index'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(111): warning C4273: 'antlr4::ANTLRInputStream::size': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(56): note: see previous definition of 'size'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(116): warning C4273: 'antlr4::ANTLRInputStream::mark': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(60): note: see previous definition of 'mark'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(120): warning C4273: 'antlr4::ANTLRInputStream::release': inconsistent dll linkaged:\godot src\godot\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'

d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(61): note: see previous definition of 'release'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\memory(1259): note: see declaration of 'std::shared_ptr<antlr4::ANTLRErrorStrategy>'

modules\luascript\lib\antlr4\ANTLRInputStream.cpp(123): warning C4273: 'antlr4::ANTLRInputStream::seek': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(67): note: see previous definition of 'seek'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(135): warning C4273: 'antlr4::ANTLRInputStream::getText': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(68): note: see previous definition of 'getText'
d:\godot src\godot\modules\luascript\lib\antlr4\Parser.h(421): warning C4251: 'antlr4::Parser::_precedenceStack': class 'std::vector<int,std::allocator<_Elem>>' needs to have dll-interface to be used by clients of class 'antlr4::Parser'
        with
        [
            _Elem=int
        ]modules\luascript\lib\antlr4\ANTLRInputStream.cpp(156): warning C4273: 'antlr4::ANTLRInputStream::getSourceName': inconsistent dll linkage

d:\godot src\godot\modules\luascript\lib\antlr4\Parser.h(421): note: see declaration of 'std::vector<int,std::allocator<_Elem>>'
        with
        [
            _Elem=int
        ]d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(69): note: see previous definition of 'getSourceName'

modules\luascript\lib\antlr4\ANTLRInputStream.cpp(163): warning C4273: 'antlr4::ANTLRInputStream::toString': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(70): note: see previous definition of 'toString'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(167): warning C4273: 'antlr4::ANTLRInputStream::InitializeInstanceFields': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(73): note: see previous definition of 'InitializeInstanceFields'd:\godot src\godot\modules\luascript\lib\antlr4\Parser.h(434): warning C4251: 'antlr4::Parser::_parseListeners': class 'std::vector<antlr4::tree::ParseTreeListener *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::Parser'
        with
        [
            _Ty=antlr4::tree::ParseTreeListener *
        ]

d:\godot src\godot\modules\luascript\lib\antlr4\Parser.h(128): note: see declaration of 'std::vector<antlr4::tree::ParseTreeListener *,std::allocator<_Ty>>'
        with
        [
            _Ty=antlr4::tree::ParseTreeListener *
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\Parser.h(455): warning C4251: 'antlr4::Parser::bypassAltsAtnCache': class 'std::map<std::vector<uint16_t,std::allocator<_Ty>>,antlr4::atn::ATN,std::less<_Kty>,std::allocator<std::pair<const _Kty,antlr4::atn::ATN>>>' needs to have dll-interface to be used by clients of class 'antlr4::Parser'
        with
        [
            _Ty=uint16_t,
            _Kty=std::vector<uint16_t,std::allocator<uint16_t>>
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\Parser.h(455): note: see declaration of 'std::map<std::vector<uint16_t,std::allocator<_Ty>>,antlr4::atn::ATN,std::less<_Kty>,std::allocator<std::pair<const _Kty,antlr4::atn::ATN>>>'
        with
        [
            _Ty=uint16_t,
            _Kty=std::vector<uint16_t,std::allocator<uint16_t>>
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\misc/IntervalSet.h(33): warning C4251: 'antlr4::misc::IntervalSet::_intervals': class 'std::vector<antlr4::misc::Interval,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::misc::IntervalSet'
        with
        [
            _Ty=antlr4::misc::Interval
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\misc/IntervalSet.h(33): note: see declaration of 'std::vector<antlr4::misc::Interval,std::allocator<_Ty>>'
        with
        [
            _Ty=antlr4::misc::Interval
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\DefaultErrorStrategy.h(462): warning C4251: 'antlr4::DefaultErrorStrategy::_errorSymbols': class 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of class 'antlr4::DefaultErrorStrategy'
        with
        [
            _Ty=antlr4::Token
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\DefaultErrorStrategy.h(462): note: see declaration of 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>'
        with
        [
            _Ty=antlr4::Token
        ]
modules\luascript\lib\antlr4\BailErrorStrategy.cpp(15): warning C4273: 'antlr4::BailErrorStrategy::recover': inconsistent dll linkage
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\modules\luascript\lib\antlr4\BailErrorStrategy.h(56): note: see previous definition of 'sync'
d:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): 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
d:\godot src\godot\modules\luascript\lib\antlr4\BaseErrorListener.h(23): note: see previous definition of 'syntaxError'
modules\luascript\lib\antlr4\BaseErrorListener.cpp(16): warning C4273: 'antlr4::BaseErrorListener::reportAmbiguity': inconsistent dll linkage
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\modules\luascript\lib\antlr4\BaseErrorListener.h(32): note: see previous definition of 'reportContextSensitivity'
[ 26%] Compiling ==> modules\luascript\lib\antlr4\BufferedTokenStream.cpp
[ 26%] 
[ 26%] Compiling ==> modules\luascript\lib\antlr4\CharStream.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'
[ 26%] CharStream.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\CommonToken.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
CommonToken.cpp
d:\godot src\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): warning C4251: 'antlr4::ProxyErrorListener::_delegates': class 'std::set<antlr4::ANTLRErrorListener *,std::less<_Kty>,std::allocator<_Kty>>' needs to have dll-interface to be used by clients of class 'antlr4::ProxyErrorListener'
        with
        [
            _Kty=antlr4::ANTLRErrorListener *
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): note: see declaration of 'std::set<antlr4::ANTLRErrorListener *,std::less<_Kty>,std::allocator<_Kty>>'
        with
        [
            _Kty=antlr4::ANTLRErrorListener *
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(156): 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\2017\Community\VC\Tools\MSVC\14.16.27023\include\mutex(82): note: see declaration of 'std::mutex'
d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(159): warning C4251: 'antlr4::Recognizer::_tokenTypeMapCache': class 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>,std::less<const antlr4::dfa::Vocabulary*>,std::allocator<std::pair<const antlr4::dfa::Vocabulary*const ,std::map<_Kty,_Ty,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
        with
        [
            _Kty=std::string,
            _Ty=size_t
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(159): note: see declaration of 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>,std::less<const antlr4::dfa::Vocabulary*>,std::allocator<std::pair<const antlr4::dfa::Vocabulary*const ,std::map<_Kty,_Ty,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>>>>'
        with
        [
            _Kty=std::string,
            _Ty=size_t
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(160): warning C4251: 'antlr4::Recognizer::_ruleIndexMapCache': class 'std::map<std::vector<std::string,std::allocator<_Ty>>,std::map<std::string,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>,std::less<std::vector<_Ty,std::allocator<_Ty>>>,std::allocator<std::pair<const std::vector<_Ty,std::allocator<_Ty>>,std::map<_Kty,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
        with
        [
            _Ty=std::string,
            _Kty=std::string
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(160): note: see declaration of 'std::map<std::vector<std::string,std::allocator<_Ty>>,std::map<std::string,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>,std::less<std::vector<_Ty,std::allocator<_Ty>>>,std::allocator<std::pair<const std::vector<_Ty,std::allocator<_Ty>>,std::map<_Kty,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>>>>'
        with
        [
            _Ty=std::string,
            _Kty=std::string
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): 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
d:\godot src\godot\modules\luascript\lib\antlr4\CharStream.h(16): note: see previous definition of '{dtor}'
d:\godot src\godot\modules\luascript\lib\antlr4\Lexer.h(61): warning C4251: 'antlr4::Lexer::token': class 'std::unique_ptr<antlr4::Token,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::Lexer'
        with
        [
            _Ty=antlr4::Token
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\TokenSource.h(35): note: see declaration of 'std::unique_ptr<antlr4::Token,std::default_delete<_Ty>>'
        with
        [
            _Ty=antlr4::Token
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\Lexer.h(88): warning C4251: 'antlr4::Lexer::modeStack': class 'std::vector<size_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::Lexer'
        with
        [
            _Ty=size_t
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\Lexer.h(88): note: see declaration of 'std::vector<size_t,std::allocator<_Ty>>'
        with
        [
            _Ty=size_t
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\Lexer.h(202): 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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\modules\luascript\lib\antlr4\tree/ParseTree.h(38): warning C4251: 'antlr4::tree::ParseTree::children': class 'std::vector<antlr4::tree::ParseTree *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::tree::ParseTree'
        with
        [
            _Ty=antlr4::tree::ParseTree *
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<_Ty>>'
        with
        [
            _Ty=antlr4::tree::ParseTree *
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\tree/ParseTree.h(97): warning C4251: 'antlr4::tree::ParseTreeTracker::_allocated': class 'std::vector<antlr4::tree::ParseTree *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::tree::ParseTreeTracker'
        with
        [
            _Ty=antlr4::tree::ParseTree *
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<_Ty>>'
        with
        [
            _Ty=antlr4::tree::ParseTree *
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(108): warning C4251: 'antlr4::BufferedTokenStream::_tokens': class 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of class 'antlr4::BufferedTokenStream'
        with
        [
            _Ty=antlr4::Token
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\Lexer.h(178): note: see declaration of 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>'
        with
        [
            _Ty=antlr4::Token
        ]
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(18): warning C4273: 'antlr4::BufferedTokenStream::BufferedTokenStream': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(26): note: see previous definition of '{ctor}'
d:\godot src\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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(22): warning C4273: 'antlr4::BufferedTokenStream::getTokenSource': inconsistent dll linkageC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'

d:\godot src\godot\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
d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(32): note: see previous definition of 'index'd:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'modules\luascript\lib\antlr4\BufferedTokenStream.cpp(30): warning C4273: 'antlr4::BufferedTokenStream::mark': inconsistent dll linkage

d:\godot src\godot\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
d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(35): note: see previous definition of 'release'd:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'modules\luascript\lib\antlr4\BufferedTokenStream.cpp(38): warning C4273: 'antlr4::BufferedTokenStream::reset': inconsistent dll linkage

d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(40): note: see previous definition of 'consume'
d:\godot src\godot\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): warning C4251: 'antlr4::ProxyErrorListener::_delegates': class 'std::set<antlr4::ANTLRErrorListener *,std::less<_Kty>,std::allocator<_Kty>>' needs to have dll-interface to be used by clients of class 'antlr4::ProxyErrorListener'
        with
        [
            _Kty=antlr4::ANTLRErrorListener *
        ]modules\luascript\lib\antlr4\BufferedTokenStream.cpp(76): warning C4273: 'antlr4::BufferedTokenStream::sync': inconsistent dll linkage

d:\godot src\godot\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): note: see declaration of 'std::set<antlr4::ANTLRErrorListener *,std::less<_Kty>,std::allocator<_Kty>>'
        with
        [
            _Kty=antlr4::ANTLRErrorListener *
        ]d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(146): note: see previous definition of 'sync'

d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(156): warning C4251: 'antlr4::Recognizer::_mutex': class 'std::mutex' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'modules\luascript\lib\antlr4\BufferedTokenStream.cpp(89): warning C4273: 'antlr4::BufferedTokenStream::fetch': inconsistent dll linkage

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\mutex(82): note: see declaration of 'std::mutex'd:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(152): note: see previous definition of 'fetch'

d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(159): warning C4251: 'antlr4::Recognizer::_tokenTypeMapCache': class 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>,std::less<const antlr4::dfa::Vocabulary*>,std::allocator<std::pair<const antlr4::dfa::Vocabulary*const ,std::map<_Kty,_Ty,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
        with
        [
            _Kty=std::string,
            _Ty=size_t
        ]modules\luascript\lib\antlr4\BufferedTokenStream.cpp(114): warning C4273: 'antlr4::BufferedTokenStream::get': inconsistent dll linkage

d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(42): note: see previous definition of 'get'd:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(159): note: see declaration of 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>,std::less<const antlr4::dfa::Vocabulary*>,std::allocator<std::pair<const antlr4::dfa::Vocabulary*const ,std::map<_Kty,_Ty,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>>>>'
        with
        [
            _Kty=std::string,
            _Ty=size_t
        ]

d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(160): warning C4251: 'antlr4::Recognizer::_ruleIndexMapCache': class 'std::map<std::vector<std::string,std::allocator<_Ty>>,std::map<std::string,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>,std::less<std::vector<_Ty,std::allocator<_Ty>>>,std::allocator<std::pair<const std::vector<_Ty,std::allocator<_Ty>>,std::map<_Kty,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
        with
        [
            _Ty=std::string,
            _Kty=std::string
        ]modules\luascript\lib\antlr4\BufferedTokenStream.cpp(124): warning C4273: 'antlr4::BufferedTokenStream::get': inconsistent dll linkage

d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(160): note: see declaration of 'std::map<std::vector<std::string,std::allocator<_Ty>>,std::map<std::string,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>,std::less<std::vector<_Ty,std::allocator<_Ty>>>,std::allocator<std::pair<const std::vector<_Ty,std::allocator<_Ty>>,std::map<_Kty,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>>>>'
        with
        [
            _Ty=std::string,
            _Kty=std::string
        ]d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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 linkaged:\godot src\godot\modules\luascript\lib\antlr4\Vocabulary.h(185): warning C4251: 'antlr4::dfa::Vocabulary::_literalNames': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
        with
        [
            _Ty=std::string
        ]

d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(48): note: see previous definition of 'LT'd:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(34): note: see declaration of 'std::vector<std::string,std::allocator<_Ty>>'
        with
        [
            _Ty=std::string
        ]

modules\luascript\lib\antlr4\BufferedTokenStream.cpp(176): warning C4273: 'antlr4::BufferedTokenStream::adjustSeekIndex': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\Vocabulary.h(186): warning C4251: 'antlr4::dfa::Vocabulary::_symbolicNames': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
        with
        [
            _Ty=std::string
        ]d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(167): note: see previous definition of 'adjustSeekIndex'

d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(34): note: see declaration of 'std::vector<std::string,std::allocator<_Ty>>'
        with
        [
            _Ty=std::string
        ]modules\luascript\lib\antlr4\BufferedTokenStream.cpp(180): warning C4273: 'antlr4::BufferedTokenStream::lazyInit': inconsistent dll linkage

d:\godot src\godot\modules\luascript\lib\antlr4\Vocabulary.h(187): warning C4251: 'antlr4::dfa::Vocabulary::_displayNames': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
        with
        [
            _Ty=std::string
        ]d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(168): note: see previous definition of 'lazyInit'

d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(34): note: see declaration of 'std::vector<std::string,std::allocator<_Ty>>'
        with
        [
            _Ty=std::string
        ]modules\luascript\lib\antlr4\BufferedTokenStream.cpp(186): warning C4273: 'antlr4::BufferedTokenStream::setup': inconsistent dll linkage

d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(60): note: see previous definition of 'getTokens'
d:\godot src\godot\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\BufferedTokenStream.cpp(237): warning C4273: 'antlr4::BufferedTokenStream::getTokens': inconsistent dll linkage

d:\godot src\godot\modules\luascript\lib\antlr4\TokenFactory.h(23): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'d:\godot src\godot\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
d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(177): note: see previous definition of 'nextTokenOnChannel'd:\godot src\godot\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'

d:\godot src\godot\modules\luascript\lib\antlr4\TokenFactory.h(23): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'modules\luascript\lib\antlr4\BufferedTokenStream.cpp(261): warning C4273: 'antlr4::BufferedTokenStream::previousTokenOnChannel': inconsistent dll linkage

d:\godot src\godot\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'd:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(189): note: see previous definition of 'previousTokenOnChannel'

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'modules\luascript\lib\antlr4\BufferedTokenStream.cpp(281): warning C4273: 'antlr4::BufferedTokenStream::getHiddenTokensToRight': inconsistent dll linkage

d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(66): note: see previous definition of 'getHiddenTokensToRight'
modules\luascript\lib\antlr4\CommonToken.cpp(23): warning C4273: 'EMPTY_SOURCE': inconsistent dll linkage
d:\godot src\godot\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'modules\luascript\lib\antlr4\BufferedTokenStream.cpp(300): warning C4273: 'antlr4::BufferedTokenStream::getHiddenTokensToRight': inconsistent dll linkage

d:\godot src\godot\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 linkagemodules\luascript\lib\antlr4\CommonToken.cpp(23): error C2491: 'antlr4::CommonToken::EMPTY_SOURCE': definition of dllimport static data member not allowed

d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(80): note: see previous definition of 'getHiddenTokensToLeft'
modules\luascript\lib\antlr4\CommonToken.cpp(25): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkage
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(326): warning C4273: 'antlr4::BufferedTokenStream::getHiddenTokensToLeft': inconsistent dll linkaged:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(87): note: see previous definition of '{ctor}'

d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(86): note: see previous definition of 'getHiddenTokensToLeft'
modules\luascript\lib\antlr4\CommonToken.cpp(30): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkagemodules\luascript\lib\antlr4\BufferedTokenStream.cpp(330): warning C4273: 'antlr4::BufferedTokenStream::filterForChannel': inconsistent dll linkage

d:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(88): note: see previous definition of '{ctor}'d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(191): note: see previous definition of 'filterForChannel'

modules\luascript\lib\antlr4\CommonToken.cpp(43): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkagemodules\luascript\lib\antlr4\BufferedTokenStream.cpp(348): warning C4273: 'antlr4::BufferedTokenStream::isInitialized': inconsistent dll linkage

d:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(97): note: see previous definition of '{ctor}'d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(193): note: see previous definition of 'isInitialized'

modules\luascript\lib\antlr4\CommonToken.cpp(51): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkagemodules\luascript\lib\antlr4\BufferedTokenStream.cpp(356): warning C4273: 'antlr4::BufferedTokenStream::getSourceName': inconsistent dll linkage

d:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(112): note: see previous definition of '{ctor}'d:\godot src\godot\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
d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(89): note: see previous definition of 'getText'
[ 26%] modules\luascript\lib\antlr4\BufferedTokenStream.cpp(365): warning C4273: 'antlr4::BufferedTokenStream::getText': inconsistent dll linkagemodules\luascript\lib\antlr4\CommonToken.cpp(70): warning C4273: 'antlr4::CommonToken::getType': inconsistent dll linkage
[ 26%]
d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(90): note: see previous definition of 'getText'd:\godot src\godot\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 linkag[ 26%]
d:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(128): note: see previous definition of 'setLine'Compiling ==> modules\luascript\lib\antlr4\CommonTokenFactory.cpp

modules\luascript\lib\antlr4\CommonToken.cpp(78): warning C4273: 'antlr4::CommonToken::getText': inconsistent dll linkage
d:\godot src\godot\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
d:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(125): note: see previous definition of 'setText'modules\luascript\lib\antlr4\BufferedTokenStream.cpp(388): warning C4273: 'antlr4::BufferedTokenStream::getText': inconsistent dll linkage

modules\luascript\lib\antlr4\CommonToken.cpp(99): warning C4273: 'antlr4::CommonToken::getLine': inconsistent dll linkaged:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(91): note: see previous definition of 'getText'

d:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(129): note: see previous definition of 'getLine'modules\luascript\lib\antlr4\BufferedTokenStream.cpp(392): warning C4273: 'antlr4::BufferedTokenStream::getText': inconsistent dll linkage

modules\luascript\lib\antlr4\CommonToken.cpp(103): warning C4273: 'antlr4::CommonToken::getCharPositionInLine': inconsistent dll linkaged:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(92): note: see previous definition of 'getText'

d:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(131): note: see previous definition of 'getCharPositionInLine'modules\luascript\lib\antlr4\BufferedTokenStream.cpp(400): warning C4273: 'antlr4::BufferedTokenStream::fill': inconsistent dll linkage

modules\luascript\lib\antlr4\CommonToken.cpp(107): warning C4273: 'antlr4::CommonToken::setCharPositionInLine': inconsistent dll linkaged:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(95): note: see previous definition of 'fill'

d:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(132): note: see previous definition of 'setCharPositionInLine'modules\luascript\lib\antlr4\BufferedTokenStream.cpp(411): warning C4273: 'antlr4::BufferedTokenStream::InitializeInstanceFields': inconsistent dll linkage

modules\luascript\lib\antlr4\CommonToken.cpp(111): warning C4273: 'antlr4::CommonToken::getChannel': inconsistent dll linkaged:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(197): note: see previous definition of 'InitializeInstanceFields'

d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(153): note: see previous definition of 'toString'
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
CommonTokenFactory.cpp
modules\luascript\lib\antlr4\CommonToken.cpp(186): warning C4273: 'antlr4::CommonToken::InitializeInstanceFields': inconsistent dll linkage
d:\godot src\godot\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
d:\godot src\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\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'
d:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(18): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'
d:\godot src\godot\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'
d:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(18): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'
d:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\modules\luascript\lib\antlr4\CommonTokenFactory.h(25): warning C4251: 'antlr4::CommonTokenFactory::DEFAULT': class 'std::unique_ptr<antlr4::TokenFactory<antlr4::CommonToken>,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::CommonTokenFactory'
        with
        [
            _Ty=antlr4::TokenFactory<antlr4::CommonToken>
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\CommonTokenFactory.h(25): note: see declaration of 'std::unique_ptr<antlr4::TokenFactory<antlr4::CommonToken>,std::default_delete<_Ty>>'
        with
        [
            _Ty=antlr4::TokenFactory<antlr4::CommonToken>
        ]
modules\luascript\lib\antlr4\CommonTokenFactory.cpp(14): warning C4273: 'DEFAULT': inconsistent dll linkage
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\modules\luascript\lib\antlr4\CommonTokenFactory.h(68): note: see previous definition of 'create'
modules\luascript\lib\antlr4\CommonTokenFactory.cpp(37): warning C4273: 'antlr4::CommonTokenFactory::create': inconsistent dll linkage
d:\godot src\godot\modules\luascript\lib\antlr4\CommonTokenFactory.h(71): note: see previous definition of 'create'
scons: *** [modules\luascript\lib\antlr4\CommonTokenFactory.windows.tools.64.obj] Error 2
scons: building terminated because of errors.

D:\godot src\godot>scons -j3 p=windows module_luascript_enabled=yes
scons: Reading SConscript files ...
Configuring for Windows: target=debug, bits=default
Found MSVC version 14.1, arch amd64, bits=64
YASM is necessary for WebM SIMD optimizations.
WebM SIMD optimizations are disabled. Check if your CPU architecture, CPU bits or platform are supported!
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
[ 26%] ←[94mCompiling ←[95m==> ←[93mmodules\luascript\lib\antlr4\CommonToken.cpp←[0m
[ 26%] ←[94mCompiling ←[95m==> ←[93mmodules\luascript\lib\antlr4\CommonTokenFactory.cpp←[0m
[ 26%] ←[94mCompiling ←[95m==> ←[93mmodules\luascript\lib\antlr4\CommonTokenStream.cpp←[0m
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
CommonToken.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
d:\godot src\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\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'
d:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(18): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'
d:\godot src\godot\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'd:\godot src\godot\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): warning C4251: 'antlr4::ProxyErrorListener::_delegates': class 'std::set<antlr4::ANTLRErrorListener *,std::less<_Kty>,std::allocator<_Kty>>' needs to have dll-interface to be used by clients of class 'antlr4::ProxyErrorListener'
        with
        [
            _Kty=antlr4::ANTLRErrorListener *
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(18): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'

d:\godot src\godot\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): note: see declaration of 'std::set<antlr4::ANTLRErrorListener *,std::less<_Kty>,std::allocator<_Kty>>'
        with
        [
            _Kty=antlr4::ANTLRErrorListener *
        ]d:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(156): 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\2017\Community\VC\Tools\MSVC\14.16.27023\include\mutex(82): note: see declaration of 'std::mutex'd:\godot src\godot\modules\luascript\lib\antlr4\CommonTokenFactory.h(25): warning C4251: 'antlr4::CommonTokenFactory::DEFAULT': class 'std::unique_ptr<antlr4::TokenFactory<antlr4::CommonToken>,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::CommonTokenFactory'
        with
        [
            _Ty=antlr4::TokenFactory<antlr4::CommonToken>
        ]

d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(159): warning C4251: 'antlr4::Recognizer::_tokenTypeMapCache': class 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>,std::less<const antlr4::dfa::Vocabulary*>,std::allocator<std::pair<const antlr4::dfa::Vocabulary*const ,std::map<_Kty,_Ty,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
        with
        [
            _Kty=std::string,
            _Ty=size_t
        ]d:\godot src\godot\modules\luascript\lib\antlr4\CommonTokenFactory.h(25): note: see declaration of 'std::unique_ptr<antlr4::TokenFactory<antlr4::CommonToken>,std::default_delete<_Ty>>'
        with
        [
            _Ty=antlr4::TokenFactory<antlr4::CommonToken>
        ]

d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(159): note: see declaration of 'std::map<const antlr4::dfa::Vocabulary *,std::map<std::string,size_t,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>,std::less<const antlr4::dfa::Vocabulary*>,std::allocator<std::pair<const antlr4::dfa::Vocabulary*const ,std::map<_Kty,_Ty,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>>>>'
        with
        [
            _Kty=std::string,
            _Ty=size_t
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(160): warning C4251: 'antlr4::Recognizer::_ruleIndexMapCache': class 'std::map<std::vector<std::string,std::allocator<_Ty>>,std::map<std::string,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>,std::less<std::vector<_Ty,std::allocator<_Ty>>>,std::allocator<std::pair<const std::vector<_Ty,std::allocator<_Ty>>,std::map<_Kty,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>>>>' needs to have dll-interface to be used by clients of class 'antlr4::Recognizer'
        with
        [
            _Ty=std::string,
            _Kty=std::string
        ]
modules\luascript\lib\antlr4\CommonTokenFactory.cpp(14): warning C4273: 'DEFAULT': inconsistent dll linkaged:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(160): note: see declaration of 'std::map<std::vector<std::string,std::allocator<_Ty>>,std::map<std::string,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>,std::less<std::vector<_Ty,std::allocator<_Ty>>>,std::allocator<std::pair<const std::vector<_Ty,std::allocator<_Ty>>,std::map<_Kty,size_t,std::less<_Ty>,std::allocator<std::pair<const _Kty,unsigned __int64>>>>>>'
        with
        [
            _Ty=std::string,
            _Kty=std::string
        ]

d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\modules\luascript\lib\antlr4\CommonTokenFactory.h(66): note: see previous definition of '{ctor}'d:\godot src\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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\CommonTokenFactory.cpp(23): warning C4273: 'antlr4::CommonTokenFactory::create': inconsistent dll linkageC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
d:\godot src\godot\modules\luascript\lib\antlr4\Vocabulary.h(185): warning C4251: 'antlr4::dfa::Vocabulary::_literalNames': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
        with
        [
            _Ty=std::string
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\CommonTokenFactory.h(68): note: see previous definition of 'create'

d:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(34): note: see declaration of 'std::vector<std::string,std::allocator<_Ty>>'
        with
        [
            _Ty=std::string
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\Vocabulary.h(186): warning C4251: 'antlr4::dfa::Vocabulary::_symbolicNames': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
        with
        [
            _Ty=std::string
        ]
d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(108): warning C4251: 'antlr4::BufferedTokenStream::_tokens': class 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of class 'antlr4::BufferedTokenStream'
        with
        [
            _Ty=antlr4::Token
        ]modules\luascript\lib\antlr4\CommonTokenFactory.cpp(37): warning C4273: 'antlr4::CommonTokenFactory::create': inconsistent dll linkaged:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(34): note: see declaration of 'std::vector<std::string,std::allocator<_Ty>>'
        with
        [
            _Ty=std::string
        ]

d:\godot src\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(108): note: see declaration of 'std::vector<std::unique_ptr<antlr4::Token,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>'
        with
        [
            _Ty=antlr4::Token
        ]d:\godot src\godot\modules\luascript\lib\antlr4\CommonTokenFactory.h(71): note: see previous definition of 'create'd:\godot src\godot\modules\luascript\lib\antlr4\Vocabulary.h(187): warning C4251: 'antlr4::dfa::Vocabulary::_displayNames': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'antlr4::dfa::Vocabulary'
        with
        [
            _Ty=std::string
        ]

modules\luascript\lib\antlr4\CommonTokenStream.cpp(12): warning C4273: 'antlr4::CommonTokenStream::CommonTokenStream': inconsistent dll linkaged:\godot src\godot\modules\luascript\lib\antlr4\Recognizer.h(34): note: see declaration of 'std::vector<std::string,std::allocator<_Ty>>'
        with
        [
            _Ty=std::string
        ]

d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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'd:\godot src\godot\modules\luascript\lib\antlr4\CommonTokenStream.h(58): note: see previous definition of 'LT'

d:\godot src\godot\modules\luascript\lib\antlr4\TokenFactory.h(23): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'modules\luascript\lib\antlr4\CommonTokenStream.cpp(65): warning C4273: 'antlr4::CommonTokenStream::getNumberOfOnChannelTokens': inconsistent dll linkage

d:\godot src\godot\modules\luascript\lib\antlr4\CommonTokenStream.h(61): note: see previous definition of 'getNumberOfOnChannelTokens'
d:\godot src\godot\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'
d:\godot src\godot\modules\luascript\lib\antlr4\TokenFactory.h(23): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'
d:\godot src\godot\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\2017\Community\VC\Tools\MSVC\14.16.27023\include\xstring(4373): 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
d:\godot src\godot\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'
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 linkage
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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 linkage
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\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
d:\godot src\godot\modules\luascript\lib\antlr4\CommonToken.h(155): note: see previous definition of 'InitializeInstanceFields'
scons: *** [modules\luascript\lib\antlr4\CommonTokenFactory.windows.tools.64.obj] Error 2
scons: *** [modules\luascript\lib\antlr4\CommonToken.windows.tools.64.obj] Error 2
scons: building terminated because of errors.

How to recreate?

Building luascript for godot 3.2 branch for windows

perbone commented 3 years ago

Hi. An error occurred after API changes in Godot. It's fixed now. Could you kindly try to compile with the fix?

Lioncat2002 commented 3 years ago

Oh ok I will try it tommorow Thank you :)

Lioncat2002 commented 3 years ago

@perbone Nope still getting errors godot 3.2 builds fine on windows adding luascript is causing the trouble

I am not an expert in these But this looks like something is wrong with antlr?

cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
ANTLRErrorListener.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
ANTLRErrorStrategy.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\ANTLRFileStream.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
ANTLRFileStream.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\ANTLRInputStream.cpp
[ 26%] cl : Command line warning D9025 : Compiling ==> modules\luascript\lib\antlr4\BailErrorStrategy.cpp
overriding '/std:c++17' with '/std:c++14'
ANTLRInputStream.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
BailErrorStrategy.cpp
D:\roblox like platform\godot\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'D:\roblox like platform\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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.29.30037\include\xstring(4905): 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.29.30037\include\xstring(4905): 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
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRErrorStrategy.h(35): note: see previous definition of '{dtor}'
D:\roblox like platform\godot\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.29.30037\include\xstring(4905): 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
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRErrorListener.h(19): note: see previous definition of '{dtor}'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\antlr4-common.h(66): note: see declaration of 'std::basic_string<int,std::char_traits<int>,std::allocator<int>>'
D:\roblox like platform\godot\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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRFileStream.h(27): 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.29.30037\include\xstring(4905): 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::loadFromFile': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRFileStream.h(23): note: see previous definition of 'loadFromFile'
D:\roblox like platform\godot\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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'modules\luascript\lib\antlr4\ANTLRFileStream.cpp(27): warning C4273: 'antlr4::ANTLRFileStream::getSourceName': inconsistent dll linkage

D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRFileStream.h(24): note: see previous definition of 'getSourceName'
D:\roblox like platform\godot\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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\antlr4-common.h(66): note: see declaration of 'std::basic_string<int,std::char_traits<int>,std::allocator<int>>'
D:\roblox like platform\godot\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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(22): warning C4273: 'antlr4::ANTLRInputStream::ANTLRInputStream': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(28): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(32): warning C4273: 'antlr4::ANTLRInputStream::ANTLRInputStream': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(34): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(36): warning C4273: 'antlr4::ANTLRInputStream::ANTLRInputStream': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(35): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(40): warning C4273: 'antlr4::ANTLRInputStream::ANTLRInputStream': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(36): note: see previous definition of '{ctor}'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(44): warning C4273: 'antlr4::ANTLRInputStream::load': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(38): note: see previous definition of 'load'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(48): warning C4273: 'antlr4::ANTLRInputStream::load': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(39): note: see previous definition of 'load'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(58): warning C4273: 'antlr4::ANTLRInputStream::load': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(40): note: see previous definition of 'load'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(68): warning C4273: 'antlr4::ANTLRInputStream::reset': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(45): note: see previous definition of 'reset'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(72): warning C4273: 'antlr4::ANTLRInputStream::consume': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(46): note: see previous definition of 'consume'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(83): warning C4273: 'antlr4::ANTLRInputStream::LA': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(47): note: see previous definition of 'LA'modules\luascript\lib\antlr4\ANTLRInputStream.cpp(103): warning C4273: 'antlr4::ANTLRInputStream::LT': inconsistent dll [ 26%]
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(48): note: see previous definition of 'LT'D:\roblox like platform\godot\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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'modules\luascript\lib\antlr4\ANTLRI[ 26%] eam.cpp(107): warning C4273: 'antlr4::ANTLRInputStream::index': inconsistent dll linkage

D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(55): note: see previous definition of 'index'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(111): warning C4273: 'antlr4::ANTLRInputStream::size': inconsistent dll linkageD:\roblox like platform\godot\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[ 26%] d by clients of class 'antlr4::IOException'

D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(56): note: see previous definition of 'size'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
Compiling ==> modules\luascript\lib\antlr4\BaseErrorListener.cpp

modules\luascript\lib\antlr4\ANTLRInputStream.cpp(116): warning C4273: 'antlr4::ANTLRInputStream::mark': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(60): note: see previous definition of 'mark'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(120): warning C4273: 'antlr4::ANTLRInputStream::release': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(61): note: see previous definition of 'release'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(123): warning C4273: 'antlr4::ANTLRInputStream::seek': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(67): note: see previous definition of 'seek'
modules\luascript\lib\antlr4\ANTLRInputStream.cpp(135): warning C4273: 'antlr4::ANTLRInputStream::getText': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(68): note: see previous definition of 'getText'
[ 26%] D:\roblox like platform\godot\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\ANTLRInputStream.cpp(156): warning C4273: 'antlr4::ANTLRInputStream::getSourceName': inconsistent dll linkage
[ 26%]
D:\roblox like platform\godot\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>'D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(69): note: see previous definition of 'getSourceName'
[ 26%]
D:\roblox like platform\godot\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\ANTLRInpu[ 26%] .cpp(163): warning C4273: 'antlr4::ANTLRInputStream::toString': inconsistent dll linkage

D:\roblox like platform\godot\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>'D:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(70): note: see previous definition of 'toString'

modules\luascript\lib\antlr4\ANTLRInputStream.cpp(167): warning C4273: 'antlr4::ANTLRInputStream::Inl linkagensistent dlD:\roblox like platform\godot\modules\luascript\lib\antlr4\ANTLRInputStream.h(73): note: see previous definition of 'Ini[ 26%] InstanceFields'
Compiling ==> modules\luascript\lib\antlr4\BufferedTokenStream.cpp
D:\roblox like platform\godot\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.29.30037\include\exception(214): note: see declaration of 'std::exception_ptr'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): note: see declaration of 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(156): 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.29.30037\include\mutex(87): note: see declaration of 'std::mutex'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(159): 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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(159): 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>>>>>>'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(160): 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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(160): 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>>>>>>'cl : Command line warning D9025 :
overriding '/std:c++17' with '/std:c++14'
BaseErrorListener.cpp
D:\roblox like platform\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\antlr4-common.h(139): note: see declaration of 'std::shared_ptr<antlr4::ANTLRErrorStrategy>'
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'D:\roblox like platform\godot\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'

D:\roblox like platform\godot\modules\luascript\lib\antlr4\Parser.h(421): note: see declaration of 'std::vector<int,std::allocator<int>>'
BufferedTokenStream.cpp
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Parser.h(128): note: see declaration of 'std::vector<antlr4::tree::ParseTreeListener *,std::allocator<antlr4::tree::ParseTreeListener *>>'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\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>>>'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\misc/IntervalSet.h(33): note: see declaration of 'std::vector<antlr4::misc::Interval,std::allocator<antlr4::misc::Interval>>'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\modules\luascript\lib\antlr4\BailErrorStrategy.h(56): note: see previous definition of 'sync'
[ 26%] Compiling ==> modules\luascript\lib\antlr4\CharStream.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
CharStream.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\CommonToken.cpp
[ 26%] Compiling ==> modules\luascript\lib\antlr4\CommonTokenFactory.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
CommonToken.cpp
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
CommonTokenFactory.cpp
D:\roblox like platform\godot\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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
D:\roblox like platform\godot\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.29.30037\include\xstring(4905): 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
D:\roblox like platform\godot\modules\luascript\lib\antlr4\BaseErrorListener.h(23): note: see previous definition of 'syntaxError'
modules\luascript\lib\antlr4\BaseErrorListener.cpp(16): warning C4273: 'antlr4::BaseErrorListener::reportAmbiguity': inconsistent dll linkage
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\modules\luascript\lib\antlr4\BaseErrorListener.h(32): note: see previous definition of 'reportContextSensitivity'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
D:\roblox like platform\godot\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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
D:\roblox like platform\godot\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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): note: see declaration of 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(156): 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.29.30037\include\mutex(87): note: see declaration of 'std::mutex'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(159): 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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(159): 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>>>>>>'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(160): 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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(160): 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>>>>>>'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Lexer.h(61): 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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\TokenSource.h(35): note: see declaration of 'std::unique_ptr<antlr4::Token,std::default_delete<antlr4::Token>>'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Lexer.h(88): 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'D:\roblox like platform\godot\modules\luascript\lib\antlr4\Lexer.h(88): note: see declaration of 'std::vector<size_t,std::allocator<size_t>>'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Lexer.h(202): 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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\tree/ParseTree.h(38): note: see declaration of 'std::vector<antlr4::tree::ParseTree *,std::allocator<antlr4::tree::ParseTree *>>'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Lexer.h(178): 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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(169): note: see previous definition of 'setup'
[ 26%] D:\roblox like platform\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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(192): warning C4273: 'antlr4::BufferedTokenStream::setTokenSource': inconsistent dll linkage

[ 26%] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'D:\roblox like platform\godot\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 linkagemodules\luascript\lib\antlr4\CharStream.cpp(10): warning C4273: 'antlr4::CharStream::~CharStream': inconsistent dll linkage
[ 26%]
D:\roblox like platform\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(52): note: see previous definition of 'getTokens'D:\roblox like platform\godot\modules\luascript\lib\antlr4\CharStream.h(16): note: see previous definition of '{dtor}'Compiling ==> modules\luascript\lib\antlr4\CommonTokenStream.cpp

modules\luascript\lib\antlr4\BufferedTokenStream.cpp(206): warning C4273: 'antlr4::BufferedTokenStream::getTokens': inconsistent dll linkage
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(189): note: see prenel'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(281): warning C4273: 'antlr4::BufferedTokenStream::getHiddenTokensToRight': inconsistent dll linkage
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(90): note: see previous definition of 'getText'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
cl : Command line warning D9025 : overriding '/std:c++17' with '/std:c++14'
D:\roblox like platform\godot\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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
modules\luascript\lib\antlr4\BufferedTokenStream.cpp(388): warning C4273: 'antlr4::BufferedTokenStream::getText': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(91): note: see previous definition of 'getText'CommonTokenStream.cpp

D:\roblox like platform\godot\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'modules\luascript\lib\antlr4\BufferedTokenStream.cpp(392): warning C4273: 'antlr4::BufferedTokenStream::getText': inconsistent dll linkage

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'D:\roblox like platform\godot\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
D:\roblox like platform\godot\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 linkageD:\roblox like platform\godot\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'

D:\roblox like platform\godot\modules\luascript\lib\antlr4\BufferedTokenStream.h(197): note: see previous definition of 'InitializeInstanceFields'D:\roblox like platform\godot\modules\luascript\lib\antlr4\ProxyErrorListener.h(18): note: see declaration of 'std::set<antlr4::ANTLRErrorListener *,std::less<antlr4::ANTLRErrorListener *>,std::allocator<antlr4::ANTLRErrorListener *>>'

D:\roblox like platform\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(156): 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.29.30037\include\mutex(87): note: see declaration of 'std::mutex'D:\roblox like platform\godot\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'

D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(159): 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'D:\roblox like platform\godot\modules\luascript\lib\antlr4\CommonToken.h(18): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'

D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(159): 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>>>>>>'
D:\roblox like platform\godot\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'D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(160): 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'

D:\roblox like platform\godot\modules\luascript\lib\antlr4\CommonToken.h(18): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(160): 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>>>>>>'

D:\roblox like platform\godot\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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\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>>>'
modules\luascript\lib\antlr4\CommonTokenFactory.cpp(14): warning C4273: 'DEFAULT': inconsistent dll linkage
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Vocabulary.h(185): 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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(34): note: see declaration of 'std::vector<std::string,std::allocator<std::string>>'modules\luascript\lib\antlr4\CommonTokenFactory.cpp(14): error C2491: 'antlr4::CommonTokenFactory::DEFAULT': definition of dllimport static data member not allowed

D:\roblox like platform\godot\modules\luascript\lib\antlr4\Vocabulary.h(186): 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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(34): note: see declaration of 'std::vector<std::string,std::allocator<std::string>>'modules\luascript\lib\antlr4\CommonTokenFactory.cpp(16): warning C4273: 'antlr4::CommonTokenFactory::CommonTokenFactory': inconsistent dll linkage

D:\roblox like platform\godot\modules\luascript\lib\antlr4\Vocabulary.h(187): 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'D:\roblox like platform\godot\modules\luascript\lib\antlr4\CommonTokenFactory.h(56): note: see previous definition of '{ctor}'

D:\roblox like platform\godot\modules\luascript\lib\antlr4\Recognizer.h(34): note: see declaration of 'std::vector<std::string,std::allocator<std::string>>'modules\luascript\lib\antlr4\CommonTokenFactory.cpp(19): warning C4273: 'antlr4::CommonTokenFactory::CommonTokenFactory': inconsistent dll linkage

D:\roblox like platform\godot\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
D:\roblox like platform\godot\modules\luascript\lib\antlr4\CommonTokenFactory.h(68): note: see previous definition of 'create'
modules\luascript\lib\antlr4\CommonTokenFactory.cpp(37): warning C4273: 'antlr4::CommonTokenFactory::create': inconsistent dll linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\CommonTokenFactory.h(71): note: see previous definition of 'create'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\TokenFactory.h(23): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\modules\luascript\lib\antlr4\TokenFactory.h(23): note: see declaration of 'std::pair<antlr4::TokenSource *,antlr4::CharStream *>'
D:\roblox like platform\godot\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.29.30037\include\xstring(4905): 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
D:\roblox like platform\godot\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'
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 linkage
D:\roblox like platform\godot\modules\luascript\lib\antlr4\CommonToken.h(87): note: see previous definition of '{ctor}'scons: *** [modules\luascript\lib\antlr4\CommonTokenFactory.windows.tools.64.obj] Error 2

modules\luascript\lib\antlr4\CommonToken.cpp(30): warning C4273: 'antlr4::CommonToken::CommonToken': inconsistent dll linkage
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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 linkage
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\modules\luascript\lib\antlr4\IntStream.h(47): 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.29.30037\include\xstring(4905): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
D:\roblox like platform\godot\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'
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\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
D:\roblox like platform\godot\modules\luascript\lib\antlr4\CommonTokenStream.h(61): note: see previous definition of 'getNumberOfOnChannelTokens'
scons: building terminated because of errors.
perbone commented 3 years ago

Yes it can be antlr. Unfortunately I don't have I windows machine to figure this out by myself. So for now I can't be off any more help for you. Sorry about that.

fabiomen10 commented 3 years ago

Built fine in Linux. I will try in windows too to see what happens. @Lioncat2002

perbone commented 3 years ago

Already reported many times. I do not support Windows, I don't have a PC running this OS.