UpdateResourceW compile error after creating a certain number of c++ classes

Hi, i just spent quite part of the day on this issue. It’s fully explained here…3800/view.html and i finally found what seems to be a “fix”. But i was wondering…is this normal? is there anything i’m supposed to not be doing? on some classes i’m using non-UE includes (such as mutex, vector, map, algorithm) and also using photon.

The weird part of everything was that if i reached X number of c++ classes, the compile error came up. If i deleted the last created class, it compiled fine. Created a brand new class again and compile error…i even tried on a different PC to make sure it wasn’t my engine being corrupted.