MT5 · Compilation errors
MT5 377 · Macro __FUNCSIG__ and __FUNCTION__ cannot appear outside of a function body | YI GOLD
Official meaning
Macro __FUNCSIG__ and __FUNCTION__ cannot appear outside of a function body
Possible causes · YI GOLD suggestions
Determine the cause from the official meaning, the triggering function and terminal logs.
Troubleshooting · YI GOLD suggestions
Locate the first reported line in MetaEditor. Check syntax, types, function signatures, includes and file permissions, then recompile.