open-watcom / open-watcom-v2

Open Watcom V2.0 - Source code repository, Wiki, Latest Binary build, Archived builds including all installers for download.
Other
958 stars 157 forks source link

VS2022 build fails: bwcc.exe crash #814

Open HnkGitHub opened 2 years ago

HnkGitHub commented 2 years ago

Platform NT64, Windows 10 Visual Studio Version: 1931(Watcom Reported) Microsoft: Version 17.1.0, .NET Framework 4.8.04084

The toolset builds the bootstrap without problem. But the bwcc.exe built by the Microsoft compiler fails after building several of the C libraries. The Visual Studio Debugger found that the bwcc executable file failed while building dataflo.c

Builds fine with VS 2017

Thanks,

Henry

jmalak commented 2 years ago

Build by all previous versions (2015-2019) are OK. It will require to debug bwcc if failing to get reason for it.

jmalak commented 2 years ago

It should be fixed now. The MS changed VS 2022 run-time function system behaviour that it needs to use flushall before call system