Forum : ST7/STM8
Original Post
Post Information | Post |
---|---|
July 30, 2009 - 7:38am
|
I am trying to use scanf/sscanf in a function, it compiled ok but on linking it complains of unresolved external. LINKER/LOCATOR RLST7 V2.22.09.203 Lite (16 Kb code limited) Using: FYI printf/sprintf is used, compiled and linking is ok and working. |
Well, I'm sorry, but scanf//sscanf aren't currently implemented in the STM8 libraries whereas their are defined in stdio.h
All other conversion routines (atoi, strtod, ...) are implemented.
Regards,
Stéphane
We have the same problem 3 years later now in nov 2012.
RLSTM8 LINKER/LOCATOR V2.46.12.262 - Lite (32 Kb code limited)
Copyright (c) Raisonance S.A.S. 1987-2012. All rights reserved.
***ERROR 100 : UNRESOLVED EXTERNAL
SYMBOL : ?sscanf(PARSER)
***ERROR 100 : UNRESOLVED EXTERNAL
SYMBOL : ?sscanf(MAIN)
LINK/LOCATE RUN COMPLETE, 2 ERRORS FOUND.
Error Code: 0x1
Build failed
Is sscanf function still not implemented ?
It is crucial functionality of standard library for us to change our development environment to Ride7.