Skip to content

amr.c:815:6: error: call to undeclared function 'time_step'; ISO C99 and later do not support implicit function declarations #676

@Paul-Foose-Intel

Description

@Paul-Foose-Intel

using container https://hub.docker.com/r/intel/oneapi-hpckit at tag 2025.3.1-0-devel-ubuntu24.04

cp make.defs.oneapi make.defs
make allmpi

Gives error:

amr.c:815:6: error: call to undeclared function 'time_step'; ISO C99 and later do not support implicit function declarations
      [-Wimplicit-function-declaration]
  815 |      time_step(Num_procs, Num_procs_bg, Num_procs_bgx, Num_procs_bgy,
      |      ^

Problem inside ‎MPI1/AMR/amr.c
Pull-request incoming.

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