I’m trying to include a library into my project (OpenVDB), but I get tons of errors from TBB headers (but not only) when I try to compile (like error C4668: ‘__TBB_STATISTICS’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’)…
Well I’ve put the lib and include files into separate folders (ThirdParty//), then I modified the MyProject.Build.cs and added the paths into PublicIncludePaths and PublicAdditionalLibraries, regenerated the VS solution and compile.
But it seems that the compiler is treating warnings as errors, is that possible?