I can't reproduce the error. Have you made any modifications to the configuration of Marlin or is it the unmodified 1.1.8 code just as it's downloaded from:https://github.com/MarlinFirmware/Marlin/releases/tag/1.1.8
Ok, now I can reproduce the error. The reason why it fails in the Arduino Web Editor is because it uses a brand new sketch preprocessing tool named arduino-preprocessor that is still in beta development stage and has some bugs. That tool is not used in any of the release versions of the Arduino IDE. It is used in the beta build of the Arduino IDE and the same error occurs when I compile that program with the beta IDE build.I don't know why they decided it would be a good idea to make all the users of the Arduino Web Editor unknowing beta testers.
Is there any way to turn off 'beta mode'
Use the standard Arduino IDE if you want control over the software you're using. arduino-preprocessor will eventually make its way into an Arduino IDE production release but only after it is in a more stable state and even then you always have the option of installing any previous version of the IDE if the current release has issues.
#define SPI_MOSI_PIN MOSI_PIN // SPI Master Out Slave In pin #define SPI_MISO_PIN MISO_PIN // SPI Master In Slave Out pin #define SPI_SCK_PIN SCK_PIN // SPI Clock pin
// SPI Master Out Slave In pin #define SPI_MOSI_PIN MOSI_PIN // SPI Master In Slave Out pin #define SPI_MISO_PIN MISO_PIN // SPI Clock pin #define SPI_SCK_PIN SCK_PIN
Oh i downloaded it from the Tevo Tornado Owners group on facebook.
I'll definitely read up on the bug you reported in your link so that i might be able to avoid the same issues in the future as i'll be using arduino create more frequently now