Macro in skipped region

Hey unreal community, I’ve run into an annoyance during these last few lectures that I’m sure some of you have also come across.

Macro%20in%20skipped%20region

Even though it doesn’t effect the build,

Macro%20in%20skipped%20region%20build

I still made me nervous. So I did some research, and there are a lot of forums out there on this problem.

https://answers.unrealengine.com/questions/787769/visual-studio-editor-saying-macro-in-skipped-regio.html

The impression I get from the forums is that this is a VS IntelliSense issue and not to worry. My question derives from a “workaround” solution posted on one of the forums, suggesting creating a cpp.hint file and using #define to add definitions to UCLASS, GENERATED_BODY etc. Is this a good idea? or would I be just adding clutter to my program?

Privacy & Terms