[flang-commits] [flang] [llvm] [Flang-RT] Change alignment for allocatable and pointer arrays to 64 … (PR #206525)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Mon Jun 29 13:02:18 PDT 2026
eugeneepshteyn wrote:
@Jason-Van-Beusekom , when building with gcc 9.3.0:
```
.../llvm-project/flang-rt/include/flang-rt/runtime/allocator-registry.h:35:27: error: no member named 'max_align_t' in namespace 'std'; did you mean simply 'max_align_t'?
35 | if (alignment > alignof(std::max_align_t)) {
| ^ ~~~~~~~~~~~
.../build/release/llvm/lib/clang/23/include/__stddef_max_align_t.h:24:3: note: 'max_align_t' declared here
24 | } max_align_t;
| ^
```
I think you need to explicitly include `<stddef>` for `max_align_t`.
https://github.com/llvm/llvm-project/pull/206525
More information about the flang-commits
mailing list