Untitled
unknown
plain_text
a year ago
53 kB
25
Indexable
Compiling .pioenvs/vistaalarm/src/esphome/components/wifi/wifi_component_esp32_arduino.cpp.o
src/esphome/components/vista_alarm_panel/vista.cpp: In member function 'void Vista::writeChars()':
src/esphome/components/vista_alarm_panel/vista.cpp:673:21: warning: 'kt.keyType::seq' may be used uninitialized in this function [-Wmaybe-uninitialized]
673 | tmpOutBuf[0]=kt.seq;
| ~~~~~~~~~~~~^~~~~~~
Compiling .pioenvs/vistaalarm/src/esphome/components/wifi/wifi_component_esp8266.cpp.o
Compiling .pioenvs/vistaalarm/src/esphome/components/wifi/wifi_component_esp_idf.cpp.o
In file included from src/esphome/core/log.h:8,
from src/esphome/components/sensor/sensor.h:3,
from src/esphome/core/application.h:16,
from src/esphome/components/vista_alarm_panel/vistaalarm.h:5,
from src/esphome/components/vista_alarm_panel/vistaalarm.cpp:2:
src/esphome/components/vista_alarm_panel/vistaalarm.cpp: In member function 'esphome::alarm_panel::vistaECPHome::zoneType* esphome::alarm_panel::vistaECPHome::createZone(uint16_t)':
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:213:19: error: initializer fails to determine size of '__pstr__'
213 | ESP_LOGD(TAG,PSTR("adding zone %d"),z);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:213:6: note: in expansion of macro 'ESP_LOGD'
213 | ESP_LOGD(TAG,PSTR("adding zone %d"),z);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:213:19: error: array must be initialized with a brace-enclosed initializer
213 | ESP_LOGD(TAG,PSTR("adding zone %d"),z);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:213:6: note: in expansion of macro 'ESP_LOGD'
213 | ESP_LOGD(TAG,PSTR("adding zone %d"),z);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp: In member function 'void esphome::alarm_panel::vistaECPHome::set_panel_time()':
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:331:18: error: initializer fails to determine size of '__pstr__'
331 | ESP_LOGD(TAG,PSTR("Send time string: %s"),cmd);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:331:5: note: in expansion of macro 'ESP_LOGD'
331 | ESP_LOGD(TAG,PSTR("Send time string: %s"),cmd);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:331:18: error: array must be initialized with a brace-enclosed initializer
331 | ESP_LOGD(TAG,PSTR("Send time string: %s"),cmd);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:331:5: note: in expansion of macro 'ESP_LOGD'
331 | ESP_LOGD(TAG,PSTR("Send time string: %s"),cmd);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp: In member function 'void esphome::alarm_panel::vistaECPHome::set_panel_time_manual(int, int, int, int, int)':
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:347:21: error: initializer fails to determine size of '__pstr__'
347 | ESP_LOGD(TAG,PSTR("Send time string: %s"),cmd);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:347:8: note: in expansion of macro 'ESP_LOGD'
347 | ESP_LOGD(TAG,PSTR("Send time string: %s"),cmd);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:347:21: error: array must be initialized with a brace-enclosed initializer
347 | ESP_LOGD(TAG,PSTR("Send time string: %s"),cmd);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:347:8: note: in expansion of macro 'ESP_LOGD'
347 | ESP_LOGD(TAG,PSTR("Send time string: %s"),cmd);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp: In member function 'void esphome::alarm_panel::vistaECPHome::alarm_keypress_partition(std::string, int)':
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:514:25: error: initializer fails to determine size of '__pstr__'
514 | ESP_LOGD(TAG, PSTR("Writing keys: %s to partition %d"), keystring.c_str(),partition);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:514:11: note: in expansion of macro 'ESP_LOGD'
514 | ESP_LOGD(TAG, PSTR("Writing keys: %s to partition %d"), keystring.c_str(),partition);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:514:25: error: array must be initialized with a brace-enclosed initializer
514 | ESP_LOGD(TAG, PSTR("Writing keys: %s to partition %d"), keystring.c_str(),partition);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:514:11: note: in expansion of macro 'ESP_LOGD'
514 | ESP_LOGD(TAG, PSTR("Writing keys: %s to partition %d"), keystring.c_str(),partition);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp: In member function 'std::string esphome::alarm_panel::vistaECPHome::getNameFromPrompt(char*, char*)':
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:577:20: error: initializer fails to determine size of '__pstr__'
577 | ESP_LOGD(TAG,PSTR("name match=%s,zone=%s"),m2.c_str(),m1.c_str());
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:577:7: note: in expansion of macro 'ESP_LOGD'
577 | ESP_LOGD(TAG,PSTR("name match=%s,zone=%s"),m2.c_str(),m1.c_str());
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:577:20: error: array must be initialized with a brace-enclosed initializer
577 | ESP_LOGD(TAG,PSTR("name match=%s,zone=%s"),m2.c_str(),m1.c_str());
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:577:7: note: in expansion of macro 'ESP_LOGD'
577 | ESP_LOGD(TAG,PSTR("name match=%s,zone=%s"),m2.c_str(),m1.c_str());
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp: In member function 'void esphome::alarm_panel::vistaECPHome::printPacket(const char*, char*, int)':
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:617:21: error: initializer fails to determine size of '__pstr__'
617 | ESP_LOGI(label, PSTR("%s %s"),s2, s.c_str());
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:108:58: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
108 | esp_log_printf_(ESPHOME_LOG_LEVEL_INFO, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:151:28: note: in expansion of macro 'esph_log_i'
151 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:617:5: note: in expansion of macro 'ESP_LOGI'
617 | ESP_LOGI(label, PSTR("%s %s"),s2, s.c_str());
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:617:21: error: array must be initialized with a brace-enclosed initializer
617 | ESP_LOGI(label, PSTR("%s %s"),s2, s.c_str());
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:108:58: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
108 | esp_log_printf_(ESPHOME_LOG_LEVEL_INFO, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:151:28: note: in expansion of macro 'esph_log_i'
151 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:617:5: note: in expansion of macro 'ESP_LOGI'
617 | ESP_LOGI(label, PSTR("%s %s"),s2, s.c_str());
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp: In member function 'void esphome::alarm_panel::vistaECPHome::assignPartitionToZone(esphome::alarm_panel::vistaECPHome::zoneType*)':
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:736:30: error: initializer fails to determine size of '__pstr__'
736 | ESP_LOGD(TAG,PSTR("Assigning partition %d, to zone %d"),p,zt->zone);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:736:17: note: in expansion of macro 'ESP_LOGD'
736 | ESP_LOGD(TAG,PSTR("Assigning partition %d, to zone %d"),p,zt->zone);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:736:30: error: array must be initialized with a brace-enclosed initializer
736 | ESP_LOGD(TAG,PSTR("Assigning partition %d, to zone %d"),p,zt->zone);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:736:17: note: in expansion of macro 'ESP_LOGD'
736 | ESP_LOGD(TAG,PSTR("Assigning partition %d, to zone %d"),p,zt->zone);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp: In member function 'void esphome::alarm_panel::vistaECPHome::sendZoneRequest(uint8_t, esphome::alarm_panel::reqStates)':
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:766:19: error: initializer fails to determine size of '__pstr__'
766 | ESP_LOGD(TAG,PSTR("Sending zone status request %d"),request);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:766:6: note: in expansion of macro 'ESP_LOGD'
766 | ESP_LOGD(TAG,PSTR("Sending zone status request %d"),request);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:766:19: error: array must be initialized with a brace-enclosed initializer
766 | ESP_LOGD(TAG,PSTR("Sending zone status request %d"),request);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:766:6: note: in expansion of macro 'ESP_LOGD'
766 | ESP_LOGD(TAG,PSTR("Sending zone status request %d"),request);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp: In member function 'void esphome::alarm_panel::vistaECPHome::updateZoneState(esphome::alarm_panel::vistaECPHome::zoneType*, int, esphome::alarm_panel::reqStates, bool, long unsigned int)':
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:789:24: error: initializer fails to determine size of '__pstr__'
789 | ESP_LOGD(TAG,PSTR("Setting zone %d=%d, partition %d"),zt->zone,state,p);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:789:11: note: in expansion of macro 'ESP_LOGD'
789 | ESP_LOGD(TAG,PSTR("Setting zone %d=%d, partition %d"),zt->zone,state,p);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:789:24: error: array must be initialized with a brace-enclosed initializer
789 | ESP_LOGD(TAG,PSTR("Setting zone %d=%d, partition %d"),zt->zone,state,p);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:789:11: note: in expansion of macro 'ESP_LOGD'
789 | ESP_LOGD(TAG,PSTR("Setting zone %d=%d, partition %d"),zt->zone,state,p);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp: In member function 'void esphome::alarm_panel::vistaECPHome::processZoneList(uint8_t, esphome::alarm_panel::reqStates, char*)':
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:808:18: error: initializer fails to determine size of '__pstr__'
808 | ESP_LOGD(TAG,PSTR("List=%s"),zs.c_str());
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:808:5: note: in expansion of macro 'ESP_LOGD'
808 | ESP_LOGD(TAG,PSTR("List=%s"),zs.c_str());
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:808:18: error: array must be initialized with a brace-enclosed initializer
808 | ESP_LOGD(TAG,PSTR("List=%s"),zs.c_str());
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:808:5: note: in expansion of macro 'ESP_LOGD'
808 | ESP_LOGD(TAG,PSTR("List=%s"),zs.c_str());
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp: In member function 'virtual void esphome::alarm_panel::vistaECPHome::update()':
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:986:33: error: initializer fails to determine size of '__pstr__'
986 | ESP_LOGD(TAG, PSTR("Got relay address %d channel %d = %d"), vistaCmd.extcmd[1], z, vistaCmd.extcmd[4]);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:986:19: note: in expansion of macro 'ESP_LOGD'
986 | ESP_LOGD(TAG, PSTR("Got relay address %d channel %d = %d"), vistaCmd.extcmd[1], z, vistaCmd.extcmd[4]);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:986:33: error: array must be initialized with a brace-enclosed initializer
986 | ESP_LOGD(TAG, PSTR("Got relay address %d channel %d = %d"), vistaCmd.extcmd[1], z, vistaCmd.extcmd[4]);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:986:19: note: in expansion of macro 'ESP_LOGD'
986 | ESP_LOGD(TAG, PSTR("Got relay address %d channel %d = %d"), vistaCmd.extcmd[1], z, vistaCmd.extcmd[4]);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:996:33: error: initializer fails to determine size of '__pstr__'
996 | ESP_LOGD(TAG, PSTR("Got relay address %d channel %d = %d. Cmd 0D. Pulsing 1sec on/ 1sec off"), vistaCmd.extcmd[1], z, vistaCmd.extcmd[4]);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:996:19: note: in expansion of macro 'ESP_LOGD'
996 | ESP_LOGD(TAG, PSTR("Got relay address %d channel %d = %d. Cmd 0D. Pulsing 1sec on/ 1sec off"), vistaCmd.extcmd[1], z, vistaCmd.extcmd[4]);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:996:33: error: array must be initialized with a brace-enclosed initializer
996 | ESP_LOGD(TAG, PSTR("Got relay address %d channel %d = %d. Cmd 0D. Pulsing 1sec on/ 1sec off"), vistaCmd.extcmd[1], z, vistaCmd.extcmd[4]);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:996:19: note: in expansion of macro 'ESP_LOGD'
996 | ESP_LOGD(TAG, PSTR("Got relay address %d channel %d = %d. Cmd 0D. Pulsing 1sec on/ 1sec off"), vistaCmd.extcmd[1], z, vistaCmd.extcmd[4]);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1028:31: error: initializer fails to determine size of '__pstr__'
1028 | ESP_LOGI(TAG, PSTR("RFX: %s,%02x"), rf_serial_char,vistaCmd.extcmd[5]);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:108:58: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
108 | esp_log_printf_(ESPHOME_LOG_LEVEL_INFO, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:151:28: note: in expansion of macro 'esph_log_i'
151 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1028:17: note: in expansion of macro 'ESP_LOGI'
1028 | ESP_LOGI(TAG, PSTR("RFX: %s,%02x"), rf_serial_char,vistaCmd.extcmd[5]);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1028:31: error: array must be initialized with a brace-enclosed initializer
1028 | ESP_LOGI(TAG, PSTR("RFX: %s,%02x"), rf_serial_char,vistaCmd.extcmd[5]);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:108:58: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
108 | esp_log_printf_(ESPHOME_LOG_LEVEL_INFO, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:151:28: note: in expansion of macro 'esph_log_i'
151 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1028:17: note: in expansion of macro 'ESP_LOGI'
1028 | ESP_LOGI(TAG, PSTR("RFX: %s,%02x"), rf_serial_char,vistaCmd.extcmd[5]);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1070:26: error: initializer fails to determine size of '__pstr__'
1070 | ESP_LOGD(TAG,PSTR("state = %d"),reqState);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1070:13: note: in expansion of macro 'ESP_LOGD'
1070 | ESP_LOGD(TAG,PSTR("state = %d"),reqState);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1070:26: error: array must be initialized with a brace-enclosed initializer
1070 | ESP_LOGD(TAG,PSTR("state = %d"),reqState);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:95:59: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
95 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:152:28: note: in expansion of macro 'esph_log_d'
152 | #define ESP_LOGD(tag, ...) esph_log_d(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1070:13: note: in expansion of macro 'ESP_LOGD'
1070 | ESP_LOGD(TAG,PSTR("state = %d"),reqState);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1080:29: warning: operation on 'reqState' may be undefined [-Wsequence-point]
1080 | reqState=reqState==sbypasszones?reqState=sidle:reqState=sbypasszones;
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1086:33: warning: statement has no effect [-Wunused-value]
1086 | } else reqState==sidle;
| ~~~~~~~~^~~~~~~
In file included from src/esphome/core/log.h:8,
from src/esphome/components/sensor/sensor.h:3,
from src/esphome/core/application.h:16,
from src/esphome/components/vista_alarm_panel/vistaalarm.h:5,
from src/esphome/components/vista_alarm_panel/vistaalarm.cpp:2:
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1097:29: error: initializer fails to determine size of '__pstr__'
1097 | ESP_LOGI(TAG, PSTR("Partition: %02X"), partition);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:108:58: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
108 | esp_log_printf_(ESPHOME_LOG_LEVEL_INFO, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:151:28: note: in expansion of macro 'esph_log_i'
151 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1097:15: note: in expansion of macro 'ESP_LOGI'
1097 | ESP_LOGI(TAG, PSTR("Partition: %02X"), partition);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1097:29: error: array must be initialized with a brace-enclosed initializer
1097 | ESP_LOGI(TAG, PSTR("Partition: %02X"), partition);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:108:58: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
108 | esp_log_printf_(ESPHOME_LOG_LEVEL_INFO, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:151:28: note: in expansion of macro 'esph_log_i'
151 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1097:15: note: in expansion of macro 'ESP_LOGI'
1097 | ESP_LOGI(TAG, PSTR("Partition: %02X"), partition);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1117:25: error: initializer fails to determine size of '__pstr__'
1117 | ESP_LOGI(TAG, PSTR("Prompt: %s"), vistaCmd.statusFlags.prompt1);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:108:58: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
108 | esp_log_printf_(ESPHOME_LOG_LEVEL_INFO, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:151:28: note: in expansion of macro 'esph_log_i'
151 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1117:11: note: in expansion of macro 'ESP_LOGI'
1117 | ESP_LOGI(TAG, PSTR("Prompt: %s"), vistaCmd.statusFlags.prompt1);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1117:25: error: array must be initialized with a brace-enclosed initializer
1117 | ESP_LOGI(TAG, PSTR("Prompt: %s"), vistaCmd.statusFlags.prompt1);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:108:58: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
108 | esp_log_printf_(ESPHOME_LOG_LEVEL_INFO, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:151:28: note: in expansion of macro 'esph_log_i'
151 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1117:11: note: in expansion of macro 'ESP_LOGI'
1117 | ESP_LOGI(TAG, PSTR("Prompt: %s"), vistaCmd.statusFlags.prompt1);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1118:25: error: initializer fails to determine size of '__pstr__'
1118 | ESP_LOGI(TAG, PSTR("Prompt: %s"), vistaCmd.statusFlags.prompt2);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:108:58: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
108 | esp_log_printf_(ESPHOME_LOG_LEVEL_INFO, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:151:28: note: in expansion of macro 'esph_log_i'
151 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1118:11: note: in expansion of macro 'ESP_LOGI'
1118 | ESP_LOGI(TAG, PSTR("Prompt: %s"), vistaCmd.statusFlags.prompt2);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1118:25: error: array must be initialized with a brace-enclosed initializer
1118 | ESP_LOGI(TAG, PSTR("Prompt: %s"), vistaCmd.statusFlags.prompt2);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:108:58: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
108 | esp_log_printf_(ESPHOME_LOG_LEVEL_INFO, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:151:28: note: in expansion of macro 'esph_log_i'
151 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1118:11: note: in expansion of macro 'ESP_LOGI'
1118 | ESP_LOGI(TAG, PSTR("Prompt: %s"), vistaCmd.statusFlags.prompt2);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1119:25: error: initializer fails to determine size of '__pstr__'
1119 | ESP_LOGI(TAG, PSTR("Beeps: %d"), vistaCmd.statusFlags.beeps);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:108:58: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
108 | esp_log_printf_(ESPHOME_LOG_LEVEL_INFO, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:151:28: note: in expansion of macro 'esph_log_i'
151 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1119:11: note: in expansion of macro 'ESP_LOGI'
1119 | ESP_LOGI(TAG, PSTR("Beeps: %d"), vistaCmd.statusFlags.beeps);
| ^~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1119:25: error: array must be initialized with a brace-enclosed initializer
1119 | ESP_LOGI(TAG, PSTR("Beeps: %d"), vistaCmd.statusFlags.beeps);
/data/cache/platformio/packages/framework-arduinoespressif8266/cores/esp8266/WString.h:39:76: note: in definition of macro 'FPSTR'
39 | #define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
| ^~~~~~~~~~~~
src/esphome/core/log.h:70:36: note: in expansion of macro 'F'
70 | #define ESPHOME_LOG_FORMAT(format) F(format)
| ^
src/esphome/core/log.h:108:58: note: in expansion of macro 'ESPHOME_LOG_FORMAT'
108 | esp_log_printf_(ESPHOME_LOG_LEVEL_INFO, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~
src/esphome/core/log.h:151:28: note: in expansion of macro 'esph_log_i'
151 | #define ESP_LOGI(tag, ...) esph_log_i(tag, __VA_ARGS__)
| ^~~~~~~~~~
src/esphome/components/vista_alarm_panel/vistaalarm.cpp:1119:11: note: in expansion of macro 'ESP_LOGI'
1119 | ESP_LOGI(TAG, PSTR("Beeps: %d"), vistaCmd.statusFlags.beeps);
| ^~~~~~~~
Compiling .pioenvs/vistaalarm/src/esphome/components/wifi/wifi_component_libretiny.cpp.o
Compiling .pioenvs/vistaalarm/src/esphome/components/wifi/wifi_component_pico_w.cpp.o
Compiling .pioenvs/vistaalarm/src/esphome/core/application.cpp.o
*** [.pioenvs/vistaalarm/src/esphome/components/vista_alarm_panel/vistaalarm.cpp.o] Error 1
========================= [FAILED] Took 103.07 seconds =========================Editor is loading...
Leave a Comment