[messages] [Developers] Re: Roadmap for VASSAL 4

Joel Uckelman uckelman at nomic.net
Mon May 16 14:38:29 MST 2011

Thus spake lancel:
> I don't know how to read the dump unless I have the symbol files
> generated with the code compiled.  So, I tried to set up your code in a
> MS IDE to see if that can be compiled.  On my first run, the IDE
> generated the following errors for your function pointer translation
> lines inside setup_gl_fptrs().
> error C2440: '=' : cannot convert from 'void (__stdcall
> *)(GLenum,GLuint)' to 'void (__cdecl *)(GLenum,GLuint)'
> 1>          This conversion requires a reinterpret_cast, a C-style cast
> or function-style cast
> So, I tried to cast your lines in glutil.h and glutil.cpp to something
> like this:
> extern void (__stdcall *BlendFunc)(GLenum sfactor, GLenum dfactor);

I believe I've fixed this in the current version.


More information about the messages mailing list