have_library: checking for -lole32... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/win32ole-1.9.2/ext/win32ole -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed     -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt   -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7:   return !!argv[argc];
8: }
/* end */

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/win32ole-1.9.2/ext/win32ole -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed     -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -lole32  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: 
18: int t(void) { ; return 0; }
/* end */

--------------------

have_library: checking for -loleaut32... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/win32ole-1.9.2/ext/win32ole -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed    -lole32  -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -loleaut32 -lole32  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: 
18: int t(void) { ; return 0; }
/* end */

--------------------

have_library: checking for &CLSID_CMultiLanguage() in -luuid... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/win32ole-1.9.2/ext/win32ole -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed    -loleaut32 -lole32  -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -luuid -loleaut32 -lole32  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <mlang.h>
 6: 
 7: /*top*/
 8: extern int t(void);
 9: int main(int argc, char **argv)
10: {
11:   if (argc > 1000000) {
12:     int (* volatile tp)(void)=(int (*)(void))&t;
13:     printf("%d", (*tp)());
14:   }
15: 
16:   return !!argv[argc];
17: }
18: int t(void) { const volatile void *volatile p; p = (const volatile void *)&CLSID_CMultiLanguage; return !p; }
/* end */

--------------------

have_library: checking for -luser32... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/win32ole-1.9.2/ext/win32ole -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed    -luuid -loleaut32 -lole32  -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -luser32 -luuid -loleaut32 -lole32  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: 
18: int t(void) { ; return 0; }
/* end */

--------------------

have_library: checking for -lkernel32... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/win32ole-1.9.2/ext/win32ole -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed    -luser32 -luuid -loleaut32 -lole32  -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -lkernel32 -luser32 -luuid -loleaut32 -lole32  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: 
18: int t(void) { ; return 0; }
/* end */

--------------------

have_library: checking for -ladvapi32... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/win32ole-1.9.2/ext/win32ole -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed    -lkernel32 -luser32 -luuid -loleaut32 -lole32  -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -ladvapi32 -lkernel32 -luser32 -luuid -loleaut32 -lole32  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: 
18: int t(void) { ; return 0; }
/* end */

--------------------

have_header: checking for windows.h... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/win32ole-1.9.2/ext/win32ole -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <windows.h>
/* end */

--------------------

have_type: checking for IMultiLanguage2 in mlang.h... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/win32ole-1.9.2/ext/win32ole -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <mlang.h>
6: 
7: /*top*/
8: typedef IMultiLanguage2 conftest_type;
9: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

create_win32ole_makefile: checking for thread_specific... -------------------- __thread

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/win32ole-1.9.2/ext/win32ole -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include  -Werror -c conftest.c"
conftest.c:5:1: error: 'thread' attribute directive ignored [-Werror=attributes]
    5 | __declspec(thread) int foo;
      | ^~~~~~~~~~
cc1.exe: all warnings being treated as errors
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: __declspec(thread) int foo;
/* end */

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/win32ole-1.9.2/ext/win32ole -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include  -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: __thread int foo;
/* end */

--------------------

have_func: checking for rb_deprecate_constant(Qnil, "")... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/win32ole-1.9.2/ext/win32ole -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed    -ladvapi32 -lkernel32 -luser32 -luuid -loleaut32 -lole32  -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -ladvapi32 -lkernel32 -luser32 -luuid -loleaut32 -lole32  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: 
18: int t(void) { char s1[1024] = ""; rb_deprecate_constant(Qnil, s1); return 0; }
/* end */

--------------------

extconf.h is:
/* begin */
1: #ifndef EXTCONF_H
2: #define EXTCONF_H
3: #define HAVE_WINDOWS_H 1
4: #define HAVE_TYPE_IMULTILANGUAGE2 1
5: #define RB_THREAD_SPECIFIC __thread
6: #define HAVE_RB_DEPRECATE_CONSTANT 1
7: #endif
/* end */

