Hi,
my project was building fine in 4.18.3 and visual studio 2015, without any code changes, I updated the engine to 4.20.3-release and using visual studio 2017 and now I cannot compile due to this error:
Error C4668 '_LARGEFILE64_SOURCE' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' PSUnreal f:\unrealengine\engine\source\thirdparty\zlib\zlib-1.2.5\inc\zconf.h 373
Error C4668 '_LFS64_LARGEFILE' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' PSUnreal F:\UnrealEngine\Engine\Source\ThirdParty\zlib\zlib-1.2.5\Inc\zlib.h 1574
Please note UE builds ok, its my project which doesnt build anymore.
Seems related to zlib, but this component is part of the standard UE third party libs.
In my code I use zlib to compress and deflate some data. One of my source files has this include:
#include "ThirdParty/zlib/zlib-1.2.5/Inc/zlib.h"
Can’t find why this is happening. Any suggestions?