[Qt-interest] XCode 4

Konstantin Tokarev annulen at yandex.ru
Wed Apr 6 21:33:50 CEST 2011



06.04.2011, 23:11, lorn.potter at nokia.com:
> On 06/04/2011, at 12:52 AM, ext Thiago Macieira wrote:
>
>>  On Tuesday, 5 de April de 2011 15:50:47 David Forstenlechner wrote:
>>>  I had to deactivate all SSE and 3DNow when configuring Qt for building
>>>  with the XCode 4 clang(llvm) compiler, mainly because of
>>>  incompatibilities in the handling of the "asm" keyword in comparison to gcc.
>>>
>>>  Any chance getting that fixed in the next bugfix release?
>>  Yes, if someone submits the patches fixing the asm usage.
>>
>>  Clang is not an officially-supported compiler, so don't expect the Qt team to
>>  correct the errors.
>
> I guess that means we are dropping support for Mac OS 10.7 and Xcode 4.1 then?
>
> server:qt lornpotter$ gcc --version
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.11.00)

1. llvm-gcc is a totally different compiler than clang. It's just a GCC parser with LLVM backend.
2. Old faithful GCC 4.2 is still included into Xcode 4
3. Nevertheless, I don't see any reason NOT to support Clang. It's a great compiler with lots of
unique features. IMHO, future belongs to it.

-- 
Regards,
Konstantin



More information about the Qt-interest-old mailing list