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

Source code is not getting compiled . showing "error: conflicting declaration 'String filename'" #2

Open
harish2704 opened this issue Feb 13, 2022 · 0 comments · May be fixed by #4
Open

Comments

@harish2704
Copy link

Exact error message:

esppic:24:8: error: conflicting declaration 'String filename'
   24 | String filename;
      |        ^~~~~~~~
In file included from /home/hari/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WebServer/src/ESP8266WebServer.h:341,
                 from /home/hari/Downloads/esppic.sqfs_FILES/esppic/esppic.ino:10:
/home/hari/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WebServer/src/Parsing-impl.h:33:19: note: previous declaration as 'const char filename [9]'
   33 | static const char filename[] PROGMEM = "filename";

It is possible that, this variable got introduced after the release of ESPPIC tool. Anyway, this source can not be compiled without renaming this variable

harish2704 added a commit to harish2704/esppic that referenced this issue Feb 13, 2022
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.

1 participant