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

qtpim submodule broken on "dev"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.13
    • PIM: Contacts
    • None
    • Visual Studio 2015 (x64)
    • Windows

    Description

      Error when attempting to build the qtpim submodule with VS2015 (x64) on the "dev" branch:

              cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zi -MDd -utf-8 /wd4530 /wd4577 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 /Fd.obj\debug\qtcontacts_memoryd.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_CONTACTS_LIB -DQT_CORE_LIB -D_WINDLL -IC:\Qt\qt5-source\qtpim\src\plugins\contacts\memory -I. -I..\..\..\..\include -I..\..\..\..\include\QtContacts -IC:\Qt\qt5-git-tmp\qtbase\include -IC:\Qt\qt5-git-tmp\qtbase\include\QtCore -I.moc\debug -IC:\Qt\qt5-source\qtbase\mkspecs\win32-msvc -Fo.obj\debug\ @C:\Users\100030~1\AppData\Local\Temp\nmDBD.tmp
      qcontactmemorybackend.cpp
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(54): error C3646: '_Uses': unknown override specifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(54): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(55): error C3646: '_Weaks': unknown override specifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(60): error C2065: '_Uses': undeclared identifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(60): error C3861: '_Init_atomic_counter': identifier not found
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(61): error C2065: '_Weaks': undeclared identifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(61): error C3861: '_Init_atomic_counter': identifier not found
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(74): error C2065: '_Atomic_integral_t': undeclared identifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(74): error C2146: syntax error: missing ';' before identifier '_Count'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(74): error C2065: '_Count': undeclared identifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(75): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(75): error C2146: syntax error: missing '>' before identifier '_Atomic_counter_t'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(77): error C2065: '_Count': undeclared identifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(80): error C2061: syntax error: identifier '_Atomic_integral_t'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(100): error C2065: '_Uses': undeclared identifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(105): error C2065: '_Weaks': undeclared identifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(110): error C2065: '_Uses': undeclared identifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(119): error C2065: '_Weaks': undeclared identifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(125): error C2065: '_Uses': undeclared identifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(125): error C3861: '_Get_atomic_count': identifier not found
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(194): error C2143: syntax error: missing ';' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(195): note: see reference to class template instantiation 'QtContacts::std::_Ref_count_del<_Ty,_Dx>' being compiled
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(194): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(194): error C2238: unexpected token(s) preceding ';'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(206): error C2143: syntax error: missing ';' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(236): note: see reference to class template instantiation 'QtContacts::std::_Ref_count_del_alloc<_Ty,_Dx,_Alloc>' being compiled
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(206): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(206): error C2238: unexpected token(s) preceding ';'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(207): error C2653: '_Myalty0': is not a class or namespace name
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(207): error C2143: syntax error: missing ';' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(207): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(207): error C2238: unexpected token(s) preceding ';'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(235): error C2143: syntax error: missing ';' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(235): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(235): error C2238: unexpected token(s) preceding ';'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(360): error C2061: syntax error: identifier 'auto_ptr'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(433): note: see reference to class template instantiation 'QtContacts::std::_Ptr_base<_Ty>' being compiled
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(514): error C2061: syntax error: identifier 'auto_ptr'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(698): note: see reference to class template instantiation 'QtContacts::std::shared_ptr<_Ty>' being compiled
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(585): error C2061: syntax error: identifier 'auto_ptr'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(589): error C2805: binary 'operator =' has too few parameters
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(628): error C2143: syntax error: missing ';' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(628): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(629): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(837): error C2988: unrecognizable template declaration/definition
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(837): error C2143: syntax error: missing ';' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(837): error C2059: syntax error: '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(839): error C2065: '_Ty': undeclared identifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(839): error C2923: 'QtContacts::std::shared_ptr': '_Ty' is not a valid template type argument for parameter '_Ty'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(845): error C2065: '_Ty': undeclared identifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(845): error C2923: 'QtContacts::std::shared_ptr': '_Ty' is not a valid template type argument for parameter '_Ty'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(846): error C2065: '_Ty': undeclared identifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(846): error C2923: 'QtContacts::std::shared_ptr': '_Ty' is not a valid template type argument for parameter '_Ty'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(847): error C2143: syntax error: missing ';' before '{'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(847): error C2447: '{': missing function header (old-style formal list?)
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(921): error C2143: syntax error: missing ';' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(922): note: see reference to class template instantiation 'QtContacts::std::_Ref_count_obj<_Ty>' being compiled
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(921): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(921): error C2238: unexpected token(s) preceding ';'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(932): error C2143: syntax error: missing ';' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(963): note: see reference to class template instantiation 'QtContacts::std::_Ref_count_obj_alloc<_Ty,_Alloc>' being compiled
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(932): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(932): error C2238: unexpected token(s) preceding ';'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(933): error C2653: '_Myalty0': is not a class or namespace name
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(933): error C2143: syntax error: missing ';' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(933): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(933): error C2238: unexpected token(s) preceding ';'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(934): error C2143: syntax error: missing ';' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(934): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(934): error C2238: unexpected token(s) preceding ';'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(962): error C2143: syntax error: missing ';' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(962): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(962): error C2238: unexpected token(s) preceding ';'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1227): error C3613: missing return type after '->' ('int' assumed)
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1227): note: see reference to class template instantiation 'QtContacts::std::_Get_deleter_pointer_type<_Val,_Ty>' being compiled
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1227): error C3646: '_Identity': unknown override specifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1227): error C2988: unrecognizable template declaration/definition
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1227): error C2059: syntax error: '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1227): error C2238: unexpected token(s) preceding ';'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1235): error C2143: syntax error: missing ';' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1272): note: see reference to class template instantiation 'QtContacts::std::_Unique_ptr_base<_Ty,_Dx>' being compiled
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1235): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1235): error C2238: unexpected token(s) preceding ';'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1236): error C2065: '_Dx_noref': undeclared identifier
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1236): error C2923: 'QtContacts::std::_Get_deleter_pointer_type': '_Dx_noref' is not a valid template type argument for parameter '_Ty'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1271): error C2143: syntax error: missing ';' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1271): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1271): error C2238: unexpected token(s) preceding ';'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1317): error C2143: syntax error: missing ',' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1437): note: see reference to class template instantiation 'QtContacts::std::unique_ptr<_Ty,_Dx>' being compiled
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1316): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1324): error C2143: syntax error: missing ')' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1324): error C2143: syntax error: missing ';' before '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1323): error C2382: 'QtContacts::std::unique_ptr<_Ty,_Dx>::unique_ptr': redefinition; different exception specifications
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1316): note: see declaration of 'QtContacts::std::unique_ptr<_Ty,_Dx>::unique_ptr'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1323): error C2059: syntax error: '<'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1323): error C2059: syntax error: ')'
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1323): error C2334: unexpected token(s) preceding ':'; skipping apparent function body
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1175): fatal error C1075: the left brace '{' was unmatched at the end of the file
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
       

      Attachments

        For Gerrit Dashboard: QTBUG-71300
        # Subject Branch Project Status CR V

        Activity

          People

            chrisadams Christopher Adams
            forderud Fredrik Orderud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes