[flang-commits] [flang] Update stdckdint.h and make it available in pre-C23 modes. (PR #69649)

Jessica Clarke via flang-commits flang-commits at lists.llvm.org
Thu Oct 19 15:55:21 PDT 2023


================
@@ -21,9 +21,6 @@
 
 /* C23 7.20.1 Defines several macros for performing checked integer arithmetic*/
 
-#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
-#define __STDC_VERSION_STDCKDINT_H__ 202311L
----------------
jrtc27 wrote:

This needs to stay, `__STDC_VERSION_STDCKDINT_H__` is defined by C23, not just something Clang invented

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


More information about the flang-commits mailing list