Skip to content

Fix instances of -Wmissing-template-arg-list-after-template-kw.#835

Closed
kraj wants to merge 1 commit intoUSCiLab:masterfrom
kraj:kraj/clang-19
Closed

Fix instances of -Wmissing-template-arg-list-after-template-kw.#835
kraj wants to merge 1 commit intoUSCiLab:masterfrom
kraj:kraj/clang-19

Conversation

@kraj
Copy link
Copy Markdown
Contributor

@kraj kraj commented Sep 11, 2024

Clang has a new warning that requires a template argument list after using the template keyword. Remove uses of the template keyword when we're not specifying types.

See llvm/llvm-project#94194 for the upstream clang changes

Clang has a new warning that requires a template argument list after using
the template keyword. Remove uses of the template keyword when we're not
specifying types.

See llvm/llvm-project#94194 for the upstream
clang changes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
@christoph-cullmann
Copy link
Copy Markdown

Would be nice to have that to fix the warning.

@chenrui333
Copy link
Copy Markdown

gentle ping @AzothAmmo

@oelhammouchi
Copy link
Copy Markdown

Would you kindly get this merged? @AzothAmmo

Copy link
Copy Markdown
Contributor

@jarzec jarzec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact #872 proposes a better (safer) solution.

@AzothAmmo
Copy link
Copy Markdown
Contributor

closed in favor of #872

@AzothAmmo AzothAmmo closed this Mar 6, 2026
freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this pull request Apr 27, 2026
…mplate-kw] apply(ar, tuple)

This error manifests during at least the build of math/mlpack on 13.5.
It's only a header file provided from devel/cereal which needs patching.

Approved by:	teodor@sigaev.ru
See also:	USCiLab/cereal#835
Event:		Wiesbaden Hackathon 202604
PR:		285204
freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this pull request Apr 27, 2026
…mplate-kw] apply(ar, tuple)

This error manifests during at least the build of math/mlpack on 13.5.
It's only a header file provided from devel/cereal which needs patching.

Approved by:	teodor@sigaev.ru
See also:	USCiLab/cereal#835
Event:		Wiesbaden Hackathon 202604
PR:		285204

(cherry picked from commit e9472d8)
ocochard pushed a commit to ocochard/freebsd-ports that referenced this pull request Apr 28, 2026
…mplate-kw] apply(ar, tuple)

This error manifests during at least the build of math/mlpack on 13.5.
It's only a header file provided from devel/cereal which needs patching.

Approved by:	teodor@sigaev.ru
See also:	USCiLab/cereal#835
Event:		Wiesbaden Hackathon 202604
PR:		285204
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants