I’m including in my project some external content, which seems to also end up including a file called ‘winnt.h’, which is part of Windows (it’s contained in **C:\Program Files (x86)\Windows Kits\8.1\include\um**).
The problem is that this header file contains a definition for a macro that UE4 uses: TEXT
#define TEXT(quote) __TEXT(quote) // r_winnt
My project still builds, but I can see this causing problems, as it throws up these lines in the output of Visual Studio:
2>C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(536): warning C4005: 'TEXT': macro redefinition 2>c:\program files\epic games\ue_4.18\engine\source\runtime\core\public\HAL/Platform.h(848): note: see previous definition of 'TEXT'
Anyone know anything I can do to avoid conflicts with this redefinition of a macro?