On 4/27/05, Thomas Briggs <[EMAIL PROTECTED]> wrote: > > > From the looks of this warning, I would guess that you could redefine > > SQLITE_STATIC like this (or some variation of this that is > > legal C++) to solve > > the problem: > > > > #define SQLITE_STATIC ((extern "C" void(*)(void*)) 0) > > I don't think there's any legal way to do this, is there? Linkage > is, well, a linker issue; this is a passing-a-function-pointer issue. > It doesn't seem sensible to me that you would/should be able to specify > the linkage for a function as you're passing around a pointer to that > function around.
Did you try a cast? (extern "C" void(*)(void*)) SQLITE_STATIC