Introduce a new built-in type: signed char.
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>
Fri, 4 May 2012 13:19:17 +0000 (15:19 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 8 May 2012 09:47:29 +0000 (11:47 +0200)
commit1e432f0a88b25098819fc9684b54606ba3a05123
treedc01912358b31857ce9edea706a57e0c7015d726
parent4169e20662d0bcf52d6a278f85f44f9dacad7a68
Introduce a new built-in type: signed char.

C++ distinguish between "char", "signed char" and
"unsigned char", they are three independent types.

Fix QVariant behavior on ARM. On ARM "char" may mean
"unsigned char", but we depends on the sign during
a numerical conversions.

Change-Id: I610ce3fb88ed5964b67f3ae442d264fe16b2d261
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/kernel/qmetatype.cpp
src/corelib/kernel/qmetatype.h
src/corelib/kernel/qvariant.cpp
src/corelib/kernel/qvariant.h
tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp
tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp