tobiasschulz / csharp-sqlite

Automatically exported from code.google.com/p/csharp-sqlite
Other
0 stars 0 forks source link

SQLITE_TEST flag doesn't compile #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

This is only one example, there are lots around in the code.

#if SQLITE_TEST
    //static int sqlite3_like_count = 0;
#endif

Then, sqlite3_like_count is used. I think the SQLITE_TEST flag should be 
removed from the Compile Options docs, or fixed, as currently doesn't build.

Original issue reported on code.google.com by diego.to...@gmail.com on 16 Jul 2010 at 10:53

GoogleCodeExporter commented 9 years ago
I think this flag is only used with the testfixture project.

Also are you setting the SQLITE_DEBUG flag as well?

Original comment by noah.hart@gmail.com on 17 Jul 2010 at 12:11

GoogleCodeExporter commented 9 years ago
Yes, I'm using all the recommended flags in the Compiler Options page. When 
using SQLITE_TEST, there are lots of errors that prevent from compiling.

Original comment by diego.to...@gmail.com on 17 Jul 2010 at 9:49

GoogleCodeExporter commented 9 years ago
Diego, I've confirmed.  

This flag is only used when you are running the testfixture project

I've removed it from the standard CompilerOptions list, and added a section for 
the textfixture project

Original comment by noah.hart@gmail.com on 27 Jul 2010 at 10:56