[Bug 281418] misc/openvdb: fix build with clang 19
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Sep 2024 14:24:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281418 Bug ID: 281418 Summary: misc/openvdb: fix build with clang 19 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Clang 19 now implements CWG 96 [1], which requires a template argument list after a 'template' keyword, resulting in errors similar to: /wrkdirs/usr/ports/misc/openvdb/work/openvdb-11.0.0/openvdb/openvdb/../openvdb/tree/NodeManager.h:330:31: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 330 | OpT::template eval(mNodeOp, it); | ^ /wrkdirs/usr/ports/misc/openvdb/work/openvdb-11.0.0/openvdb/openvdb/../openvdb/tree/NodeManager.h:350:31: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 350 | OpT::template eval(mNodeOp, it); | ^ /wrkdirs/usr/ports/misc/openvdb/work/openvdb-11.0.0/openvdb/openvdb/../openvdb/tree/NodeManager.h:375:31: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 375 | OpT::template eval(*mNodeOp, it); | ^ In these cases, appending "<>" is enough to satisfy the constraint. -- You are receiving this mail because: You are the assignee for the bug.