Hi,

I have an error for sometime compiling the latest versions of SQLite 
amalgamation on eVC++ 4
error: "'Z' : use of class template requires template argument list"


The problem is in the declaration of "sqlite3_blob_read prototype".
It is declared in "sqlite3.h" and "sqlite3.c" as:

SQLITE_API int sqlite3_blob_read(sqlite3_blob *, void *Z, int N, int 
iOffset);


and it is implemented in "sqlite3.c" as:

SQLITE_API int sqlite3_blob_read(sqlite3_blob *pBlob, void *z, int n, 
int iOffset){
  return blobReadWrite(pBlob, z, n, iOffset, sqlite3BtreeData);
}


If I change the uppercase "void *Z" in the declarations to lowerase 
"void *z" the compilation error disappears.

Is this supposed to be declared like this?
The other functions declarations (for example "sqlite3_blob_write") are 
all in lowercase.


Thanks

Cumprimentos / Best Regards

Filipe Madureira
-----------------------------------------------------------------------------
SYSDEV, LDA - Mobile Solutions
(www.sysdevsolutions.com)
Tel: +351 234188027
Fax: +351 234188400
----------------------------------------------------------------------------- 


_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to