fix Issue 4757 - A forward reference error with return of inner defined struct
Fixes Issue 11735 - pragma(msg) doesn't work with wchar/dchar strings.
Merge pull request #3365 from CyberShadow/fix4757

fix Issue 4757 - A forward reference error with return of inner defined struct
Merge pull request #3381 from AndrejMitrovic/Fix11735

Fixes Issue 11735 - pragma(msg) doesn't work with wchar/dchar strings.