[PATCH] D50739: Clean up macros to detect underling C library functionality

Louis Dionne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 14 14:54:52 PDT 2018


ldionne added inline comments.


================
Comment at: include/__config:433
 
-#if __ISO_C_VISIBLE >= 2011 || __cplusplus >= 201103L
+#if __ISO_C_VISIBLE >= 2011
 #  if defined(__FreeBSD__)
----------------
mclow.lists wrote:
> Should we be using `__ISO_C_VISIBLE` here, or `__STDC_VERSION__`?
> I didn't change this, but ...
The weird part is that neither is defined when compiling C++ code..


https://reviews.llvm.org/D50739





More information about the cfe-commits mailing list