Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

unable to complie with ESPHome 2025.7.0 #24

@ohadlevy

Description

@ohadlevy
src/esphome/components/syslog/syslog_component.cpp: In member function 'virtual void esphome::syslog::SyslogComponent::setup()':
src/esphome/components/syslog/syslog_component.cpp:45:10: error: cannot convert 'esphome::syslog::SyslogComponent::setup()::<lambda(int, const char*, const char*)>' to 'std::function<void(unsigned char, const char*, const char*, unsigned int)>&&'
   45 |         });
      |          ^
In file included from src/esphome/components/syslog/syslog_component.cpp:7:
src/esphome/components/logger/logger.h:146:95: note:   initializing argument 1 of 'void esphome::logger::Logger::add_on_log_callback(std::function<void(unsigned char, const char*, const char*, unsigned int)>&&)'
  146 |   void add_on_log_callback(std::function<void(uint8_t, const char *, const char *, size_t)> &&callback);
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
*** [.pioenvs/pool-room/src/esphome/components/syslog/syslog_component.cpp.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions