I am trying to compile the latest sqlite 3.7.11 amalgamation C file within a Visual Studio 2008 Express C++ project. sqlite3.c is correctly set as to be compiled as C code but I am unable to find out a way to fix some compilation errors:
Compiling... sqlite3.c ..\Sources\sqlite3.c(107831) : error C2143: syntax error : missing ':' before '!' ..\Sources\sqlite3.c(107831) : error C2059: syntax error : ';' ..\Sources\sqlite3.c(107832) : error C2059: syntax error : '}' ..\Sources\sqlite3.c(107994) : error C2079: 'yy318' uses undefined struct 'LikeOp' ..\Sources\sqlite3.c(110530) : error C2224: left of '.eOperator' must have struct/union type ..\Sources\sqlite3.c(110530) : error C2059: syntax error : '!' ..\Sources\sqlite3.c(110534) : error C2224: left of '.eOperator' must have struct/union type ..\Sources\sqlite3.c(110534) : error C2059: syntax error : '!' ..\Sources\sqlite3.c(110538) : error C2275: 'ExprList' : illegal use of this type as an expression ..\Sources\sqlite3.c(8133) : see declaration of 'ExprList' ..\Sources\sqlite3.c(110541) : error C2224: left of '.eOperator' must have struct/union type ..\Sources\sqlite3.c(110541) : error C2198: 'sqlite3ExprFunction' : too few arguments for call ..\Sources\sqlite3.c(110542) : error C2059: syntax error : '!' ..\Sources\sqlite3.c(110554) : error C2224: left of '.eOperator' must have struct/union type ..\Sources\sqlite3.c(110554) : error C2198: 'sqlite3ExprFunction' : too few arguments for call ..\Sources\sqlite3.c(110555) : error C2059: syntax error : '!' Can someone is able to give me an explanation and a way to fix them? Thanks a lot. -- Marco Bambini http://www.sqlabs.com _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users