Hi,
I use
DEFAULT_VERSIONS+=llvm=19
in my /etc/make.conf.
devel/qt6-tools does not build :
/usr/ports/devel/qt6-tools/work/qttools-everywhere-src-6.7.3/src/linguist/lupdate/clangtoolastreader.cpp:785:73:
error: no member named 'getName' in 'clang::FileEntry'
785 | if
(!LupdatePrivate::isFileSignificant(fullLocation.getFileEntry()->getName().str()))
Reverting back to
DEFAULT_VERSIONS+=llvm=18
makes it compile fine
Read on Chromium forum, same error, reason is :
commit 1b04e6d4a314cf677b5320b26f2746733b11152c
Author: Hans Wennborg <[email protected]>
Date: Thu Jan 25 13:36:37 2024
[clang] Remove use of FileEntry::getName()
That method was dropped recently. Instead, we should get the name via
the new FileEntryRef class. That one has existed for a while, so this
code works for both pinned and tip-of-tree Clang.
Regards,
Xavier
--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
https://www.amdh.fr