You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: