Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-18669

'cannot determine the exception specification' error for builds using ICC on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.4.0-rc1
    • Building Qt Creator
    •  * Windows 10 x64,
       * IPSXE 2017 Update 4,
       * MSVC 2015 Update 3,
       * Windows SDK 10.0.14393.33.

    Description

      Hello everyone,

      Got errors for Qt Creator builds using ICC with Debug:

              icl -c -FIqtcreator_pch.h -Yuqtcreator_pch.h -Fpdebug\Sqlited_pch.pch -nologo -Zm200 /Qprec /Qwd1744,1738,809,3373 /Zc:forScope -Zi -MDd -O2 -W3 /Qwd673 -w44996 -EHsc /Fddebug\Sqlited.vc.pdb -DUNICODE -DWIN32 -DWIN64 -DWITH_TESTS -D"RELATIVE_PLUGIN_PATH=\"../lib/qtcreator/plugins\"" -D"RELATIVE_LIBEXEC_PATH=\".\"" -D"RELATIVE_DATA_PATH=\"../share/qtcreator\"" -D"RELATIVE_DOC_PATH=\"../share/doc/qtcreator\"" -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -D_CRT_SECURE_NO_WARNINGS -DSQLITE_API=__declspec(dllexport) -DBUILD_SQLITE_LIBRARY -DSQLITE_THREADSAFE=2 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_COLUMN_METADATA -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR="\"C:/QTCREATOR-4.4.82-dev/build/src/libs/sqlite\"" -D_WINDLL -I/src/libs/sqlite -I..\..\..\src -I..\..\..\src -I..\..\libs -IC:/QTCREATOR-4.4.82-dev/build/tools -I..\..\plugins -I. -I..\3rdparty\sqlite -Ic:\libQT-5.9.1\ICC64DH\include -Ic:\libQT-5.9.1\ICC64DH\include\QtWidgets -Ic:\libQT-5.9.1\ICC64DH\include\QtGui -Ic:\libQT-5.9.1\ICC64DH\include\QtANGLE -Ic:\libQT-5.9.1\ICC64DH\include\QtTest -Ic:\libQT-5.9.1\ICC64DH\include\QtConcurrent -Ic:\libQT-5.9.1\ICC64DH\include\QtCore -Idebug -Ic:\libQT-5.9.1\ICC64DH\mkspecs\win32-icc -Fodebug\ @C:\Users\test\AppData\Local\Temp\nm4ED7.tmp
      sqlitedatabasebackend.cpp
      c:\QTCREATOR-4.4.82-dev\build\src\libs\utils\smallstringlayout.h(147): error: cannot determine the exception specification of the default constructor due to a circular dependency
            union {
                  ^
      
      .\sqlitedatabasebackend.cpp(256): internal error: assertion failed at: "shared/cfe/edgcpfe/folding.c", line 12512
      
                throw SqliteException("SqliteDatabaseBackend::SqliteDatabaseBackend: database cannot be opened:", "database file path is empty!");
                      ^
      
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\bin\intel64\icl.EXE"' : return code '0x4'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.

       

       and Release:

              icl -c -FIqtcreator_pch.h -Yuqtcreator_pch.h -Fprelease\Sqlite_pch.pch -nologo -Zm200 /Qprec /Qwd1744,1738,809,3373 /Zc:forScope -O2 -MD libQT-5.9.1-W3 /Qwd673 -w44996 -EHsc -DUNICODE -DWIN32 -DWIN64 -D"RELATIVE_PLUGIN_PATH=\"../lib/qtcreator/plugins\"" -D"RELATIVE_LIBEXEC_PATH=\".\"" -D"RELATIVE_DATA_PATH=\"../share/qtcreator\"" -D"RELATIVE_DOC_PATH=\"../share/doc/qtcreator\"" -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -D_CRT_SECURE_NO_WARNINGS -DSQLITE_API=__declspec(dllexport) -DBUILD_SQLITE_LIBRARY -DSQLITE_THREADSAFE=2 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_COLUMN_METADATA -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DNDEBUG -D_WINDLL -I/src/libs/sqlite -I..\..\..\src -I..\..\..\src -I..\..\libs -IC:/QTCREATOR-4.4.82-dev/build/tools -I..\..\plugins -I. -I..\3rdparty\sqlite -Ic:\libQT-5.9.1\ICC64RH\include -Ic:\libQT-5.9.1\ICC64RH\include\QtWidgets -Ic:\libQT-5.9.1\ICC64RH\include\QtGui -Ic:\libQT-5.9.1\ICC64RH\include\QtANGLE -Ic:\libQT-5.9.1\ICC64RH\include\QtConcurrent -Ic:\libQT-5.9.1\ICC64RH\include\QtCore -Irelease -Ic:\libQT-5.9.1\ICC64RH\mkspecs\win32-icc -Forelease\ @C:\Users\test\AppData\Local\Temp\nmDDA1.tmp
      sqlitedatabasebackend.cpp
      c:\QTCREATOR-4.4.82-dev\build\src\libs\utils\smallstringlayout.h(147): error: cannot determine the exception specification of the default constructor due to a circular dependency
            union {
                  ^
      
      sqliteexception.cpp
      c:\QTCREATOR-4.4.82-dev\build\src\libs\utils\smallstringlayout.h(147): error: cannot determine the exception specification of the default constructor due to a circular dependency
            union {
                  ^
      
      sqlitereadstatement.cpp
      c:\QTCREATOR-4.4.82-dev\build\src\libs\utils\smallstringlayout.h(147): error: cannot determine the exception specification of the default constructor due to a circular dependency
            union {
                  ^
      
      sqlitereadwritestatement.cpp
      c:\QTCREATOR-4.4.82-dev\build\src\libs\utils\smallstringlayout.h(147): error: cannot determine the exception specification of the default constructor due to a circular dependency
            union {
                  ^
      
      sqlitestatement.cpp
      c:\QTCREATOR-4.4.82-dev\build\src\libs\utils\smallstringlayout.h(147): error: cannot determine the exception specification of the default constructor due to a circular dependency
            union {
                  ^
      
      .\sqlitestatement.cpp(347): warning #1011: missing return statement at end of non-void function "Sqlite::SqliteStatement::checkForStepError"
        }
        ^
      
      .\sqlitestatement.cpp(501): warning #1011: missing return statement at end of non-void function "Sqlite::convertedToUtf8StringForColumn"
        }
        ^
      
      .\sqlitestatement.cpp(516): warning #1011: missing return statement at end of non-void function "Sqlite::variantForColumn"
        }
        ^
      
      sqlitetransaction.cpp
      c:\QTCREATOR-4.4.82-dev\build\src\libs\utils\smallstringlayout.h(147): error: cannot determine the exception specification of the default constructor due to a circular dependency
            union {
                  ^
      
      sqlitewritestatement.cpp
      c:\QTCREATOR-4.4.82-dev\build\src\libs\utils\smallstringlayout.h(147): error: cannot determine the exception specification of the default constructor due to a circular dependency
            union {
                  ^
      
      sqlstatementbuilder.cpp
      c:\QTCREATOR-4.4.82-dev\build\src\libs\utils\smallstringlayout.h(147): error: cannot determine the exception specification of the default constructor due to a circular dependency
            union {
                  ^
      
      .\sqlstatementbuilder.cpp(165): warning #1011: missing return statement at end of non-void function "Sqlite::SqlStatementBuilder::columnTypeToString"
        }
        ^
      
      sqlstatementbuilderexception.cpp
      c:\QTCREATOR-4.4.82-dev\build\src\libs\utils\smallstringlayout.h(147): error: cannot determine the exception specification of the default constructor due to a circular dependency
            union {
                  ^
      
      sqlitetable.cpp
      c:\QTCREATOR-4.4.82-dev\build\src\libs\sqlite\columndefinition.h(67): warning #1011: missing return statement at end of non-void function "Sqlite::ColumnDefinition::typeString"
            }
            ^
      
      c:\QTCREATOR-4.4.82-dev\build\src\libs\utils\smallstringlayout.h(147): error: cannot determine the exception specification of the default constructor due to a circular dependency
            union {
                  ^
      
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\bin\intel64\icl.EXE"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.

       configurations.

       

      Reproduced for:

      • builds using ICC.

      Not reproduced for:

      • builds using mingw-w64 and MSVC.

       

      Alexander

       

      Attachments

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

        Activity

          People

            con Eike Ziller
            sav sav
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes