it is a test of the printf function and it doesn't compile (it says :
thermotest.c:73: error 98: conflict with previous definition of 'putchar' for attribute 'wparam'
thermotest.c:73: error 52: Actual Argument type different from declaration 1
from type 'unsigned-char'
to type 'char')
i defined putchar and getchar(communications on the serial port of PIC) before main and in main i put printf("test");. The code of putchar and getchar works when i put it directly in main without calling the printf function. So the problem might be the wrong declaration of those functions (or in the wrong place).
i hope that i expose the problem clearly otherwise i will join the program.
Thank you for your help.