Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1309

WIN64: ''load': is not a member of 'qbs::Internal::PropertyMapInternal' ... 'qbs::Internal::FileTime' ... 'qbs::Internal::RawScanResults' ... 'qbs::Internal::Rule'' errors for builds using MSVC

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 1.11.0
    • Fix Version/s: 1.12.0
    • Component/s: General
    • Labels:
      None
    • Environment:
    • Commits:
      ec79558882226d6128c5000b6713ef1d57c2a381

      Description

      Hello, everyone,

       

      For builds using MSVC got errors:

              cd src\lib\corelib\ && ( if not exist Makefile C:\libQT-5.11-dev\MSVC64RH\bin\qmake.exe -o Makefile C:\QTBS-1.12.0-dev\build\src\lib\corelib\corelib.pro "QBS_INSTALL_PREFIX=C:\QTBS-1.12.0-dev\build\..\MSVC64RH" ) && C:\Windows\jom.exe -f Makefile
              C:\Windows\jom.exe -f Makefile.Release
              cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQBS_LIBRARY -DQT_NO_CAST_FROM_ASCII -DQT_NO_PROCESS_COMBINED_ARGUMENT_START -DQBS_VERSION=\"1.12.0\" -DQBS_RELATIVE_LIBEXEC_PATH=\"../bin\" -DSRCDIR=\"C:/QTBS-1.12.0-dev/build/src/lib/corelib\" -DQT_NO_DEBUG -DQT_FORCE_ASSERTS -DQT_NETWORK_LIB -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_CORE_LIB -DNDEBUG -D_WINDLL -I. -I..\..\..\src -I. -I..\..\lib -IC:\libQT-5.11-dev\MSVC64RH\include\QtCore\5.12.0 -IC:\libQT-5.11-dev\MSVC64RH\include\QtCore\5.12.0\QtCore -IC:\libQT-5.11-dev\MSVC64RH\include -IC:\libQT-5.11-dev\MSVC64RH\include\QtNetwork -IC:\libQT-5.11-dev\MSVC64RH\include\QtScript -IC:\libQT-5.11-dev\MSVC64RH\include\QtXml -IC:\libQT-5.11-dev\MSVC64RH\include\QtCore -Irelease -IC:\libQT-5.11-dev\MSVC64RH\mkspecs\win32-msvc -Forelease\ @C:\Users\test\AppData\Local\Temp\artifact.obj.9068.125.jom
      artifact.cpp
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(87): error C2039: 'load': is not a member of 'qbs::Internal::PropertyMapInternal'
      .\language/propertymapinternal.h(52): note: see declaration of 'qbs::Internal::PropertyMapInternal'
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(87): note: while compiling class template member function 'void qbs::Internal::PersistentPool::Helper<T,void>::load(T &,qbs::Internal::PersistentPool *)'
              with
              [
                  T=qbs::Internal::PropertyMapInternal
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(98): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::Helper<T,void>::load(T &,qbs::Internal::PersistentPool *)' being compiled
              with
              [
                  T=qbs::Internal::PropertyMapInternal
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(98): note: see reference to class template instantiation 'qbs::Internal::PersistentPool::Helper<T,void>' being compiled
              with
              [
                  T=qbs::Internal::PropertyMapInternal
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(231): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::load<_Ty2,>(T &)' being compiled
              with
              [
                  _Ty2=qbs::Internal::PropertyMapInternal,
                  T=qbs::Internal::PropertyMapInternal
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(302): note: see reference to function template instantiation 'std::shared_ptr<qbs::Internal::PropertyMapInternal> qbs::Internal::PersistentPool::idLoadS<qbs::Internal::PropertyMapInternal>(void)' being compiled
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(301): note: while compiling class template member function 'void qbs::Internal::PersistentPool::Helper<T,void>::load(std::shared_ptr<qbs::Internal::PropertyMapInternal> &,qbs::Internal::PersistentPool *)'
              with
              [
                  T=qbs::Internal::PropertyMapPtr
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(98): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::Helper<T,void>::load(std::shared_ptr<qbs::Internal::PropertyMapInternal> &,qbs::Internal::PersistentPool *)' being compiled
              with
              [
                  T=qbs::Internal::PropertyMapPtr
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(98): note: see reference to class template instantiation 'qbs::Internal::PersistentPool::Helper<T,void>' being compiled
              with
              [
                  T=qbs::Internal::PropertyMapPtr
              ]
      buildgraph\artifact.cpp(141): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::load<qbs::Internal::PropertyMapPtr,>(T &)' being compiled
              with
              [
                  T=qbs::Internal::PropertyMapPtr
              ]
      filedependency.cpp
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(87): error C2039: 'load': is not a member of 'qbs::Internal::FileTime'
      .\tools/filetime.h(64): note: see declaration of 'qbs::Internal::FileTime'
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(87): note: while compiling class template member function 'void qbs::Internal::PersistentPool::Helper<T,void>::load(T &,qbs::Internal::PersistentPool *)'
              with
              [
                  T=qbs::Internal::FileTime
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(98): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::Helper<T,void>::load(T &,qbs::Internal::PersistentPool *)' being compiled
              with
              [
                  T=qbs::Internal::FileTime
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(92): note: see reference to class template instantiation 'qbs::Internal::PersistentPool::Helper<T,void>' being compiled
              with
              [
                  T=qbs::Internal::FileTime
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(93): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::store<qbs::Internal::FileTime,>(const T &)' being compiled
              with
              [
                  T=qbs::Internal::FileTime
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(113): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::store<T,qbs::Internal::FileTime>(const T &,const qbs::Internal::FileTime &)' being compiled
              with
              [
                  T=QString
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(112): note: while compiling class template member function 'void qbs::Internal::PersistentPool::OpTypeHelper<qbs::Internal::PersistentPool::Store,T,qbs::Internal::FileTime>::serializationOp(qbs::Internal::PersistentPool *,const T &,const qbs::Internal::FileTime &)'
              with
              [
                  T=QString
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(131): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::OpTypeHelper<qbs::Internal::PersistentPool::Store,T,qbs::Internal::FileTime>::serializationOp(qbs::Internal::PersistentPool *,const T &,const qbs::Internal::FileTime &)' being compiled
              with
              [
                  T=QString
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(131): note: see reference to class template instantiation 'qbs::Internal::PersistentPool::OpTypeHelper<qbs::Internal::PersistentPool::Store,T,qbs::Internal::FileTime>' being compiled
              with
              [
                  T=QString
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\buildgraph\filedependency.h(75): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::serializationOp<qbs::Internal::PersistentPool::Store,QString,qbs::Internal::FileTime>(T &,qbs::Internal::FileTime &)' being compiled
              with
              [
                  T=QString
              ]
      buildgraph\filedependency.cpp(85): note: see reference to function template instantiation 'void qbs::Internal::FileResourceBase::serializationOp<qbs::Internal::PersistentPool::Store>(qbs::Internal::PersistentPool &)' being compiled
      projectbuilddata.cpp
      .\tools/persistence.h(87): error C2039: 'load': is not a member of 'qbs::Internal::RawScanResults'
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\buildgraph\rawscanresults.h(74): note: see declaration of 'qbs::Internal::RawScanResults'
      .\tools/persistence.h(87): note: while compiling class template member function 'void qbs::Internal::PersistentPool::Helper<T,void>::load(T &,qbs::Internal::PersistentPool *)'
              with
              [
                  T=qbs::Internal::RawScanResults
              ]
      .\tools/persistence.h(98): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::Helper<T,void>::load(T &,qbs::Internal::PersistentPool *)' being compiled
              with
              [
                  T=qbs::Internal::RawScanResults
              ]
      .\tools/persistence.h(92): note: see reference to class template instantiation 'qbs::Internal::PersistentPool::Helper<T,void>' being compiled
              with
              [
                  T=qbs::Internal::RawScanResults
              ]
      .\tools/persistence.h(93): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::store<qbs::Internal::RawScanResults,>(const T &)' being compiled
              with
              [
                  T=qbs::Internal::RawScanResults
              ]
      .\tools/persistence.h(113): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::store<T,qbs::Internal::RawScanResults>(const T &,const qbs::Internal::RawScanResults &)' being compiled
              with
              [
                  T=qbs::Internal::Set<qbs::Internal::FileDependency *>
              ]
      .\tools/persistence.h(112): note: while compiling class template member function 'void qbs::Internal::PersistentPool::OpTypeHelper<qbs::Internal::PersistentPool::Store,T,qbs::Internal::RawScanResults>::serializationOp(qbs::Internal::PersistentPool *,const T &,const qbs::Internal::RawScanResults &)'
              with
              [
                  T=qbs::Internal::Set<qbs::Internal::FileDependency *>
              ]
      .\tools/persistence.h(131): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::OpTypeHelper<qbs::Internal::PersistentPool::Store,T,qbs::Internal::RawScanResults>::serializationOp(qbs::Internal::PersistentPool *,const T &,const qbs::Internal::RawScanResults &)' being compiled
              with
              [
                  T=qbs::Internal::Set<qbs::Internal::FileDependency *>
              ]
      .\tools/persistence.h(131): note: see reference to class template instantiation 'qbs::Internal::PersistentPool::OpTypeHelper<qbs::Internal::PersistentPool::Store,T,qbs::Internal::RawScanResults>' being compiled
              with
              [
                  T=qbs::Internal::Set<qbs::Internal::FileDependency *>
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\buildgraph\projectbuilddata.h(96): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::serializationOp<qbs::Internal::PersistentPool::Store,qbs::Internal::Set<qbs::Internal::FileDependency *>,qbs::Internal::RawScanResults>(T &,qbs::Internal::RawScanResults &)' being compiled
              with
              [
                  T=qbs::Internal::Set<qbs::Internal::FileDependency *>
              ]
      buildgraph\projectbuilddata.cpp(264): note: see reference to function template instantiation 'void qbs::Internal::ProjectBuildData::serializationOp<qbs::Internal::PersistentPool::Store>(qbs::Internal::PersistentPool &)' being compiled
      rulenode.cpp
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(87): error C2039: 'load': is not a member of 'qbs::Internal::Rule'
      .\language/language.h(398): note: see declaration of 'qbs::Internal::Rule'
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(87): note: while compiling class template member function 'void qbs::Internal::PersistentPool::Helper<T,void>::load(T &,qbs::Internal::PersistentPool *)'
              with
              [
                  T=qbs::Internal::Rule
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(98): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::Helper<T,void>::load(T &,qbs::Internal::PersistentPool *)' being compiled
              with
              [
                  T=qbs::Internal::Rule
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(98): note: see reference to class template instantiation 'qbs::Internal::PersistentPool::Helper<T,void>' being compiled
              with
              [
                  T=qbs::Internal::Rule
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(231): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::load<_Ty2,>(T &)' being compiled
              with
              [
                  _Ty2=qbs::Internal::Rule,
                  T=qbs::Internal::Rule
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(302): note: see reference to function template instantiation 'std::shared_ptr<qbs::Internal::Rule> qbs::Internal::PersistentPool::idLoadS<qbs::Internal::Rule>(void)' being compiled
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(301): note: while compiling class template member function 'void qbs::Internal::PersistentPool::Helper<T,void>::load(std::shared_ptr<const qbs::Internal::Rule> &,qbs::Internal::PersistentPool *)'
              with
              [
                  T=qbs::Internal::RuleConstPtr
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(98): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::Helper<T,void>::load(std::shared_ptr<const qbs::Internal::Rule> &,qbs::Internal::PersistentPool *)' being compiled
              with
              [
                  T=qbs::Internal::RuleConstPtr
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(92): note: see reference to class template instantiation 'qbs::Internal::PersistentPool::Helper<T,void>' being compiled
              with
              [
                  T=qbs::Internal::RuleConstPtr
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(113): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::store<T,qbs::Internal::ArtifactSet>(const T &,const qbs::Internal::ArtifactSet &)' being compiled
              with
              [
                  T=qbs::Internal::RuleConstPtr
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(112): note: while compiling class template member function 'void qbs::Internal::PersistentPool::OpTypeHelper<qbs::Internal::PersistentPool::Store,T,qbs::Internal::ArtifactSet>::serializationOp(qbs::Internal::PersistentPool *,const T &,const qbs::Internal::ArtifactSet &)'
              with
              [
                  T=qbs::Internal::RuleConstPtr
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(131): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::OpTypeHelper<qbs::Internal::PersistentPool::Store,T,qbs::Internal::ArtifactSet>::serializationOp(qbs::Internal::PersistentPool *,const T &,const qbs::Internal::ArtifactSet &)' being compiled
              with
              [
                  T=qbs::Internal::RuleConstPtr
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\tools\persistence.h(131): note: see reference to class template instantiation 'qbs::Internal::PersistentPool::OpTypeHelper<qbs::Internal::PersistentPool::Store,T,qbs::Internal::ArtifactSet>' being compiled
              with
              [
                  T=qbs::Internal::RuleConstPtr
              ]
      C:\qtbs-1.12.0-dev\build\src\lib\corelib\buildgraph\rulenode.h(89): note: see reference to function template instantiation 'void qbs::Internal::PersistentPool::serializationOp<qbs::Internal::PersistentPool::Store,qbs::Internal::RuleConstPtr,qbs::Internal::ArtifactSet>(T &,qbs::Internal::ArtifactSet &)' being compiled
              with
              [
                  T=qbs::Internal::RuleConstPtr
              ]
      buildgraph\rulenode.cpp(170): note: see reference to function template instantiation 'void qbs::Internal::RuleNode::serializationOp<qbs::Internal::PersistentPool::Store>(qbs::Internal::PersistentPool &)' being compiled
      Generating Code...
      jom: C:\QTBS-1.12.0-dev\build\src\lib\corelib\Makefile.Release [release\artifact.obj] Error 2
      jom: C:\QTBS-1.12.0-dev\build\src\lib\corelib\Makefile [release] Error 2
      jom: C:\QTBS-1.12.0-dev\build\Makefile [sub-src-lib-corelib-corelib-pro-make_first] Error 2
      

       

      Reproduced for:

      • QtBase-dev build using MSVC with Change #220490 merged,

      not reproduced for:

      • QtBase-dev build using MSVC with sources reset prior to #220490,
      • QtBase-dev build using mingw-w64 and Windows ICC with Change #220490 merged.

       

       
      Best,
      Alexander

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            sav sav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes