Navigation
API > API/Runtime > API/Runtime/Core
An alternative use of the deprecation feature is to note an API breaking change that could cause data loss or similar, so we use this when tagging a property that is a compile error to use (for instance by changing its type to FDeprecationCompileError type, which is incompatible with anything), but it can still show the deprecation message telling users how to fix their code. This should only be used when a nice, clean deprecation is not possible. YOU MUST FOLLOW THIS WITH SOMETHING THAT CAUSES AN ERROR - for instance, change the variable type to FDeprecationCompileError so any use will fail, or use one of the below helpers
| Name | FDeprecationCompileError |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/CoreMiscDefines.h |
| Include Path | #include "Misc/CoreMiscDefines.h" |
Syntax
struct FDeprecationCompileError