Closed
Description
Bug report
Bug description:
Building on MSVC 1935 currently fails when building with the JIT, because that compiler does not support empty array initializers ({}
).
PCbuild\build.bat --experimental-jit -c Release
...
C:\actions-runner\_work\benchmarking\benchmarking\cpython\PCbuild\obj\314amd64_PGInstrument\pythoncore\jit_stencils.h(23145,68): error C2059: syntax error: '}' (compiling source file ..\Python\jit.c) [C:\actions-runner\_work\benchmarking\benchmarking\cpython\PCbuild\pythoncore.vcxproj]
This line in jit_stencils.h
looks like:
static const StencilGroup trampoline = {emit_trampoline, 273, 24, {}};
^
This was introduced recently in #123872. All of the uses of empty initializers should use {0}
instead.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows