[Qt-interest] qscriptextvariant.cpp and Visual Studio 2008 SP1

Constantin Makshin dinosaur-rus at users.sourceforge.net
Sat Jun 27 21:57:12 CEST 2009


Hi!

In the past I used MSVC 2005 SP1 to compile Qt and other  
programs/libraries and had no [serious] problems. Recently I tried to  
compile Qt 4.5.2 (64-bit shared release version, custom tweaked mkspecs)  
with MSVC 2008 SP1 and got internal compiler error in  
src/script/qscriptextvariant.cpp during link-time code generation. The  
error occured in function Variant::method_valueOf() at line 162.

Has anyone had this problem?

After I followed the compiler's suggestion to simplify the code (see the  
attached diff file) Qt was successfully compiled.

What also surprises me is that QMake, which uses this file, too, compiles  
without problems even with original version of the file.

-- 
Constantin "Dinosaur" Makshin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qscriptextvariant.diff
Type: application/octet-stream
Size: 1080 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090627/1a8fc5e6/attachment.obj 


More information about the Qt-interest-old mailing list