vdonaldson wrote: > I built this again, compilation of `flang-rt` on windows fails with: > > ``` > C:\bld\flang-split_1738115904732\work\flang-rt\lib\flang_rt\exceptions.cpp(46,31): > error: use of undeclared identifier '__FE_DENORM' > 46 | static constexpr uint32_t s{__FE_DENORM}; // nonstandard, not a > #define > | ^ > ```
The reference to `__FE_DENORM` in `flang/runtime/exceptions.cpp` is: ``` #if __x86_64__ static constexpr uint32_t s{__FE_DENORM}; // nonstandard, not a #define #else static constexpr uint32_t s{0}; #endif ``` I'm not aware of any problems with this code in current build environments. If there could be a problem in some environment associated with the code under discussion, the directive could be modified to something like `#if defined(__x86_64__) && !defined(__WIN32)` https://github.com/llvm/llvm-project/pull/110217 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits