[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 20:29:46 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)
> >       |     ^
> > ```
> 
> I got the same error on AIX. And `/usr/include/fenv.h` on AIX does not define `femode_t` either.

@rorth, @kkwli - Could you please check if this iteration of the code builds?

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


More information about the flang-commits mailing list