[libc-commits] [libc] [libc] Add FENV_ACCESS pragma with CMake compiler feature detection (PR #200268)

via libc-commits libc-commits at lists.llvm.org
Fri May 29 07:35:33 PDT 2026


lntue wrote:

> About the two links: wouldn't the idea be to get rid of the `-Wno-fenv-access` flags once this is merged (as they were added because the changes of this PR were not yet implemented)? Or is the idea that, if the pragma is unsupported, we set `-Wno-fenv-access` to avoid potential warnings?

yes, you should update the cmake flag in the `if()`, remove the `-Wno-fenv-access`, and replace it with `-D...`

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


More information about the libc-commits mailing list