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

not compile in arduino ide #1945

Open
gerashk opened this issue May 11, 2024 · 4 comments
Open

not compile in arduino ide #1945

gerashk opened this issue May 11, 2024 · 4 comments
Labels

Comments

@gerashk
Copy link

gerashk commented May 11, 2024

Good afternoon. I'm trying to compile it in Arduino according to the instructions. but I get an error

"Compilation error: declaration of template parameter 'T' shadows template parameter"

on this line 326 : "void Config_update(JsonObject& data, const char* key, T& var);"

@1technophile
Copy link
Owner

1technophile commented May 11, 2024

Good afternoon,
Arduino IDE will not be supported in the next release, as announced on v1.7.0
I would suggest to use platformIO instead.

Copy link

This issue is stale because it has been open for 90 days with no activity.

@github-actions github-actions bot added the stale label Aug 10, 2024
@zackfuchtel
Copy link

Comment line 325 & 326 out. It seems arduino IDE no longer popular also in version 1.7.0...

PubSubClient client;

//template <typename T> // Declared here to avoid pre-compilation issue (missing "template" in auto declaration by pio)
//void Config_update(JsonObject& data, const char* key, T& var);
template <typename T>

@github-actions github-actions bot removed the stale label Aug 11, 2024
Copy link

github-actions bot commented Nov 9, 2024

This issue is stale because it has been open for 90 days with no activity.

@github-actions github-actions bot added the stale label Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants