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

Kelvin Li via flang-commits flang-commits at lists.llvm.org
Tue Jan 7 21:55:41 PST 2025


kkwli 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?

It builds successfully on AIX. Thanks.

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


More information about the flang-commits mailing list