Issue 52833
Summary flang has missing imports in 11 and 12 <limits>
Labels new issue
Assignees
Reporter zerothi
    Building flang with gcc >= 10 produces errors due to missing imports of `limits`.

In order to build flang correctly I needed to patch like this:
```shell
sed -i -e '/#include <cstdio>/a #include <limits>' flang/runtime/unit.cpp
```
Then compilation works with out problems.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to