• R/O
  • SSH

libctools: Commit

This library contains code that extends and simplifies different operations
for C language based programs.


Commit MetaInfo

Revisión4fbdfe042bfce5b1231371caeab0450d61777573 (tree)
Tiempo2017-02-13 04:45:56
Autors.gusarov
Commiters.gusarov

Log Message

Added comment about clang version on Mac

Cambiar Resumen

Diferencia incremental

diff -r 1effb3106375 -r 4fbdfe042bfc include/ctools/predef/compiler.h
--- a/include/ctools/predef/compiler.h Sun Feb 12 13:05:07 2017 +0300
+++ b/include/ctools/predef/compiler.h Sun Feb 12 22:45:56 2017 +0300
@@ -193,6 +193,8 @@
193193 /*
194194 * CT_CLANG_VERSION can be used in this situation:
195195 * #if CT_CLANG_VERSION >= 30200 that means "if clang has version greater or equal to 3.2"
196+ * Annoyingly, Apple makes the clang version defines match the version of Xcode, not the version of clang.
197+ * I.e. CT_CLANG_VERSION could be 60000 for clang 3.x This situation takes place when __APPLE__ is defined
196198 */
197199 /* *INDENT-OFF* */
198200 #if defined (CT_COMPL_CLANG)
Show on old repository browser