Originally Posted by Bacardi
Plugin_name.sp(#) : error 010 : invalid fuction or declaration
This happen when file have saved different character encoding (Those are ASCII, UTF-8, ANSI etc. etc.)
This error appears when *.sp file have encoded to UTF-8
Can be check with notepad++
and convert to other encode.
Can convert with notepad
using save as...
Convert file to ANSI
I have maybe write bullsh*t but anyone is free to explain this in more detail.
The compiler error in the screenshot is from UTF-8 with BOM.
Both UTF-8 without BOM and ANSI are fine.