They aren’t for the C++ compiler, they are for the Unreal Header Tool.
Those macros are for the unreal property system or aka unreal own way to do Reflection Unreal Property System (Reflection) - Unreal Engine.
For a basic introduction, I would recommend reading this documentation page https://docs.unrealengine.com/en-US/…ion/index.html.