Commit 1fe85174 authored by hjk's avatar hjk Committed by hjk

debugger: better manual test for std::unique_ptr dumper

Change-Id: I37a2b5ae4089931bd9f9edea8c584024c94c498d
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent e70ad815
......@@ -2653,7 +2653,7 @@ namespace stdptr {
void testStdUniquePtr()
{
#ifdef USE_CXX11
std::unique_ptr<int> p(new 32);
std::unique_ptr<int> p(new int(32));
BREAK_HERE;
// Check p 32 std::unique_ptr<int>.
// Continue.
......@@ -5919,7 +5919,7 @@ int main(int argc, char *argv[])
stdstream::testStdStream();
stdstring::testStdString();
stdvector::testStdVector();
stdptr::testStdPointer();
stdptr::testStdPtr();
qbytearray::testQByteArray();
qdatetime::testDateTime();
......
......@@ -25,7 +25,11 @@ maemo5 {
exists($$QMAKE_INCDIR_QT/QtCore/private/qobject_p.h):DEFINES += USE_PRIVATE
exists(/usr/include/boost/optional.hpp): DEFINES += USE_BOOST
exists(/usr/include/eigen2/Eigen/Core): DEFINES += USE_EIGEN
false: DEFINES += USE_CXX11
*g++* {
DEFINES += USE_CXX11
QMAKE_CXXFLAGS += -std=c++0x
}
# Use for semi-automated testing
#DEFINES += USE_AUTORUN=1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment