Skip to content

Compiler error "missing-template-arg-list-after-template-kw" with new cern root release #148

Description

@AdrianMeyerAhrens

Hi Oleksii,

I am trying to compile the newest version (12427b9) but I get the error:

AnalysisTree/infra/Variable.hpp:74:41: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
      vars_.emplace_back(field.template GetValue(object));

However, this error only appears with the newest cern root release (6.40.02, https://root.cern.ch/releases/release-64002/ ). I switched back to version 6.36.14 and there it compiles fine. I am using Linux Mint 22.3 and compiling with gcc 13.3.0.

Cheers
Adrian

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions