Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 12 months ago. This question has been closed. Reason: Duplicate question
no matching function for call to 'mbed::Serial::printf()'
HI, Suddenly I get this error using Eclipse and GCC to compile my project. It compiles fine using the online compiler.. After updating my mbed library and the project files. It was working fine before.
Any suggestions
error: no matching function for call to 'mbed::Serial::printf()' #define DEBUG_MESSAGE(...) pc.printf(__VA_ARGS__) ^
It seems that it is not happy with pc.printf
BR
Maybe some one will get the same problem.
The problem was a call to the function that didn't send any thing to the function.. I had a call like bellow:
DEBUG_MESSAG();
This caused the problem. But it was not easy to understand the problem since it was working .. Calling the DEBUG_MESSAGE without sending anything to it will cause that behavior.
posted by M J. 28 Dec 2017