The clang compiler reports itself as GCC version 4.2, but it supports
several more features in common with newer versions of GCC. However, it
uses different macros to check for features themselves rather than
depending on version numbers for compatibility reasons. For instance, clang
supports both C and C++ static asserts, yet gnulib doesn't use them when
compiling with clang.

-- 
Matt Sicker <boa...@gmail.com>

Reply via email to