Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-40652

Compiler warnings when compiling qtdeclarative\tests\auto\quick\qquickwindow: *QV4::Managed::Data::operator new(size_t,QV4::Managed::Data *)' : no matching operator delete found

    XMLWordPrintable

Details

    • 328f7bbab666c7af1aec2df69cbdd7ea1a3991db (5.4 , 30.9.2014 5.4)

    Description

      It does not happen when compiling the library, not sure which tricks the test pulls:

      	"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\nmake.exe" -f Makefile.Debug
      	\qtbase\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DQT_QMLTEST_DATADIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow/data\" -DQT_QMLTEST_DATADIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow/data\" -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow\" -D_MSC_VER=1800 -D_WIN32 -D_WIN64 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/mkspecs/win32-msvc2013 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtGui/5.4.0 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtGui/5.4.0/QtGui -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQuick/5.4.0 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQuick/5.4.0/QtQuick -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQuick -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtGui -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtCore/5.4.0 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtCore/5.4.0/QtCore -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQml/5.4.0 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQml/5.4.0/QtQml -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQml -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtNetwork -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtTest -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtCore tst_qquickwindow.cpp -o .moc\debug\tst_qquickwindow.moc
      	\qtbase\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DQT_QMLTEST_DATADIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow/data\" -DQT_QMLTEST_DATADIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow/data\" -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow\" -D_MSC_VER=1800 -D_WIN32 -D_WIN64 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/mkspecs/win32-msvc2013 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtGui/5.4.0 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtGui/5.4.0/QtGui -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQuick/5.4.0 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQuick/5.4.0/QtQuick -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQuick -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtGui -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtCore/5.4.0 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtCore/5.4.0/QtCore -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQml/5.4.0 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQml/5.4.0/QtQml -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQml -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtNetwork -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtTest -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtCore ..\..\shared\util.h -o .moc\debug\moc_util.cpp
      	\qtbase\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DQT_QMLTEST_DATADIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow/data\" -DQT_QMLTEST_DATADIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow/data\" -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow\" -D_MSC_VER=1800 -D_WIN32 -D_WIN64 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/mkspecs/win32-msvc2013 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtGui/5.4.0 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtGui/5.4.0/QtGui -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQuick/5.4.0 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQuick/5.4.0/QtQuick -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQuick -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtGui -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtCore/5.4.0 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtCore/5.4.0/QtCore -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQml/5.4.0 -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQml/5.4.0/QtQml -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtQml -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtNetwork -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtTest -ID:/dev/5-vs13-dev-opengl/qt-opengl/qtbase/include/QtCore ..\shared\viewtestutil.h -o .moc\debug\moc_viewtestutil.cpp
      	cl -c -nologo -Zm200 -Zc:wchar_t -FS -Zi -MDd -EHsc -GR -W3 -w34100 -w34189 /Fddebug\tst_qquickwindow.pdb -DUNICODE -DWIN32 -DWIN64 -DQT_QMLTEST_DATADIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow/data\" -DQT_QMLTEST_DATADIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow/data\" -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow\" -I"\qtbase\include\QtGui\5.4.0" -I"\qtbase\include\QtGui\5.4.0\QtGui" -I"\qtbase\include\QtQuick\5.4.0" -I"\qtbase\include\QtQuick\5.4.0\QtQuick" -I"\qtbase\include" -I"\qtbase\include\QtQuick" -I"\qtbase\include\QtGui" -I"\qtbase\include\QtCore\5.4.0" -I"\qtbase\include\QtCore\5.4.0\QtCore" -I"\qtbase\include\QtQml\5.4.0" -I"\qtbase\include\QtQml\5.4.0\QtQml" -I"\qtbase\include\QtQml" -I"\qtbase\include\QtNetwork" -I"\qtbase\include\QtTest" -I"\qtbase\include\QtCore" -I".moc\debug" -I"\qtbase\mkspecs\win32-msvc2013" -Fo.obj\debug\ @C:\Users\qt\AppData\Local\Temp\nm4893.tmp
      tst_qquickwindow.cpp
      qt-opengl\qtdeclarative\src\qml\jsruntime\qv4mm_p.h(134) : warning C4291: 'void *QV4::Managed::Data::operator new(size_t,QV4::Managed::Data *)' : no matching operator delete found; memory will not be freed if initialization throws an exception
              qt-opengl\qtdeclarative\src\qml\jsruntime\qv4managed_p.h(222) : see declaration of 'QV4::Managed::Data::operator new'
              qt-opengl\qtbase\include\qtqml\5.4.0\qtqml\private\../../../../../../qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h(201) : see reference to function template instantiation 'ManagedType *QV4::MemoryManager::alloc<QV4::BuiltinFunction,QV4::ExecutionContext*,QV4::String*,QV4::ReturnedValue(__cdecl *)(QV4::CallContext *)>(Arg1,Arg2,Arg3)' being compiled
              with
              [
                  ManagedType=QV4::BuiltinFunction
      ,            Arg1=QV4::ExecutionContext *
      ,            Arg2=QV4::String *
      ,            Arg3=QV4::ReturnedValue (__cdecl *)(QV4::CallContext *)
              ]
      qt-opengl\qtdeclarative\src\qml\jsruntime\qv4mm_p.h(142) : warning C4291: 'void *QV4::Managed::Data::operator new(size_t,QV4::Managed::Data *)' : no matching operator delete found; memory will not be freed if initialization throws an exception
              qt-opengl\qtdeclarative\src\qml\jsruntime\qv4managed_p.h(222) : see declaration of 'QV4::Managed::Data::operator new'
              qt-opengl\qtbase\include\qtqml\5.4.0\qtqml\private\../../../../../../qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h(266) : see reference to function template instantiation 'ManagedType *QV4::MemoryManager::alloc<QV4::BoundFunction,QV4::ExecutionContext*,QV4::FunctionObject*,QV4::ValueRef,QV4::Members>(Arg1,Arg2,Arg3,Arg4)' being compiled
              with
              [
                  ManagedType=QV4::BoundFunction
      ,            Arg1=QV4::ExecutionContext *
      ,            Arg2=QV4::FunctionObject *
      ,            Arg3=QV4::ValueRef
      ,            Arg4=QV4::Members
              ]
      	cl -c -nologo -Zm200 -Zc:wchar_t -FS -Zi -MDd -EHsc -GR -W3 -w34100 -w34189 /Fddebug\tst_qquickwindow.pdb -DUNICODE -DWIN32 -DWIN64 -DQT_QMLTEST_DATADIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow/data\" -DQT_QMLTEST_DATADIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow/data\" -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow\" -I"\qtbase\include\QtGui\5.4.0" -I"\qtbase\include\QtGui\5.4.0\QtGui" -I"\qtbase\include\QtQuick\5.4.0" -I"\qtbase\include\QtQuick\5.4.0\QtQuick" -I"\qtbase\include" -I"\qtbase\include\QtQuick" -I"\qtbase\include\QtGui" -I"\qtbase\include\QtCore\5.4.0" -I"\qtbase\include\QtCore\5.4.0\QtCore" -I"\qtbase\include\QtQml\5.4.0" -I"\qtbase\include\QtQml\5.4.0\QtQml" -I"\qtbase\include\QtQml" -I"\qtbase\include\QtNetwork" -I"\qtbase\include\QtTest" -I"\qtbase\include\QtCore" -I".moc\debug" -I"\qtbase\mkspecs\win32-msvc2013" -Fo.obj\debug\ @C:\Users\qt\AppData\Local\Temp\nm5601.tmp
      util.cpp
      	cl -c -nologo -Zm200 -Zc:wchar_t -FS -Zi -MDd -EHsc -GR -W3 -w34100 -w34189 /Fddebug\tst_qquickwindow.pdb -DUNICODE -DWIN32 -DWIN64 -DQT_QMLTEST_DATADIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow/data\" -DQT_QMLTEST_DATADIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow/data\" -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow\" -I"\qtbase\include\QtGui\5.4.0" -I"\qtbase\include\QtGui\5.4.0\QtGui" -I"\qtbase\include\QtQuick\5.4.0" -I"\qtbase\include\QtQuick\5.4.0\QtQuick" -I"\qtbase\include" -I"\qtbase\include\QtQuick" -I"\qtbase\include\QtGui" -I"\qtbase\include\QtCore\5.4.0" -I"\qtbase\include\QtCore\5.4.0\QtCore" -I"\qtbase\include\QtQml\5.4.0" -I"\qtbase\include\QtQml\5.4.0\QtQml" -I"\qtbase\include\QtQml" -I"\qtbase\include\QtNetwork" -I"\qtbase\include\QtTest" -I"\qtbase\include\QtCore" -I".moc\debug" -I"\qtbase\mkspecs\win32-msvc2013" -Fo.obj\debug\ @C:\Users\qt\AppData\Local\Temp\nm5AA6.tmp
      visualtestutil.cpp
      qt-opengl\qtdeclarative\src\qml\jsruntime\qv4mm_p.h(134) : warning C4291: 'void *QV4::Managed::Data::operator new(size_t,QV4::Managed::Data *)' : no matching operator delete found; memory will not be freed if initialization throws an exception
              qt-opengl\qtdeclarative\src\qml\jsruntime\qv4managed_p.h(222) : see declaration of 'QV4::Managed::Data::operator new'
              qt-opengl\qtbase\include\qtqml\5.4.0\qtqml\private\../../../../../../qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h(201) : see reference to function template instantiation 'ManagedType *QV4::MemoryManager::alloc<QV4::BuiltinFunction,QV4::ExecutionContext*,QV4::String*,QV4::ReturnedValue(__cdecl *)(QV4::CallContext *)>(Arg1,Arg2,Arg3)' being compiled
              with
              [
                  ManagedType=QV4::BuiltinFunction
      ,            Arg1=QV4::ExecutionContext *
      ,            Arg2=QV4::String *
      ,            Arg3=QV4::ReturnedValue (__cdecl *)(QV4::CallContext *)
              ]
      qt-opengl\qtdeclarative\src\qml\jsruntime\qv4mm_p.h(142) : warning C4291: 'void *QV4::Managed::Data::operator new(size_t,QV4::Managed::Data *)' : no matching operator delete found; memory will not be freed if initialization throws an exception
              qt-opengl\qtdeclarative\src\qml\jsruntime\qv4managed_p.h(222) : see declaration of 'QV4::Managed::Data::operator new'
              qt-opengl\qtbase\include\qtqml\5.4.0\qtqml\private\../../../../../../qtdeclarative/src/qml/jsruntime/qv4functionobject_p.h(266) : see reference to function template instantiation 'ManagedType *QV4::MemoryManager::alloc<QV4::BoundFunction,QV4::ExecutionContext*,QV4::FunctionObject*,QV4::ValueRef,QV4::Members>(Arg1,Arg2,Arg3,Arg4)' being compiled
              with
              [
                  ManagedType=QV4::BoundFunction
      ,            Arg1=QV4::ExecutionContext *
      ,            Arg2=QV4::FunctionObject *
      ,            Arg3=QV4::ValueRef
      ,            Arg4=QV4::Members
              ]
      viewtestutil.cpp
      Generating Code...
      	cl -c -nologo -Zm200 -Zc:wchar_t -FS -Zi -MDd -EHsc -GR -W3 -w34100 -w34189 /Fddebug\tst_qquickwindow.pdb -DUNICODE -DWIN32 -DWIN64 -DQT_QMLTEST_DATADIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow/data\" -DQT_QMLTEST_DATADIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow/data\" -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR=\"D:/dev/5-vs13-dev-opengl/qt-opengl/qtdeclarative/tests/auto/quick/qquickwindow\" -I"\qtbase\include\QtGui\5.4.0" -I"\qtbase\include\QtGui\5.4.0\QtGui" -I"\qtbase\include\QtQuick\5.4.0" -I"\qtbase\include\QtQuick\5.4.0\QtQuick" -I"\qtbase\include" -I"\qtbase\include\QtQuick" -I"\qtbase\include\QtGui" -I"\qtbase\include\QtCore\5.4.0" -I"\qtbase\include\QtCore\5.4.0\QtCore" -I"\qtbase\include\QtQml\5.4.0" -I"\qtbase\include\QtQml\5.4.0\QtQml" -I"\qtbase\include\QtQml" -I"\qtbase\include\QtNetwork" -I"\qtbase\include\QtTest" -I"\qtbase\include\QtCore" -I".moc\debug" -I"\qtbase\mkspecs\win32-msvc2013" -Fo.obj\debug\ @C:\Users\qt\AppData\Local\Temp\nm6CF6.tmp
      moc_util.cpp
      moc_viewtestutil.cpp
      Generating Code...
      	link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST:embed /OUT:debug\tst_qquickwindow.exe @C:\Users\qt\AppData\Local\Temp\nm746A.tmp
      

      Attachments

        Issue Links

          Activity

            People

              laknoll Lars Knoll
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: