8 years, 5 months ago.

Error: Undefined symbol feof (referred from main.cpp.DISCO_F746NG.o).

It seems that feof() is undefined in stdio.h if selected the DISCO-F746NG platform. It does not occur if any other platforms were selected.

Is there anyone who knows about this matter?

1 Answer

7 years, 8 months ago.

You must use getc instead of feof, like so