Regarding:
const char HW[]="";
You indicated that unreal would chuck a wobbly but I suspected it was valid code, and I found unity compiled it happily.
When you said unreal would chuck a wobbly - were you referring to someone attempting to declare this empty array who then might attempt to change it? (The error then would be thrown by the compiler because it was declared as ‘const’.)