Skip to content

Extend String to print 64-bit integers #5672

Closed
@drws

Description

@drws

Description:

Even in the latest v2.0.0 String() is still unable to print 64-bit integers. A minimal non-working example would be:

Sketch:

#include <Arduino.h>

void setup() {
  String(1LL); // String(1L) compiles
}

void loop() {
}

Which produces an error call of overloaded 'String(long long int)' is ambiguous.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions