Date: Fri, 28 Feb 2020 17:32:16 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 244504] devel/glslang: Fix build with clang 10.0.0 Message-ID: <bug-244504-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244504 Bug ID: 244504 Summary: devel/glslang: Fix build with clang 10.0.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: greg@unrelenting.technology Blocks: 244251 CC: greg@unrelenting.technology Flags: maintainer-feedback?(greg@unrelenting.technology) Created attachment 212028 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212028&action= =3Dedit Fix devel/glslang build with clang 10.0.0 As reported in bug 244251, with clang 10.0.0 the devel/glslang port fails to build with: In file included from MachineIndependent/glslang.y:60: In file included from /wrkdirs/usr/ports/devel/glslang/work/glslang-7.11.3214/glslang/MachineInde= pendent/SymbolTable.h:68: In file included from /wrkdirs/usr/ports/devel/glslang/work/glslang-7.11.3214/glslang/MachineInde= pendent/../Include/Common.h:108: /wrkdirs/usr/ports/devel/glslang/work/glslang-7.11.3214/glslang/MachineInde= pendent/../Include/PoolAlloc.h:307:54: error: 'operator=3D' is a private member of 'glslang::TPoolAllocator' void setAllocator(TPoolAllocator* a) { allocator =3D *a; } ~~~~~~~~~ ^ ~~ /wrkdirs/usr/ports/devel/glslang/work/glslang-7.11.3214/glslang/MachineInde= pendent/../Include/PoolAlloc.h:244:21: note: declared private here TPoolAllocator& operator=3D(const TPoolAllocator&); // don't allow assignment operator ^ 1 error generated. This can be fixed by applying an upstream commit from the glslang project: https://github.com/KhronosGroup/glslang/commit/24b3e8384e93f3e73b6aa14ea00a= 30574112f9ba Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244251 [Bug 244251] [exp-run] Against projects/clang1000-import branch --=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-244504-7788>