Topic : scanf/sscanf function not available in library

Forum : ST7/STM8

Original Post
Post Information Post
July 30, 2009 - 7:38am
Guest

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)
Copyright (c) Raisonance S.A.S. 1987-2009. All rights reserved
***ERROR 100 : UNRESOLVED EXTERNAL
SYMBOL : ?sscanf(SOLAR)

Using:
Ride7 7.22.09.0203
RKit-STM8 for Ride7 2.22.09.0203

FYI printf/sprintf is used, compiled and linking is ok and working.

Replies
Post Information Post
+1
0
-1
July 30, 2009 - 10:59am
Raisonance Support Team

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

+1
0
-1
November 29, 2012 - 10:31am
Guest

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.