Xcode c++ compiler3/29/2023 IBM XL C/C++ for AIX defines them starting from version 16.1. IBM XL C/C++ for Linux defines them starting from version 13.1.1. For example, IBM XL C/C++ also defines these macros. The meaning of the _clang_ and related macros has changed subtly over the years, from identifying the Clang compiler to identifying compilers that use the Clang infrastructure. Apple's Clang distribution can be identified by the presence of the _apple_build_version_ macro. The version of Clang distributed with Apple XCode 4.4 is branded as "Apple Clang 4.0" and derives from the open source Clang 3.1 distribution, but defines these macros with the values 4 and 0 respectively. For example, the Clang 3.1 distribution available at defines _clang_major_ and _clang_minor_ as 3 and 1 respectively. The values of the _clang_major_, _clang_minor_, and _clang_patchlevel_ macros are not consistent across distributions of the Clang compiler. Notice that clang also defines the GNU C version macros, but you should use the clang feature checking macros to detect the availability of various features. Notice that the _ARMCC_VERSION macro is also used as version indicator for Norcroft C, but that the format is different. Please send updates/corrections to predef-contribute.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |