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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.8.6
    • 4.8.6
    • Core: Threads
    • None
    • Windows, MSVC 2010
    • 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

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

        Activity

          People

            thiago Thiago Macieira
            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