espmissingincludes.h How long this will continue?!!
espmissingincludes.h How long this will continue?!!
Postby DarkSide » Thu Aug 18, 2016 5:50 pm
We all know that many SDK functions, provided by libs, does not declared in any header files. As result, users created a file called espmissingincludes.h where community aggregated list of missing declarations. Thats good, but why you, Espressif, just can't spent some time and declare missing methods in osapi.h or any other header file?!
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.
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.
- Attachments
-
- espmissingincludes.zip
- (1.16 KiB) Downloaded 629 times
Re: espmissingincludes.h How long this will continue?!!
Postby pratik » Sat Aug 20, 2016 6:59 pm
Thank you for the feedback, we will consider adding that in future API documentation releases as well as header files.
Re: espmissingincludes.h How long this will continue?!!
Postby eriksl » Mon Sep 12, 2016 9:45 pm
+1!
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.
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.
-
- Posts: 9
- Joined: Sat May 20, 2017 9:46 am
Re: espmissingincludes.h How long this will continue?!!
Postby davydnorris » Wed Jun 07, 2017 1:56 pm
+1000!!
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
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 64 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.