On Mon, 19 May 2025 18:49:28 +0000 Danny Scott wrote:
DS> In trying to test the build tool updates I am getting the following error:
Which version of the compiler are you using when you get this error?
DS> cl /c /nologo /TC /Fovc14x_x64_mswudll\wxregex_pcre2_auto_possess.obj /MD
DS> /DWIN32 /Zi /Fd..\..\lib\vc14x_x64_dll\wxregexu.pdb /O2
DS> /D_CRT_SECURE_NO_DEPRECATE=1 /D_CRT_NON_CONFORMING_SWPRINTFS=1
DS> /D_SCL_SECURE_NO_WARNINGS=1 /D__NO_VC_CRTDBG__ /DNDEBUG
DS> /D_CRT_SECURE_NO_WARNINGS /I..\..\include /I..\..\lib\vc14x_x64_dll\mswu
DS> /I..\..\3rdparty\pcre\src\wx /D__WX__ /DHAVE_CONFIG_H
DS> ..\..\3rdparty\pcre\src\pcre2_auto_possess.c
DS> pcre2_auto_possess.c
DS> C:\Program Files (x86)\Windows
DS> Kits\10\include\10.0.26100.0\ucrt\wchar.h(313): error C2440:
DS> 'initializing': cannot convert from 'int' to '__m128i'
It looks like this SDK version (which seems to be the latest one) is
incompatible with the (presumably older) compiler being used. I don't have
this SDK, so I don't know what is/around this line in this header, but
perhaps you can see some way to opt out from using 128 bit integers there?
If not, the only solution would seem to be to use one of the older SDKs
from
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/
We/you could even use 10.0.19041.0 (Windows 10) as we don't rely on any
Windows 11-only features AFAIK.
Regards,
VZ