Delle <dell...@gmail.com> writes: > Delle wrote: > > > > When I try to buld Mesa version 7.6 onto Win32 I get this error message: > > > > Compiling... > > api_exec.c > > ..\..\..\..\src\mesa\main\api_exec.c(831) : error C2440: '=' : cannot > > convert from 'GLboolean (__cdecl *)(GLsync)' to 'GLboolean (__stdcall > > *)(GLsync)' > > ..\..\..\..\src\mesa\main\api_exec.c(832) : error C2440: '=' : cannot > > convert from 'void (__cdecl *)(GLsync)' to 'void (__stdcall *)(GLsync)' > > ..\..\..\..\src\mesa\main\api_exec.c(833) : error C2440: '=' : cannot > > convert from 'GLsync (__cdecl *)(GLenum,GLbitfield)' to 'GLsync (__stdcall > > *)(GLenum,GLbitfield)'
It looks like the calling convention is wrong. I think you can change the default calling convention in the MSVC project file; changing it to stdcall might fix this. api_exec.c or some other code included therein is probably explicitly setting the calling convention for these functions though. Try to track down where that happens and change it to stdcall. I'm sure a patch would be welcome, especially if you could identify why this started happening. Cheers, -tom ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev