The files, where said macros are stored on Windows, are these:
- 5.3 - Engine/Source/Runtime/Core/Public/MSVC/MSVCPlatformCompilerPreSetup.h
- 5.4 - Engine/Source/Runtime/Core/Public/MSVC/MSVCPlatformCompilerPreSetup.h
And the only difference between 5.3 and 5.4 is following addition:
#ifndef PRAGMA_DISABLE_UNREACHABLE_CODE_WARNINGS
#define PRAGMA_DISABLE_UNREACHABLE_CODE_WARNINGS \
__pragma (warning(push)) \
__pragma (warning(disable: 4702)) /* unreachable code */
#endif // PRAGMA_DISABLE_UNREACHABLE_CODE_WARNINGS
#ifndef PRAGMA_RESTORE_UNREACHABLE_CODE_WARNINGS
#define PRAGMA_RESTORE_UNREACHABLE_CODE_WARNINGS \
__pragma (warning(pop))
#endif // PRAGMA_RESTORE_UNREACHABLE_CODE_WARNINGS
which narrows down to suppressing C4702
This does not seem like something that should cause any compilation issues.
Are you sure this ain’t a problem with your VS22/MSVC setup? @YobiRobert