diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2026-01-03 21:19:54 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2026-01-04 01:44:25 +0000 |
| commit | c71c571a6d22f2792581f9be7838c32d73c47409 (patch) | |
| tree | d1de6a309104be98a9a97ca74f8041a71e70e2be /x11-toolkits/libwnck3 | |
| parent | 97db4d22085a13b268d9005d11e6d4e0e98d5755 (diff) | |
With clang 20 or higher webkit2-gtk fails to build, with errors similar
to:
/wrkdirs/usr/ports/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/EnumTraits.h:246:20: error: no matching function for call to 'enumName'
246 | names[i] = enumName<static_cast<E>(static_cast<unsigned>(i))>();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/EnumTraits.h:233:9: note: in instantiation of function template specialization 'WTF::enumNames()::(anonymous class)::operator()<std::integral_constant<unsigned long, 64>>' requested here
233 | func(std::integral_constant<size_t, i>());
| ^
/wrkdirs/usr/ports/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/EnumTraits.h:234:9: note: in instantiation of function template specialization 'WTF::detail::forConstexpr<64UL, 256UL, (lambda at /wrkdirs/usr/ports/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/EnumTraits.h:245:36)>' requested here
234 | forConstexpr<i + 1, end>(func);
| ^
...
This is fixed by https://commits.webkit.org/292321@main for
https://bugs.webkit.org/show_bug.cgi?id=289669, so import that patch,
plus https://commits.webkit.org/290345@main, which is a prerequisite.
PR: 292165
Approved by: vishwin (maintainer)
MFH: 2025Q4
Diffstat (limited to 'x11-toolkits/libwnck3')
0 files changed, 0 insertions, 0 deletions
