Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Redeclaration errors when including both WebServer.h and HttpsOTAUpdate.h #4758

Closed
tomjschwanke opened this issue Jan 31, 2021 · 3 comments
Closed
Labels
Status: Stale Issue is stale stage (outdated/stuck)

Comments

@tomjschwanke
Copy link

Hardware:

Board: Board not connected, compiling for ESP32 dev-module
Core Installation version: 1.0.5-rc6
IDE name: Arduino Pro IDE
Computer OS: Windows 10

Description:

When I include both WebServer.h and HttpsOTAUpdate.h the IDE gives me tons of redeclaration errors

Sketch:

#include <WebServer.h>
#include <HttpsOTAUpdate.h>

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Compile output:

https://gist.github.com/tomjschwanke/e4756747343163e2a5c3a5ddc50c54ab

@jameszah
Copy link

jameszah commented Feb 1, 2021

Here is a workaround - my specific problem was WebServer.h and esp_http_server.h -- I think it might be the same problem. Was it HTTP_GET redeclaration?

tzapu/WiFiManager#1184

@stale
Copy link

stale bot commented Jun 20, 2021

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Stale Issue is stale stage (outdated/stuck) label Jun 20, 2021
@stale
Copy link

stale bot commented Jul 8, 2021

[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Jul 8, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Status: Stale Issue is stale stage (outdated/stuck)
Projects
None yet
Development

No branches or pull requests

2 participants