Date: Mon, 14 Feb 2022 17:05:13 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 261949] www/qt5-webengine: Fix build with clang 14 Message-ID: <bug-261949-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261949 Bug ID: 261949 Summary: www/qt5-webengine: Fix build with clang 14 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: kde@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) During an exp-run for llvm 14 (see bug 261742), it turned out that www/qt5-webengine fails to build with clang 14: In file included from gen/third_party/blink/renderer/platform/platform_jumbo_63.cc:8: ./../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third= _party/blink/renderer/platform/text/text_break_iterator_icu.cc:122:15: error: anonymous non-C-compatible type given name for linkage purposes by typedef declaration after its linkage was computed; add a tag name here to establish linkage prior to definition typedef struct { ^ UTextWithBuffer ./../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third= _party/blink/renderer/platform/text/text_break_iterator_icu.cc:123:3: note: type is not C-compatible due to this member declaration DISALLOW_NEW(); ^~~~~~~~~~~~~~ ../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_p= arty/blink/renderer/platform/wtf/allocator/allocator.h:40:2: note: expanded from macro 'DISALLOW_NEW' public: = \ ^~~~~~~ ./../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third= _party/blink/renderer/platform/text/text_break_iterator_icu.cc:126:3: note: type is given name 'UTextWithBuffer' for linkage purposes by this typ= edef declaration } UTextWithBuffer; ^ This is because the typedef isn't compatible with C++ as written. Instead o= f: typedef struct { ... } UTextWithBuffer; it should just be: struct UTextWithBuffer { ... }; --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261949-7788>