Skip to content

Not all String constructors work #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hcs-svn opened this issue Oct 25, 2016 · 1 comment
Closed

Not all String constructors work #24

hcs-svn opened this issue Oct 25, 2016 · 1 comment

Comments

@hcs-svn
Copy link

hcs-svn commented Oct 25, 2016

Example:
String test = String(12.1);

Result:
core.a(WString.cpp.o)_: (.literal.ZN6StringC2Edh+0x0): undefined reference to dtostrf
core.a(WString.cpp.o)
: In function String::String(double, unsigned char)
WString.cpp:614: undefined reference to dtostrf

Possible solution:
Adding core_esp8266_noniso.c from the ESP8266 core (with another name that fits) solves the problem

@me-no-dev
Copy link
Member

Done! :) d7aed63

Jason2866 referenced this issue in Jason2866/arduino-esp32 Nov 20, 2021
brentru pushed a commit to adafruit/arduino-esp32 that referenced this issue Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants