Compiler Error 36
add an #if in the begining or end of the file
example
//the next lines might be missing... or #ifndef MBED_SAMPLE #define MBED_SAMPLE #include "mbed.h" class sampleClass { public: sampleClass(PinName inPin, int myParam); void Bar(int myInp); private: void Foo(); float myValue }; //this line could be mising #endif