We are having problems building OCC 7.4, using C runtime 142 on Visual Studio 2019 16.4.4,
In Release Win32 mode, we can build Foundation.sln, ModelingData.sln, but when we try to build ModelingAlgorithms.sln the compiler gets to BRepExtrema_DistShapeShape.cxx and seems to be in an infinite loop.
The c++ compiler is locked on 29% CPU usage ad-infinitum.
Anyone else seen this, we can reproduce the problem on several machines and on our CI build
Just for clarity this is not specific to OCC 7.4 we have the same problem with OCC 7.3
The line that causes the hang is Line 136
std::stable_sort(aPairList.begin(), aPairList.end(), BRepExtrema_CheckPair_Comparator);
Comment this out or change to std::sort and it compiles, I am not knowledgable enough on this function to know we need stable_sort?