Replies: 2 comments 5 replies
-
Thanks for reporting this. Are you on the stable or main branch. The main branch also has an IDF build witch did not fail. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm on the main branch:
With recommended ESP-IDF: |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Compiling on esp-idf fails with current & also previous version (I was waiting for somebody else to report this ;-) )
Compiling .pioenvs/esphome-klimaanlage/src/esphome/components/samsung_ac/protocol_non_nasa.o In file included from src/esphome/components/samsung_ac/protocol_nasa.cpp:4: src/esphome/components/samsung_ac/protocol_nasa.cpp: In function 'void esphome::samsung_ac::process_messageset(std::__cxx11::string, std::__cxx11::string, esphome::samsung_ac::MessageSet&, esphome::optional<std::set<short unsigned int> >&, esphome::samsung_ac::MessageTarget*)': src/esphome/components/samsung_ac/protocol_nasa.cpp:584:31: error: format '%f' expects argument of type 'double', but argument 7 has type 'long int' [-Werror=format=] ESP_LOGW(TAG, "s:%s d:%s VAR_in_temp_water_tank_f %f", source.c_str(), dest.c_str(), message.value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/esphome/core/log.h:72:36: note: in definition of macro 'ESPHOME_LOG_FORMAT' #define ESPHOME_LOG_FORMAT(format) format ^~~~~~ src/esphome/core/log.h:150:28: note: in expansion of macro 'esph_log_w' #define ESP_LOGW(tag, ...) esph_log_w(tag, __VA_ARGS__) ^~~~~~~~~~ src/esphome/components/samsung_ac/protocol_nasa.cpp:584:17: note: in expansion of macro 'ESP_LOGW' ESP_LOGW(TAG, "s:%s d:%s VAR_in_temp_water_tank_f %f", source.c_str(), dest.c_str(), message.value); ^~~~~~~~ cc1plus: some warnings being treated as errors *** [.pioenvs/esphome-klimaanlage/src/esphome/components/samsung_ac/protocol_nasa.o] Error 1
Beta Was this translation helpful? Give feedback.
All reactions