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, 6 months ago.
GCC compile error in mbed library - single arg putc()
I exported my program (gccarm), but on make I get a few errors, a couple of which relate to the single argument implementation of `make` in RawSerial.h, Stream.h.
The error is:
macro "putc" requires 2 arguments, but only 1 given
Which doesn't make any sense to me, since this is the declaration in RawSerial/Stream classes.
Anyone had the same/similar issue? What have I done wrong?