esp8266 / Arduino

ESP8266 core for Arduino
GNU Lesser General Public License v2.1
16.03k stars 13.33k forks source link

itoa (utoa) is not found if including arduino.h nor stdlib.h #110

Closed Makuna closed 9 years ago

Makuna commented 9 years ago

current workaround is to include stdlib_noniso.h.

this makes it hard to write a library that can compile for AVR and ESP8266.

Links2004 commented 9 years ago

utoa is a non std function AVR do a bad style and at it to the stdlib.h but the normal stdlib.h of the C/C++ standard does not include it. the only change i see is at the stdlib_noniso.h include in the Arduino.h.

more infos here: http://www.atmel.com/webdoc/AVRLibcReferenceManual/group__avr__stdlib.html and http://www.cplusplus.com/reference/cstdlib/

igrr commented 9 years ago

fixed in 6a7d94a