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

It does not compile #10

Open
sasafibra opened this issue Nov 18, 2024 · 0 comments
Open

It does not compile #10

sasafibra opened this issue Nov 18, 2024 · 0 comments

Comments

@sasafibra
Copy link

It does not compile

In file included from src/esphome/components/api/api_connection.h:8:0, from src/esphome/components/api/api_connection.cpp:1: src/esphome/components/api/api_server.h:140:96: error: invalid use of '::' Trigger<std::string, std::string> *client_connected_trigger_ = new Trigger<std::string, std::string>(); ^ src/esphome/components/api/api_server.h:140:96: error: expected ';' at end of member declaration src/esphome/components/api/api_server.h:140:102: error: expected unqualified-id before '>' token Trigger<std::string, std::string> *client_connected_trigger_ = new Trigger<std::string, std::string>(); ^ src/esphome/components/api/api_server.h:141:99: error: invalid use of '::' Trigger<std::string, std::string> *client_disconnected_trigger_ = new Trigger<std::string, std::string>(); ^ src/esphome/components/api/api_server.h:141:99: error: expected ';' at end of member declaration src/esphome/components/api/api_server.h:141:105: error: expected unqualified-id before '>' token Trigger<std::string, std::string> *client_disconnected_trigger_ = new Trigger<std::string, std::string>(); ^ src/esphome/components/api/api_server.h:140:83: error: template argument 1 is invalid Trigger<std::string, std::string> *client_connected_trigger_ = new Trigger<std::string, std::string>(); ^ src/esphome/components/api/api_server.h:141:86: error: template argument 1 is invalid Trigger<std::string, std::string> *client_disconnected_trigger_ = new Trigger<std::string, std::string>(); ^ cc1plus: warning: unrecognized command line option "-Wno-nonnull-compare" [enabled by default] *** [.pioenvs/wordclock/src/esphome/components/api/api_connection.cpp.o] Error 1

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

No branches or pull requests

1 participant