Skip to content

2.6.x - core_esp8266_features.h error: unknown type name 'uint32_t' #6791

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
Links2004 opened this issue Nov 16, 2019 · 0 comments · Fixed by #6793
Closed

2.6.x - core_esp8266_features.h error: unknown type name 'uint32_t' #6791

Links2004 opened this issue Nov 16, 2019 · 0 comments · Fixed by #6793

Comments

@Links2004
Copy link
Collaborator

latest master and 2.6.1 are not compiling when "core_esp8266_features.h" is used.

/home/travis/arduino_ide/hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_features.h:88:1: error: unknown type name 'uint32_t'
 inline uint32_t esp_get_cycle_count() __attribute__((always_inline));
 ^
/home/travis/arduino_ide/hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_features.h:89:1: error: unknown type name 'uint32_t'
 inline uint32_t esp_get_cycle_count() {
 ^
/home/travis/arduino_ide/hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_features.h: In function 'esp_get_cycle_count':
/home/travis/arduino_ide/hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_features.h:90:3: error: unknown type name 'uint32_t'
   uint32_t ccount;
   ^
/home/travis/arduino_ide/hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_features.h: At top level:
/home/travis/arduino_ide/hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_features.h:112:24: error: unknown type name 'uint32_t'
 void precache(void *f, uint32_t bytes);
                        ^
Error compiling.
Build failed (arduino) 

full log:
https://travis-ci.org/Links2004/arduinoWebSockets/jobs/611496201

based in the build logs of travis this problem where introduced ~3 months ago.
https://travis-ci.org/Links2004/arduinoWebSockets/builds

@devyte devyte added this to the 2.6.2 milestone Nov 16, 2019
earlephilhower added a commit to earlephilhower/Arduino that referenced this issue Nov 16, 2019
Fixes esp8266#6791 which I think only happened when the file was included from
a .C file (due to the headers being included only ifdef __cplusplus).
earlephilhower added a commit that referenced this issue Nov 18, 2019
Fixes #6791 which I think only happened when the file was included from
a .C file (due to the headers being included only ifdef __cplusplus).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants