We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using the following code under a blink project in local debug mode.
void setup() {} void loop() { String t((unsigned int)1); }
That program crashes when run in local mode. It works fine when removing the unsigned qualifier.
unsigned
Under debugger, it appears that calling from String(unsigned int)
char *utoa (unsigned char __val, char *__s, unsigned char __radix) { return utoa ((unsigned int) __val, __s, (int) __radix); }
loops for ever.
This is because utoa is not defined in stdlib.h, like itoa` is:
utoa
_CRTIMP __cdecl __MINGW_NOTHROW char* itoa (int, char*, int);
not sure what a proper fix is, as I'm not sure if this is a mingw or jantje issue.
The text was updated successfully, but these errors were encountered:
I don't know and I wont have time to look at it before half september.
Sorry, something went wrong.
this older issue seems relevant: esp8266/Arduino#110
It is indeed the case that ArduinoIDE has a modified stdlib under C:\Program Files (x86)\Arduino\hardware\tools\avr\avr\include that contains utoa.
So it's not a mingw issue, it should either be fixed in jantje or sloeber.
49a3d91
Merge pull request #16 from jml3on/master
95f1554
fix #15
No branches or pull requests
Using the following code under a blink project in local debug mode.
That program crashes when run in local mode.
It works fine when removing the
unsigned
qualifier.Under debugger, it appears that calling from String(unsigned int)
loops for ever.
This is because
utoa
is not defined in stdlib.h, like itoa` is:not sure what a proper fix is, as I'm not sure if this is a mingw or jantje issue.
The text was updated successfully, but these errors were encountered: