Closed sony202020 closed 2 years ago
You're getting the error because the code is compiled without the -fpermissive flag. The flag is left out on purpose because it trick users into thinking that their code is functioning properly.
From StackOverflow:
The -fpermissive flag causes the compiler to report some things that are actually errors (but are permitted by some compilers) as warnings, to permit code to compile even if it doesn't conform to the language rules. You really should fix the underlying problem. Post the smallest, compilable code sample that demonstrates the problem.
So these are your errors, and it should be handled properly:
error: invalid conversion from 'unsigned char' to 'const char*'
error: invalid conversion from 'unsigned char*' to 'const char*'
Hi, I just try to compile to M32 code but to many error. But if the code I porting and compile using UNO board without error. here the sample of the errors:
what should I do?
thank you