Closed
Bug 1002025
Opened 10 years ago
Closed 10 years ago
CompositorD3D11.cpp failed to compile using VS2013: error C2677: binary '[' : no global operator found which takes type 'mozilla::layers::MaskType' (or there is no acceptable conversion)
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: xavier114fch, Assigned: bjacob)
Details
Seems related to Bug 987311. Error messages below. 5:40.94 mozmake.EXE[5]: Entering directory 'e:/mozilla-inbound/obj/gfx/layers' 5:40.94 CompositorD3D11.obj 5:46.15 CompositorD3D11.cpp 5:46.15 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(482) : error C2 677: binary '[' : no global operator found which takes type 'mozilla::layers::Ma skType' (or there is no acceptable conversion) 5:46.16 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(485) : error C2 677: binary '[' : no global operator found which takes type 'mozilla::layers::Ma skType' (or there is no acceptable conversion) 5:46.16 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(489) : error C2 677: binary '[' : no global operator found which takes type 'mozilla::layers::Ma skType' (or there is no acceptable conversion) 5:46.16 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(490) : error C2 677: binary '[' : no global operator found which takes type 'mozilla::layers::Ma skType' (or there is no acceptable conversion) 5:46.16 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(493) : error C2 677: binary '[' : no global operator found which takes type 'mozilla::layers::Ma skType' (or there is no acceptable conversion) 5:46.16 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(496) : error C2 677: binary '[' : no global operator found which takes type 'mozilla::layers::Ma skType' (or there is no acceptable conversion) 5:46.16 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(524) : error C2 677: binary '[' : no global operator found which takes type 'mozilla::layers::Ma skType' (or there is no acceptable conversion) 5:46.16 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(526) : error C2 677: binary '[' : no global operator found which takes type 'mozilla::layers::Ma skType' (or there is no acceptable conversion) 5:46.17 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(597) : error C2 677: binary '[' : no global operator found which takes type 'mozilla::layers::Ma skType' (or there is no acceptable conversion) 5:46.17 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(903) : error C2 677: binary '[' : no global operator found which takes type 'mozilla::layers::Ma skType' (or there is no acceptable conversion) 5:46.17 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(903) : error C2 660: 'ID3D11Device::CreateVertexShader' : function does not take 3 arguments 5:46.17 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(911) : error C2 677: binary '[' : no global operator found which takes type 'mozilla::layers::Ma skType' (or there is no acceptable conversion) 5:46.17 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(911) : error C2 660: 'ID3D11Device::CreateVertexShader' : function does not take 3 arguments 5:46.17 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(919) : error C2 677: binary '[' : no global operator found which takes type 'mozilla::layers::Ma skType' (or there is no acceptable conversion) 5:46.17 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(919) : error C2 660: 'ID3D11Device::CreateVertexShader' : function does not take 3 arguments 5:46.17 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(933) : error C2 677: binary '[' : no global operator found which takes type 'mozilla::layers::Ma skType' (or there is no acceptable conversion) 5:46.18 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(933) : error C2 660: 'ID3D11Device::CreatePixelShader' : function does not take 3 arguments 5:46.18 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(933) : error C2 440: 'type cast' : cannot convert from 'mozilla::layers::MaskType' to 'int' 5:46.18 This conversion requires an explicit cast (static_cast, C-style cast or function-style cast) 5:46.18 e:/mozilla-inbound/gfx/layers/d3d11/CompositorD3D11.cpp(933) : fatal er ror C1903: unable to recover from previous error(s); stopping compilation 5:46.18 5:46.20 In the directory /e/mozilla-inbound/obj/gfx/layers 5:46.20 The following command failed to execute properly: 5:46.21 e:/mozilla-inbound/obj/_virtualenv/Scripts/python.exe -m mozbuild.actio n.cl cl -FoCompositorD3D11.obj -c -D_HAS_EXCEPTIONS=0 -I../../dist/stl_wrappers -DWIN32_LEAN_AND_MEAN -D_WIN32 -DWIN32 -D_CRT_RAND_S -DCERT_CHAIN_PARA_HAS_EXTRA _FIELDS -DOS_WIN=1 -D_UNICODE -DCHROMIUM_BUILD -DU_STATIC_IMPLEMENTATION -DUNICO DE -DNOMINMAX -D_WINDOWS -D_SECURE_ATL -DCOMPILER_MSVC -DMOZ_ENABLE_D3D10_LAYER -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DNO_NSPR_10_SUPPORT -Ie:/mozilla-inbound/g fx/layers -I. -Ie:/mozilla-inbound/ipc/chromium/src -Ie:/mozilla-inbound/ipc/glu e -Ie:/mozilla-inbound/obj/ipc/ipdl/_ipdlheaders -I../../dist/include -Ie:/mozil la-inbound/obj/dist/include/nspr -Ie:/mozilla-inbound/obj/dist/include/nss -I/e/ mozilla-inbound/obj/dist/include -I/e/mozilla-inbound/modules/zlib/src -MD -FI . ./../dist/include/mozilla-config.h -DMOZILLA_CLIENT -wd4099 -TP -nologo -W3 -Gy -FS -Gw -wd4251 -wd4244 -wd4345 -wd4351 -wd4482 -wd4800 -wd4819 -we4553 -GR- -DN DEBUG -DTRIMMED -O2 -Ot -Oi -Ob2 -GT -Gy -GF -Gw -FS -arch:SSE2 -Oy- -Ie:/mozill a-inbound/obj/dist/include/cairo -I/frameworks/base/include/media/stagefright -I /frameworks/base/include/media/stagefright/openmax -I/frameworks/av/include/medi a/stagefright -I/frameworks/native/include/media/openmax -Fdgenerated.pdb e:/moz illa-inbound/gfx/layers/d3d11/CompositorD3D11.cpp 5:46.22 e:/mozilla-inbound/config/rules.mk:1004: recipe for target 'CompositorD 3D11.obj' failed 5:46.22 mozmake.EXE[5]: *** [CompositorD3D11.obj] Error 1 5:46.22 mozmake.EXE[5]: Leaving directory 'e:/mozilla-inbound/obj/gfx/layers' 5:46.23 e:/mozilla-inbound/config/recurse.mk:95: recipe for target 'gfx/layers/ compile' failed 5:46.23 mozmake.EXE[4]: *** [gfx/layers/compile] Error 2 5:46.23 mozmake.EXE[4]: Leaving directory 'e:/mozilla-inbound/obj' 5:46.23 e:/mozilla-inbound/config/recurse.mk:39: recipe for target 'compile' fa iled 5:46.23 mozmake.EXE[3]: *** [compile] Error 2 5:46.23 mozmake.EXE[3]: Leaving directory 'e:/mozilla-inbound/obj' 5:46.24 e:/mozilla-inbound/config/rules.mk:592: recipe for target 'default' fai led 5:46.24 mozmake.EXE[2]: *** [default] Error 2 5:46.24 mozmake.EXE[2]: Leaving directory 'e:/mozilla-inbound/obj' 5:46.25 e:/mozilla-inbound/client.mk:398: recipe for target 'realbuild' failed 5:46.25 mozmake.EXE[1]: *** [realbuild] Error 2 5:46.25 mozmake.EXE[1]: Leaving directory 'e:/mozilla-inbound' 5:46.25 client.mk:185: recipe for target 'build' failed 5:46.26 mozmake.EXE: *** [build] Error 2
Assignee | ||
Comment 1•10 years ago
|
||
Bug 987311 has been backed out for this reason (among others). So this is fixed at the moment, right? I'm looking into this now.
Assignee | ||
Comment 2•10 years ago
|
||
Feel free to reopen if I regress this again by relanding bug 987311. But I have it tested locally on MSVC 2012 now, so it should be OK this time.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Assignee: nobody → bjacob
Target Milestone: --- → mozilla31
You need to log in
before you can comment on or make changes to this bug.
Description
•