[flang-commits] [flang] [Flang][Runtime] Handle missing definitions	in <cfenv> (PR #101242)
    Louis Dionne via flang-commits 
    flang-commits at lists.llvm.org
       
    Wed Jul 31 06:36:26 PDT 2024
    
    
  
================
@@ -12,9 +12,26 @@
 #include "terminator.h"
 #include <cfenv>
 
+// Some system don't define those exceptions, although they are mandated by
+// c++11 standard (e.g. musl, emscripten).
+#ifndef FE_INVALID
+#define FE_INVALID 0
+#endif
----------------
ldionne wrote:
I don't think those are conforming definitions.
https://github.com/llvm/llvm-project/pull/101242
    
    
More information about the flang-commits
mailing list