Did you think that declaring os_printf will suit all developers needs? NO! os_snprintf/ets_snprintf needed too. And a lot of other functions. In attachment you will find an example file of missing includes that is used in one of my projects (based on SDK 2.0.0).
Please pay attention on this.
- (1.16 KiB) Downloaded 252 times
Problem is not only the "warnings", in some cases the compiler will generate the wrong code, if the arguments are not simple pointers, int's or doubles -> crash.
Please, please can you add function prototypes for the missing functions! It is simple to do, and will help fix so many annoying errors and also will help Link Time Optimisation
Who is online
Users browsing this forum: No registered users and 7 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!