[Development] Compiler errors with clang 3.1

Stephen Chu stephen at ju-ju.com
Fri May 18 22:56:09 CEST 2012


I tried both MacPort clang 3.1 and Apple's so-called LLVM 4.0 to build 
Qt and create apps with C++11 turned on. Both failed with constexpr errors.

On the other hand, compiling using gcc 4.7 is successful. I am not sure 
if gcc is more lex on this or Q_DECL_CONSTEXPR macro is not defined.

More information about the Development mailing list