I have a function pointer to a dynamic library,
#include <GL/gl.h> /* or something */
void (*vertex)(float, float) = &glVertex2f;
On GCCi686-apple-darwin10-gcc-4.2.1 it's always worked, but fails on Visual Studio 2010 with,
error 'vertex': address of dllimport 'glVertex2f' is not static
I have it configured for C89; I believe that's the only C available. The idea is that I want to invoke the function pointer as an extern
in other files that do not include the library headers.