Hello,
On Visual Studio 2019 (same problem with VS 2017) and with the last version of visual micro, I get an error very strange I can't resolve by now
"Stray '\' in program" !
As you can see in screenshot attached there is nothing on line 23 ! I also edited the file in a hexa editor to detect eventually strange characters but nothing special !
I have this problem on many .ino files ! this is only an example among other.
Please note also that with the arduino editor the same project compile without any problem !
Could you help me to understand ?
Let me know if you want/need more detail.
Thanks in advance,
Compiling debug version of 'HorlogeNTP' for 'LOLIN(WEMOS) D1 R2 & mini'
HorlogeNTP.ino: 23:1: error: stray '\' in program
HorlogeNTP.ino: 23:1: error: stray '\' in program
HorlogeNTP.ino: 23:34: error: request for member 'iram' in '"\\"', which is of non-class type 'const char [2]
HorlogeNTP.ino: 23:44: error: expected unqualified-id before string constant
HorlogeNTP.ino: 23:91: error: section attribute not allowed for 'void TimerHandler()
Error compiling project sources
Debug build failed for project 'HorlogeNTP'