"Gerry Blanchette" <[EMAIL PROTECTED]> writes:

> Clearly, the C++ compiler is substituting SQLITE_STATIC with ((void(*)(void 
> *))0), as the warning from the Solaris C++ compiler claims:
>
> Warning (Anachronism): Formal argument 5 of type extern "C" void(*)(void*) in 
> call to sqlite3_bind_text(sqlite3_stmt*, int, const char*, int, extern "C" 
> void(*)(void*)) is being passed void(*)(void*).

The warning indicates that the value expected is of type
  (extern "C" void(*)(void*))
yet the type passed as SQLITE_STATIC is
  (void(*)(void*))

>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)

Derrell

Reply via email to