Skip to content

Problem building ADIOS2 with C++20 onwards #4414

Open
@mohrmarc

Description

C++ Language Standard Problem
The constructor and destructor of the Variable class are declared as

  • Variable<T>( ... )
  • ~Variable<T>()

The redudant <T> part seems to violated newer C++ standards starting with C++20. See e.g. this discussion on stackoverflow.

To Reproduce
I came across this issue, when trying to build ADIOS2 with spack v0.23. The latter passed -std=c++23 as option to my GCC.

Expected behavior
ADIOS2 should build without errors.

Desktop (please complete the following information):

  • OS/Platform: Debian GNU/Linux 12 (bookworm)
  • GCC 12.0.2 in combination with spack 0.23

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