diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2024-09-08 09:20:21 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2024-09-08 17:45:19 +0000 |
commit | 676864fd474bdd6ec1d74496d0a58d9a5a046601 (patch) | |
tree | 9c436ab8110eb916afb374a7363675d8c5f1eff0 /deskutils/mhc/(developers-only) | |
parent | 50aa17f3b6998b6ec5a6ed686f19d7c18b251d72 (diff) | |
download | ports-main.tar.gz ports-main.zip |
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/devel/opentelemetry-cpp/work/opentelemetry-cpp-1.16.1/api/include/opentelemetry/logs/logger_type_traits.h:169:69: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
169 | return LogRecordSetterTrait<common::KeyValueIterable>::template Set(
| ^
/wrkdirs/usr/ports/devel/opentelemetry-cpp/work/opentelemetry-cpp-1.16.1/api/include/opentelemetry/logs/logger.h:76:89: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
76 | detail::LogRecordSetterTrait<typename std::decay<ArgumentType>::type>::template Set(
| ^
/wrkdirs/usr/ports/devel/opentelemetry-cpp/work/opentelemetry-cpp-1.16.1/api/include/opentelemetry/logs/event_logger.h:69:89: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
69 | detail::LogRecordSetterTrait<typename std::decay<ArgumentType>::type>::template Set(
| ^
In these cases, appending "<>" is enough to satisfy the constraint.
PR: 281359
Approved by: osa (maintainer)
MFH: 2024Q3
Diffstat (limited to 'deskutils/mhc/(developers-only)')
0 files changed, 0 insertions, 0 deletions