EloquentArduino icon indicating copy to clipboard operation
EloquentArduino copied to clipboard

Problems using PlatformIO on Windows

Open MoOaAaa opened this issue 2 years ago • 0 comments

Hi, I'm currently using your library for some project (and it work really well, thank you), but using VSCode PlatformIO on Windows, I had 70+ compilation errors. Most them were solved when I included Arduino.h in my file, but a -Werror=reorder was still here. The file concerned by this error was BaseImage.h. I modified it just so that the error would stop, here are my changes :

Moved protected members declaration from line 239-244 to 22-27 (start of the file instead of the end).

I know that doesn't respect how you should declare members in C++, but I'm sorry I'm a real novice when it come to that langage so I can't find a better solution..

MoOaAaa avatar Apr 12 '22 17:04 MoOaAaa