Skip to content

undefined reference to `sscanf' #404

Closed
@cimba007

Description

@cimba007
void setup() {
    // put your setup code here, to run once:
    int i, ii;
    char* test;
    sscanf(test, "%x", &ii);
}

void loop() {
  // put your main code here, to run repeatedly:

}

Throws this:

C:\Users\Jinja\AppData\Local\Temp\build662335425252246733.tmp\sketch_jun08b.cpp.o:(.text+0x4): undefined reference to `sscanf'
C:\Users\Jinja\AppData\Local\Temp\build662335425252246733.tmp\sketch_jun08b.cpp.o: In function `setup':
sketch_jun08b.cpp:(.text+0x14): undefined reference to `sscanf'
collect2.exe: error: ld returned 1 exit status
Fehler beim Kompilieren.

Pretty straight forward.
Running on 1.6.4-673-g8cd3697

If anybody has a solution this would be very much appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions