[Bug 41740] Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 16 19:33:06 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=41740

Jos van Wolput <wolput at onsneteindhoven.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #3 from Jos van Wolput <wolput at onsneteindhoven.nl> 2011-10-16 19:33:06 PDT ---
(In reply to comment #1)
> Fixed in mesa/master with f1f7645f23bd11fb54a992cdbe9ef0a6ee0136f3.
I downloaded a fresh git clone of mesa and still get d3dlx compilation errors:
---
d3d11.cpp: In function ‘HRESULT GalliumD3D11DeviceCreate(pipe_screen*,
pipe_context*, BOOL, unsigned int, IDXGIAdapter*, ID3D11Device**)’:
d3d11.cpp:224:200: error: new declaration ‘HRESULT
GalliumD3D11DeviceCreate(pipe_screen*, pipe_context*, BOOL, unsigned int,
IDXGIAdapter*, ID3D11Device**)’
../gd3dapi/galliumd3d11.h:65:10: error: ambiguates old declaration ‘HRESULT
GalliumD3D11DeviceCreate(pipe_screen*, pipe_context*, BOOL, unsigned int,
IDXGIAdapter*, ID3D11Device**)’
In file included from d3d11.cpp:220:0:
d3d11_context.h: In member function ‘HRESULT
GalliumD3D11DeviceContext<PtrTraits>::Map(ID3D11Resource*, unsigned int,
D3D11_MAP, unsigned int, D3D11_MAPPED_SUBRESOURCE*) [with PtrTraits =
nonatomic_device_child_ptr_traits, HRESULT = int, ID3D11Resource =
ID3D11Resource, D3D11_MAP = D3D11_MAP, D3D11_MAPPED_SUBRESOURCE =
D3D11_MAPPED_SUBRESOURCE]’:
d3d11.cpp:231:1:   instantiated from here
d3d11_context.h:1482:12: warning: unused variable ‘face’ [-Wunused-variable]
d3d11_context.h: In member function ‘void
GalliumD3D11DeviceContext<PtrTraits>::CopySubresourceRegion(ID3D11Resource*,
unsigned int, unsigned int, unsigned int, unsigned int, ID3D11Resource*,
unsigned int, const D3D11_BOX*) [with PtrTraits =
nonatomic_device_child_ptr_traits, ID3D11Resource = ID3D11Resource, D3D11_BOX =
D3D11_BOX]’:
d3d11.cpp:231:1:   instantiated from here
d3d11_context.h:1543:12: warning: unused variable ‘dst_face’
[-Wunused-variable]
d3d11_context.h:1545:12: warning: unused variable ‘src_face’
[-Wunused-variable]
make[5]: *** [d3d11.o] Error 1
make[5]: Leaving directory
`/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers/d3d1x/gd3d11'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/jos/src/xorg/git-master/mesa/src/gallium/state_trackers/d3d1x'
make[3]: *** [subdirs] Error 1
---

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list