Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.4.0 Beta
-
None
-
Windows 7 + Windows SDK 7.1
-
87eb3ea1904756362ce5474838b25b5b00193dc5
Description
Following error occurs when configuring Qt with msvc2010 command prompt:
C:\work\Qt\git\qt5\qtbase\qmake\library\proitems.cpp(419) : fatal error C1001: A n internal error has occurred in the compiler. (compiler file 'msc1.cpp', line 1420) To work around this problem, try simplifying or changing the program near the l ocations listed above. Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information Internal Compiler Error in C:\Program Files (x86)\Microsoft Visual Studio 10.0\V C\Bin\cl.EXE. You will be prompted to send an error report to Microsoft later. cl : Command line error D8040 : error creating or communicating with child proce ss NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0 \VC\Bin\cl.EXE"' : return code '0x2' Stop. Building qmake failed, return code 2
Doesn't happen on Qt 5.3.2.
Error disappeared after simplifying foreach loop code in file
qtbase\qmake\library\proitems.cpp(419)
QStringList ProStringList::toQStringList() const { QStringList ret; ret.reserve(size()); // foreach (const ProString &str, *this) // ret << str.toQString(); for (int i = 0; i < size(); i++) ret << at(i).toQString(); return ret; }
Attachments
Issue Links
- relates to
-
QTBUG-43394 Building lrelease fails with msvc2010
- Closed
For Gerrit Dashboard: QTBUG-42064 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
97655,2 | work around MSVC2010 ICE | 5.4 | qt/qtbase | Status: MERGED | +2 | 0 |
139081,2 | work around MSVC2010 ICE | 3.6 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |