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

'static assertion failed' errors while building QtTools on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.1
    • 5.6, 5.7
    • Tools: Assistant
    • b2bede961d73ecc253f9bf6c61ccf3b5a8c12cb3

    Description

      Hi, everyone,

      Got errors while building Qt:

      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\hash_map(14): error: static assertion failed with "<hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning."
        static_assert(false, "<hash_map> is deprecated and will be REMOVED. "
        ^
      
      C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\hash_set(14): error: static assertion failed with "<hash_set> is deprecated and will be REMOVED. Please use <unordered_set>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning."
        static_assert(false, "<hash_set> is deprecated and will be REMOVED. "
        ^
      

      inherent to static layout only, using Intel Compiler (log added in attachment).

      Not reproduced on early 5.6.*-dev releases. Could be fixed by changing line:

      win32-msvc.net | win32-msvc2* | winrt-* | winphone-* {
      

      to

      win32-icc | win32-msvc2* | winrt-* | winphone-* {
      

      in file

      qttools\src\assistant\clucene\clucene.pro
      

      Regards,

      Alexander

      Attachments

        Activity

          People

            heimrich Karsten Heimrich
            sav sav
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: