Hi, I am using Sun Workshop 6.2 compiler on Solaris 8 and version 3 of SQLite. I am getting a compiler warning and was wondering of anyone could help me solve it
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 piece of code that is causing it: sqlite3_stmt *command_info = 0; . . int insertion_result = sqlite3_prepare(memoryDBptr, sqlite_command.c_str(),-1,&command_info,0); . . If (sqlite3_bind_text(command_info,1,(const char *)prefix_digits,-1,SQLITE_STATIC) != SQLITE_OK) { // handle error } . . . In other words, it is complaining about the SQLITE_STATIC macro. Cheers Mike ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. **********************************************************************