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

Kelvin Li via flang-commits flang-commits at lists.llvm.org
Mon Dec 23 20:43:09 PST 2024


kkwli 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 */);
      |            ^
```

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


More information about the flang-commits mailing list