"INTERNAL COMPILER ERROR" CL.exe exited with code -529706956

Laurent Le Faucheur 0 Reputation points
2025-04-10T13:16:27.4166667+00:00

VS2019 was fine on my small project. I found my problem to be close to https://godbolt.org/z/Y1xoGPMba reported one year ago without answer here https://developercommunity.visualstudio.com/t/Internal-Compiler-error-when-allocating/10634435?sort=newest

Here my error message after correct compilation of the ~30 files:

1>(compiling source file '../../../stream_src/stream_io.c')

1>Generating Code...

1> CL!RaiseException()+0x6c

1> CL!RaiseException()+0x6c

1> CL!InvokeCompilerPassW()+0xb2713

1> CL!InvokeCompilerPassW()+0x12dffb

1>INTERNAL COMPILER ERROR in 'C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64\CL.exe'

1> Please choose the Technical Support command on the Visual C++

1> Help menu, or open the Technical Support help file for more information

1>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(781,5): error MSB6006: "CL.exe" exited with code -529706956.

1>Done building project "Computer2.vcxproj" -- FAILED.

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
367 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.