Re: [PATCH] fix some clang warnings
- From
- Tomas Carnecky <tomas.carnecky@gmail.com>
- Date
- Jan 16, 2013, 18:03 UTC
- Message-ID
- <1358359395-ner-7610@calvin>
- In-Reply-To
- <20130116175057.GB27525@sigill.intra.peff.net>
On Wed, 16 Jan 2013 09:50:57 -0800, Jeff King <peff@peff.net> wrote:
> However, clang also defines __GNUC__, [...]
http://sourceforge.net/p/predef/wiki/Compilers/
Notice that the meaning of the __GNUC__ macro has changed subtly over the
years, from identifying the GNU C/C++ compiler to identifying any compiler
that implements the GNU compiler extensions (...). For example, the Intel
C++ on Linux also defines these macros from version 8.1 (...).