[flang-commits] [flang] [flang] Modifications to ieee floating point environment procedures (PR #121949)

via flang-commits flang-commits at lists.llvm.org
Tue Jan 7 12:38:45 PST 2025


vdonaldson wrote:

> This doesn't compile on Solaris:
> 
> ```
> /vol/llvm/src/llvm-project/local/flang/runtime/exceptions.cpp:114:5: error: function-like macro '__GLIBC_USE' is not defined
>   114 | #if __GLIBC_USE(IEC_60559_BFP_EXT)
>       |     ^
> ```

Thanks for checking that. Is `femode_t` defined in `/usr/include/bits/fenv.h`? If yes, is it under some preprocessor directive?

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


More information about the flang-commits mailing list