maintainer-feedback requested: [Bug 293955] deskutils/kdepim-runtime: fix build with clang 21

[email protected]
Newsgroups gmane.comp.kde.freebsd
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-kde (group)
<[email protected]> for maintainer-feedback:
Bug 293955: deskutils/kdepim-runtime: fix build with clang 21
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293955



--- Description ---
With clang 21 deskutils/kdepim-runtime fails to build, with errors
similar to:

    ld: error: undefined symbol: KPIM::Maildir::Maildir(QString const&, bool)
    >>> referenced by configwidget.cpp
    >>> 	     
CMakeFiles/mixedmaildirconfig.dir/configwidget.cpp.o:(ConfigWidget::checkPath()
)
    >>> referenced by configwidget.cpp
    >>> 	     
CMakeFiles/mixedmaildirconfig.dir/configwidget.cpp.o:(ConfigWidget::checkPath()
)

    ld: error: undefined symbol: KPIM::Maildir::isValid(bool) const
    >>> referenced by configwidget.cpp
    >>> 	     
CMakeFiles/mixedmaildirconfig.dir/configwidget.cpp.o:(ConfigWidget::checkPath()
)
    >>> referenced by configwidget.cpp
    >>> 	     
CMakeFiles/mixedmaildirconfig.dir/configwidget.cpp.o:(ConfigWidget::checkPath()
)

This is because various CMake configure checks fail, due to the port
Makefile adding -Wno-error=enum-constexpr-conversion, which is no longer
supported by clang >= 21.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.