[Qt-interest] Warning treated as errors. Cannot compile 4.8

Christian Kandeler christian.kandeler at nokia.com
Wed Aug 17 09:15:28 CEST 2011


On Tue, 2011-08-16 at 19:29 +0200, ext Guido Seifert wrote:
> Hi,
> anyone an idea? Debian Wheezy 32bit.
> 
> jit/JITPropertyAccess32_64.cpp: In member function 'void
> JSC::JIT::emit_op_method_check(JSC::Instruction*)':
> [..]
> jit/JITPropertyAccess32_64.cpp:438:17: error: variable 'displacementLabel1' set but not used
> [-Werror=unused-but-set-variable]
> jit/JITPropertyAccess32_64.cpp:440:17: error: variable 'displacementLabel2' set but not used
> [..]
> cc1plus: all warnings being treated as errors
> 
> Several variables set, but not used. Does not happen on all my
> machines. 

GCC 4.6, I assume. They seem to have better checks for this kind of
thing now. As a workaround, you could remove the -Werror option from
wherever it is defined. I'm sure it will be fixed as soon as the
upgraded compiler runs on the build farm.


Christian




More information about the Qt-interest-old mailing list