04/22/2023

I had previously changed my code to use C++20 modules. As much hope that I had for modules, I've been supremely disappointed in them. Seems like everytime I upgrade Visual Studio, my entire code base will no longer compile due to the use of modules. In the most recent upgrade, while trying to compile my JSon library, I get the following error:

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

No other useful information is available as to what the issue is. The more I use other modern languages (C#, Rust) the less and less I like using C++. It's become a mess of a language.