When I try to use sscanf in my application, I get the error:
linking... *** ERROR L104: MULTIPLE PUBLIC DEFINITIONS SYMBOL: GETCHAR MODULE: C:\KEIL\C51\LIB\C51L.LIB (GETCHAR) *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?GETCHAR?GETCHAR *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: GETCHAR MODULE: C:\KEIL\C51\LIB\C51FPL.LIB (SCANF) ADDRESS: 1EF6H
I have a custom version of getchar in my program that calls an interrupt driven serial I/O handler.
Since sscanf does not use serial I/O why is it trying to use scanf or even getchar for that matter.
How do I use a custom getchar function and sscanf in the same program?