Skip to content

PeTar fails to compile on recent Clang #1264

Description

@LourensVeen

Describe the bug
PeTar fails to compile with Clang 19.

To Reproduce
See https://github.com/amusecode/amuse/actions/runs/26024686186/job/76494861443?pr=1260, which shows a ton of warnings and an error.

Logs
See link above, in particular this is the error:

In file included from interface.cc:1:
In file included from src/PeTar/src/petar.hpp:72:
In file included from src/PeTar/src/hard.hpp:9:
src/SDAR/src/AR/symplectic_integrator.h:329:25: error: no member named 'binarytree' in 'TimeTransformedSymplecticIntegrator<Tparticle, Tpcm, Tpert, Tmethod, Tinfo>'
  329 |             info = _sym.binarytree;
      |                    ~~~~ ^

Environment (please complete the following information):

  • OS and version: macos 26
  • Compiler: Clang 19

Additional context
May just need a -std=c++xx flag, or maybe there are updates upstream? Ideally the code would get cleaned up and converted to standard C++...

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

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions