Skip to content
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

core_esp8266_features.h #8794

Closed
TjayAmit opened this issue Jan 9, 2023 · 1 comment · Fixed by #8795
Closed

core_esp8266_features.h #8794

TjayAmit opened this issue Jan 9, 2023 · 1 comment · Fixed by #8795

Comments

@TjayAmit
Copy link

TjayAmit commented Jan 9, 2023

This issue is regard on your latest updates 2 days ago, before that update everything is Okay.

In file included from c:\Users\abieg\OneDrive\Documents\Arduino\libraries\WebSockets\src\libb64\cdecode.c:9:
C:\Users\abieg\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.0\cores\esp8266/core_esp8266_features.h:141:42: error: expected ',' or ';' before 'esp_is_8285'
  141 |     bool __attribute__((const, nothrow)) esp_is_8285();
      |                                          ^~~~~~~~~~~
C:\Users\abieg\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.0\cores\esp8266/core_esp8266_features.h:148:1: error: expected identifier or '(' before '}' token
  148 | }
      | ^
In file included from c:\Users\abieg\OneDrive\Documents\Arduino\libraries\WebSockets\src\libb64\cencode.c:9:
C:\Users\abieg\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.0\cores\esp8266/core_esp8266_features.h:141:42: error: expected ',' or ';' before 'esp_is_8285'
  141 |     bool __attribute__((const, nothrow)) esp_is_8285();
      |                                          ^~~~~~~~~~~
C:\Users\abieg\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.0\cores\esp8266/core_esp8266_features.h:148:1: error: expected identifier or '(' before '}' token
  148 | }
      | ^

exit status 1

Compilation error: exit status 1
@d-a-v
Copy link
Collaborator

d-a-v commented Jan 9, 2023

This issue seems like an installation error.
Line number is not matching, and this code passes all CI tests.

https://github.com/esp8266/Arduino/blob/3.1.0/cores/esp8266/core_esp8266_features.h#L132

Can you try and reinstall the complete core for example by first removing it from the Arduino15 directory from Appdata ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants