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

MSVS Developer Preview 11 fails to compile JavaScriptCore/runtime/Structure.h

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.8.2, 5.0.0
    • 4.8.0
    • Qt Script
    • None
    • Windows+MSVS Developer preview 11

    Description

      I get this error with MSVC 11:

      cl -c -nologo -Zm200 -Zc:wchar_t- -wd4291 -wd4344 -wd4396 -wd4503 -wd4800 -wd4819 -wd4996 -wd4396 -wd4099 -Zi -MDd -MP -GR -EHsc -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DJSC=QTJSC -Djscyyparse=qtjscyyparse -Djscyylex=qtjscyylex -Djscyyerror=qtjscyyerror -DWTF=QTWTF -DQT_BUILD_SCRIPT_LIB -DQT_NO_USING_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -D_USE_MATH_DEFINES -DBUILDING_QT__=1 -DWTF_USE_ACCELERATED_COMPOSITING -DUSE_SYSTEM_MALLOC -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF
      -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DJS_NO_EXPORT -DQT_DLL -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I"..\..\include\QtCore" -I"..\..\include" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\assembler" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\bytecode" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\bytecompiler" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\debugger" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\interpreter" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\jit" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\parser" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\pcre" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\profiler" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\runtime" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\wrec" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\wtf" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\wtf\symbian" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\wtf\unicode" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\yarr" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\API" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\ForwardingHeaders" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\generated" -I"..\..\include\QtScript" -I"tmp\rcc\debug_shared" -I"tmp" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\os-win32" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\WebKit\qt\Api" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\pcre" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\tmp" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\parser" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\bytecompiler" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\debugger" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\runtime" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\wtf" -I"m:\Development\Source\Qt\src\script\..\3rdparty\javascriptcore\JavaScriptCore\unicode" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\interpreter" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\jit" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\profiler" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\wrec" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\API" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\bytecode" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\assembler" -I"m:\Development\Source\Qt\src\3rdparty\javascriptcore\JavaScriptCore\generated" -I"m:\Development\Source\Qt\src\script" -I"m:\Development\Source\Qt\src\script\parser" -I"..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"m:\Development\Source\Qt\src\script" -I"." -I"m:\Development\Source\Qt\mkspecs\win32-msvc2010" -Foobj\debug\ @C:\Users\Ruben\AppData\Local\Temp\nmC22.tmp
      JSBase.cpp
      JSCallbackConstructor.cpp
      m:\development\source\qt\src\3rdparty\javascriptcore\javascriptcore\runtime\Structure.h(320) : error C2664: 'std::make_pair' : cannot convert parameter 2 from 'unsigned int' to 'unsigned int &'
      m:\development\source\qt\src\3rdparty\javascriptcore\javascriptcore\runtime\Structure.h(320) : error C2664: 'std::make_pair' : cannot convert parameter 2 from 'unsigned int' to 'unsigned int &'
      JSCallbackFunction.cpp
      JSCallbackObject.cpp
      m:\development\source\qt\src\3rdparty\javascriptcore\javascriptcore\runtime\Structure.h(320) : error C2664: 'std::make_pair' : cannot convert parameter 2 from 'unsigned int' to 'unsigned int &'
      m:\development\source\qt\src\3rdparty\javascriptcore\javascriptcore\runtime\Structure.h(320) : error C2664: 'std::make_pair' : cannot convert parameter 2 from 'unsigned int' to 'unsigned int &'
      JSClassRef.cpp
      JSContextRef.cpp
      m:\development\source\qt\src\3rdparty\javascriptcore\javascriptcore\runtime\Structure.h(320) : error C2664: 'std::make_pair' : cannot convert parameter 2 from 'unsigned int' to 'unsigned int &'
      JSObjectRef.cpp
      m:\development\source\qt\src\3rdparty\javascriptcore\javascriptcore\runtime\Structure.h(320) : error C2664: 'std::make_pair' : cannot convert parameter 2 from 'unsigned int' to 'unsigned int &'
      JSValueRef.cpp
      m:\development\source\qt\src\3rdparty\javascriptcore\javascriptcore\runtime\Structure.h(320) : error C2664: 'std::make_pair' : cannot convert parameter 2 from 'unsigned int' to 'unsigned int &'
      m:\development\source\qt\src\3rdparty\javascriptcore\javascriptcore\runtime\Structure.h(320) : error C2664: 'std::make_pair' : cannot convert parameter 2 from 'unsigned int' to 'unsigned int &'
      OpaqueJSString.cpp
      m:\development\source\qt\src\3rdparty\javascriptcore\javascriptcore\runtime\Structure.h(320) : error C2664: 'std::make_pair' : cannot convert parameter 2 from 'unsigned int' to 'unsigned int &'
      

      This code has been either removed or refactored in upstream JavaScriptcore.

      Attachments

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

        Activity

          People

            kenthans Kent Hansen (Inactive)
            rubenvb Ruben Van Boxem
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes