[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used
From: |
Thomas Jahns |
Subject: |
Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used |
Date: |
Mon, 08 Sep 2014 10:44:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.7.0 |
On 09/08/14 06:24, Paul Smith wrote:
> In particular, this:
>
> configure:3666: checking whether we are using the GNU C compiler
> configure:3685: clang -c -mmacosx-version-min=10.6 conftest.c >&5
> configure:3685: $? = 0
> configure:3694: result: yes
>
> Appears to show that clang is defining the __GNUC__ built-in compiler
> flag, presumably for compatibility with GCC source code. So IF there's
> any real problem here, which I'm not sure there is, the problem is in
> clang claiming to be something it's not.
Happens just the same for icc and since the Intel compiler supports enough of
the pragma's and non-std features of gcc, this works out fine for me so far.
Regards, Thomas
smime.p7s
Description: S/MIME Cryptographic Signature
- AC_PROG_CC wrongly setting $GCC=yes while clang is used, Bastien Chevreux, 2014/09/08
- Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used, Paul Smith, 2014/09/08
- Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used,
Thomas Jahns <=
- Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used, Eric Blake, 2014/09/08
- Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used, Paul Eggert, 2014/09/08
- Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used, Marko Lindqvist, 2014/09/08
- Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used, Paul Eggert, 2014/09/08
- Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used, Bastien Chevreux, 2014/09/08
- Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used, Paul Eggert, 2014/09/08
- Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used, Bastien Chevreux, 2014/09/08
- Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used, Marko Lindqvist, 2014/09/08
- Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used, Bastien Chevreux, 2014/09/08
- Re: AC_PROG_CC wrongly setting $GCC=yes while clang is used, Marko Lindqvist, 2014/09/08