Can you explain what your define is attempting to do?
If that matters, i’m trying to use another reflection system (the header is shared with noneUE project).
But it actually does not matter, because the code above is a valid c++ code, it does not violate any declared coding conventions and UBT does not accept it.
This should be considered as a bug.