icinga2 icon indicating copy to clipboard operation
icinga2 copied to clipboard

Switch to C++20

Open julianbrost opened this issue 1 month ago • 1 comments

(No particular plan yet, I'd just like to know what the CI thinks of that idea.)

julianbrost avatar Nov 28 '25 11:11 julianbrost

Spoiler alert

  • For generic types' methods, C++20 doesn't like e.g ~ObjectImpl<SyslogLogger>(): build/lib/base/sysloglogger-ti.hpp:52:9: error: template-id not allowed for destructor
  • IIRC, older Boost versions are also affected by this kind of error
  • RHEL 8 and SLES 15.7 use Boost 1.66, AL2 uses v1.69

So that won't work.

Al2Klimov avatar Nov 28 '25 11:11 Al2Klimov