[Development] Using Qt 5 with C++11/Clang 3.1?

Stephen Chu stephen at ju-ju.com
Fri Jul 6 19:22:38 CEST 2012


On 7/6/12 12:19 PM, Thiago Macieira wrote:
> On sexta-feira, 6 de julho de 2012 18.12.10, Olivier Goffart wrote:
>> #if defined(Q_COMPILER_CONSTEXPR) && defined(Q_COMPILER_DEFAULT_MEMBERS) &&
>> defined(Q_COMPILER_DELETE_MEMBERS)
>>
>> fixes the problem for me.
>> So it should be disabled for those broken version of clang.
>
> Looks like a compiler bug for me, or we forgot one Q_COMPILER macro. We might

So this error is caused by bugs in Clang 3.1?

> need to introduce Q_COMPILER_UNIFORM_INITIALIZATION.
>

Isn't that Q_COMPILER_INITIALIZER_LISTS?




More information about the Development mailing list