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

Qt Build breaks with MSVC 2010 if configured with -no-stl

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 4.8.6
    • Fix Version/s: 4.8.6
    • Component/s: Core: Threads
    • Labels:
      None
    • Environment:
      Windows, MSVC 2010
    • Commits:
      631bba964a8b0f58245e5a382cd818628e89598c

      Description

      You end up getting following error if Qt 4.8.6 is build with -no-stl with visual studio:

      c:\qt\4.8.6-git\include\qtcore\private\../../../src/corelib/thread/qthread_p.h(243) : error C2039: 'fill_n' : is not a member of 'std'
      c:\qt\4.8.6-git\include\qtcore\private\../../../src/corelib/thread/qthread_p.h(243) : error C3861: 'fill_n': identifier not found
      c:\qt\4.8.6-git\include\qtcore\private\../../../src/corelib/thread/qthread_p.h(249) : error C2039: 'find' : is not a member of 'std'
      c:\qt\4.8.6-git\include\qtcore\private\../../../src/corelib/thread/qthread_p.h(249) : error C3861: 'find': identifier not found
      NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0
      \VC\BIN\cl.EXE"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0
      \VC\BIN\nmake.exe"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: '""c:\Program' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: '""c:\Program' : return code '0x2'
      Stop.

        Attachments

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

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            impomezia Alexander Sedov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes