[Solved] validator causes Build All to fail

Building the VST3 SDK using the ALL_BUILD target, my project fails to build because validator has this line of code that fails:

randIndex = rand () % (numBusses);

It says that rand is an undeclared identifier. I have not modified anything in the cmake-generated project. Is there some path I might have missed adding or setting when using cmake (the GUI app), that might cause this?

Ah, just saw this post that explains the issue:

https://sdk.steinberg.net/viewtopic.php?f=4&t=687#p2157