Quote:
Originally Posted by Bacardi
Error
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 instead ANSI
Can be check with notepad++ and convert to other encode.
Can convert with notepad using save as... method
FIX
Convert file to ANSI
*edit
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.