Hello Jan,

Move it into it's own project, make it a static lib and turn down the
warning level just for this project. That's what I do anyway. I'm not
willing to touch the code but, that seems to be the only other
solution.


Sunday, May 8, 2011, 6:50:31 AM, you wrote:

JB> Hi,

JB>  

JB> I am new to sqlite3 and just downloaded the code trying to test it from a
JB> C++ application using Visual Studio 2010. I just created a class and
JB> included the sqlite3.c and sqlite3.h from amalgamation-3070602 directly.

JB>  

JB> The header compiles fine, but on the sqlite3.c I get typecast errors. This
JB> is because my compiler is set to a high warning level and sqlite3 code does
JB> things like converting from void* to struct pointers. 

JB>  

JB> Is there any way I can get around this without lowering the compiler's
JB> warning level?

JB>  

JB> Jan

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

-- 
Best regards,
 Teg                            mailto:t...@djii.com

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

Reply via email to