Compiler Error 65

Expected a ";" (E65)

A very common error, likely caused by forgetting a ";" at the end of one of your statements.

Example:

#include "mbed.h"

DigitalOut buzzer(buzzer)         // missing ;

int main() {                      // error will actually be reported as on this line!
   
}

Note that the line number suggested by the error message will likely specify the next statement after the actual error, as this is the first time the compiler will detect something is wrong as it works through the program.

This error can also be caused by other typographical errors on nearby lines. Double-check for any improperly closed parenthesis or quote marks near by. This error can sometimes even appear for loops if you misspell the loop name.


All wikipages