[flang-commits] [flang] [flang] Modifications to ieee_support_halting (PR #120976)

via flang-commits flang-commits at lists.llvm.org
Tue Dec 24 02:42:33 PST 2024


vdonaldson wrote:

> I got the following errors on MacOS (Target: `arm64-apple-darwin23.6.0`).
> 
> ```
> /Users/kelvin/wrk/llvm/llvm-project/flang/runtime/exceptions.cpp:89:20: error: use of undeclared identifier 'fegetexcept'
>    89 |   int currentSet = fegetexcept(), flipSet, ok;
>       |                    ^
> /Users/kelvin/wrk/llvm/llvm-project/flang/runtime/exceptions.cpp:91:10: error: use of undeclared identifier 'fedisableexcept'; did you mean 'feraiseexcept'?
>    91 |     ok = fedisableexcept(except);
>       |          ^~~~~~~~~~~~~~~
>       |          feraiseexcept
> /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk/usr/include/fenv.h:325:12: note: 'feraiseexcept' declared here
>   325 | extern int feraiseexcept(int /* excepts */);
>       |            ^
> ```

[121032](https://github.com/llvm/llvm-project/pull/121032) may fix the failing build

https://github.com/llvm/llvm-project/pull/120976


More information about the flang-commits mailing list