Quote:
|
Originally Posted by Plloyd
I am also having a problem with printf_lib.h
I can compile the default code, however, if i add the printf_lib.h and .c files that are in the default code directory, and attempt to use the printf function, it gives me the following error:
|
Don't include the printf_lib.h or printf_lib.c files. They are old and no longer necessary.
The new compiler comes with a new printf routine. Adding the old printf routine on top of the default one caused the compiler to get confused about which of the two it should use.
Instead, add:
#include <stdio.h>
to any file that needs to use printf.