Skip to content

gfortran ISO_Fortran_binding.h doesn't work with clang #71

@jeffhammond

Description

@jeffhammond

I accept that mixing clang and gfortran is not the preferred scenario, but this works on every other platform.

I haven't looked at the preprocessor stuff to figure out what is going wrong here, but I wonder if there is a way to handle this properly in the GCC headers, and not rely on the gcc driver.

In file included from /opt/homebrew/Cellar/gcc/15.1.0/lib/gcc/current/gcc/aarch64-apple-darwin24/15/include/ISO_Fortran_binding.h:33:
/opt/homebrew/Cellar/gcc/15.1.0/lib/gcc/current/gcc/aarch64-apple-darwin24/15/include/stddef.h:448:68: error: __float128 is not supported on this target
  448 |   __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));
      |                                                                    

If I'm being unreasonable here, feel free to close.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions