using void loop(){} in .ino file generates: error: redefinition of 'void loop()' #687
Labels
domain: build
The build does not work as the Arduino IDE.
importance: no user impact
OS: all
status: fixed in 4.1
status: workaround documented
A workaround has been confirmed to solve this issue.
Any empty method declared with {} in a .ino file will generated a redefinition error.
The root cause is that the ino to cpp converter expects at least 1 character between '{' and '}'
The work around is to use
void loop(){ }
The text was updated successfully, but these errors were encountered: