[Mesa-dev] [Bug 30322] New: src/dxgi_native.cpp:80:141: error: conditional expression between distinct pointer types ‘void* (*)(void*, HWND__*) ’ and ‘void* (*)(void*, HWND__*) ’ lacks a cast
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Sep 21 22:18:15 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=30322
Summary: src/dxgi_native.cpp:80:141: error: conditional
expression between distinct pointer types ‘void*
(*)(void*, HWND__*)’ and ‘void* (*)(void*, HWND__*)’
lacks a cast
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: blocker
Priority: medium
Component: Other
AssignedTo: mesa-dev at lists.freedesktop.org
ReportedBy: virtuousfox at gmail.com
mesa: 41ef78c5af9a8b0ac80d9bd5375700a8bd0643f8 (master)
building failes with:
x86_64-pc-linux-gnu-g++ -m32 -c -I. -I../../../../../src/gallium/include
-I../../../../../src/gallium/auxiliary -I../../../../../src/gallium/drivers
-Iinclude -I../gd3dapi -I../d3dapi -I../w32api -I../d3d1xstutil/include
-I../include -I../../../include -I../../../auxiliary
-I../../../state_trackers/egl/common -march=k8-sse3 -O2 -mfpmath=sse,387
-frename-registers -ftree-vectorize -floop-interchange -floop-strip-mine
-floop-block -ftree-loop-distribution -floop-parallelize-all -Wno-error -pipe
-ffast-math -Wall -fvisibility=hidden -fno-strict-aliasing -m32 -fPIC -m32
-D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2 -DHAVE_LIBUDEV
-DHAVE_XEXTPROTO_71 -DDXGI_DRIVER_SEARCH_DIR=\"/usr/lib32/egl\"
-DGALLIUM_DXGI_USE_X11 -DGALLIUM_DXGI_USE_DRM src/dxgi_native.cpp -o
src/dxgi_native.o
In file included from ../w32api/objbase.h:20:0,
from ../d3d1xstutil/include/d3d1xstutil.h:45,
from src/dxgi_private.h:34,
from src/dxgi_native.cpp:27:
../w32api/rpcndr.h:174:1: warning: ‘_MIDL_STUB_MESSAGE’ has a field
‘_MIDL_STUB_MESSAGE::SavedContextHandles’ whose type uses the anonymous
namespace
../w32api/rpcndr.h:470:32: warning: ‘_SCONTEXT_QUEUE’ has a field
‘_SCONTEXT_QUEUE::ArrayOfObjects’ whose type uses the anonymous namespace
src/dxgi_native.cpp: In constructor
‘GalliumDXGIFactory::GalliumDXGIFactory(const native_platform*, void*, void*
(*)(void*, HWND__*), void*)’:
src/dxgi_native.cpp:80:141: error: conditional expression between distinct
pointer types ‘void* (*)(void*, HWND__*)’ and ‘void* (*)(void*, HWND__*)’ lacks
a cast
src/dxgi_native.cpp:80:141: error: invalid conversion from ‘void* (*)(void*,
HWND__*)’ to ‘void*’
src/dxgi_native.cpp:80:141: error: invalid conversion from ‘void* (*)(void*,
HWND__*)’ to ‘void*’
src/dxgi_native.cpp:80:192: error: invalid conversion from ‘void*’ to ‘void*
(*)(void*, HWND__*)’
gmake[5]: *** [src/dxgi_native.o] Error 1
gmake[5]: Leaving directory
`/var/tmp/portage/media-libs/mesa-9999-r2/work/32/Mesa-9999/src/gallium/state_trackers/d3d1x/dxgi'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory
`/var/tmp/portage/media-libs/mesa-9999-r2/work/32/Mesa-9999/src/gallium/state_trackers/d3d1x'
gmake[3]: *** [subdirs] Error 1
gmake[3]: Leaving directory
`/var/tmp/portage/media-libs/mesa-9999-r2/work/32/Mesa-9999/src/gallium/state_trackers'
gmake[2]: *** [default] Error 1
gmake[2]: Leaving directory
`/var/tmp/portage/media-libs/mesa-9999-r2/work/32/Mesa-9999/src/gallium'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-libs/mesa-9999-r2/work/32/Mesa-9999/src'
make: *** [default] Error 1
gcc version 4.5.1 (Gentoo 4.5.1 p1.0, pie-0.4.5)
wine version 1.3.3
changing CFLAGS to something safer didn't helped
--
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 mesa-dev
mailing list