[Releasing] Qt 5 alpha 20120314: linux g++ C++11: FAILURE

Thiago Macieira thiago.macieira at intel.com
Thu Mar 15 13:08:38 CET 2012


Configured:
../qt-everywhere-opensource-src-5.0.0/configure -prefix /tmp/qt-5-alpha-install 
-release -xcb -opensource -confirm-license -platform linux-g++-optimised

mkspec sets CXXFLAGS to: 
-march=core2 -mtune=corei7-avx -std=c++0x -O3 -g -maccumulate-outgoing-args

Build output:
/tmp/qt-everywhere-opensource-
src-5.0.0/qtbase/tests/auto/corelib/codecs/utf8/tst_utf8.cpp:325:49: error: 
narrowing conversion of ‘239’ from ‘int’ to ‘char’ inside { } [-fpermissive]
/tmp/qt-everywhere-opensource-
src-5.0.0/qtbase/tests/auto/corelib/codecs/utf8/tst_utf8.cpp:325:49: error: 
narrowing conversion of ‘183’ from ‘int’ to ‘char’ inside { } [-fpermissive]
/tmp/qt-everywhere-opensource-
src-5.0.0/qtbase/tests/auto/corelib/codecs/utf8/tst_utf8.cpp:325:49: error: 
narrowing conversion of ‘(i + 144)’ from ‘int’ to ‘char’ inside { } [-
fpermissive]
/tmp/qt-everywhere-opensource-
src-5.0.0/qtbase/tests/auto/corelib/codecs/utf8/tst_utf8.cpp:338:31: error: 
narrowing conversion of ‘(int)(((uchar)(ucs4 >> 18)) | 240u)’ from ‘int’ to 
‘char’ inside { } [-fpermissive]
/tmp/qt-everywhere-opensource-
src-5.0.0/qtbase/tests/auto/corelib/codecs/utf8/tst_utf8.cpp:338:31: error: 
narrowing conversion of ‘((((int)((uchar)(ucs4 >> 12))) & 63) | 128)’ from 
‘int’ to ‘char’ inside { } [-fpermissive]
/tmp/qt-everywhere-opensource-
src-5.0.0/qtbase/tests/auto/corelib/codecs/utf8/tst_utf8.cpp:338:31: error: 
narrowing conversion of ‘((((int)((uchar)(ucs4 >> 6))) & 63) | 128)’ from 
‘int’ to ‘char’ inside { } [-fpermissive]
/tmp/qt-everywhere-opensource-
src-5.0.0/qtbase/tests/auto/corelib/codecs/utf8/tst_utf8.cpp:338:31: error: 
narrowing conversion of ‘((((int)((uchar)ucs4)) & 63) | 128)’ from ‘int’ to 
‘char’ inside { } [-fpermissive]

Fix attached.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tst_utf8.cpp.diff
Type: text/x-patch
Size: 1316 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/releasing/attachments/20120315/6f3a2e3c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/releasing/attachments/20120315/6f3a2e3c/attachment.sig>


More information about the Releasing mailing list