Re: [Development] Error building Qt 5 with clang in 32-bit

2012-08-15 Thread Thiago Macieira
On quarta-feira, 15 de agosto de 2012 17.30.51, Olivier Goffart wrote: > CGFloat colorComp[] = { static_cast(textColor.redF()), > static_cast(textColor.greenF()), CGFloat colotComp[] = { CGFloat(textColor.redF()),CGFloat(textColor.greenF()), -- Thiago Macieira - thiago.macieira (AT) intel.com S

Re: [Development] Error building Qt 5 with clang in 32-bit

2012-08-15 Thread Olivier Goffart
On Wednesday 15 August 2012 11:20:16 Stephen Chu wrote: > I tried to build Qt 5 (from git) with MacPorts clang 4.7 using > macx-clang-libc++-32 mkspec. It failed with narrowing errors like this: > > styles/qmacstyle_mac.mm:3828:45: error: non-constant-expression cannot > be narrowed from type 'qre

[Development] Error building Qt 5 with clang in 32-bit

2012-08-15 Thread Stephen Chu
I tried to build Qt 5 (from git) with MacPorts clang 4.7 using macx-clang-libc++-32 mkspec. It failed with narrowing errors like this: styles/qmacstyle_mac.mm:3828:45: error: non-constant-expression cannot be narrowed from type 'qreal' (aka 'double') to 'CGFloat' (aka 'float') in initiali