]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Work around compilation issue with MSVC.
authormistachkin <mistachkin@noemail.net>
Fri, 16 May 2014 23:15:50 +0000 (23:15 +0000)
committermistachkin <mistachkin@noemail.net>
Fri, 16 May 2014 23:15:50 +0000 (23:15 +0000)
FossilOrigin-Name: 9623a29c11e3a90513016ea3306c085d2bf91b62

manifest
manifest.uuid
src/main.c

index 91c09ac09c05b0d73d9ccf1d84b282032c3fdac4..361e70cb17f594609bf46faa815bec493a200d7c 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fixes\sto\sprevent\san\sFTS\sindex\sfrom\sgrowing\sindefinitely\sas\sthe\scorresponding\stable\sis\supdated.\sChange\sthe\sFTS\s'automerge'\soption\sto\sallow\sthe\suser\sto\sspecify\sthe\snumber\sof\ssegments\sthat\sshould\sbe\smerged\ssimultaneously\sby\sauto-merges.
-D 2014-05-16T16:16:59.006
+C Work\saround\scompilation\sissue\swith\sMSVC.
+D 2014-05-16T23:15:50.277
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in dd2b1aba364ff9b05de41086f74407f285c57670
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -187,7 +187,7 @@ F src/journal.c b4124532212b6952f42eb2c12fa3c25701d8ba8d
 F src/legacy.c 0df0b1550b9cc1f58229644735e317ac89131f12
 F src/lempar.c cdf0a000315332fc9b50b62f3b5e22e080a0952b
 F src/loadext.c 867c7b330b740c6c917af9956b13b81d0a048303
-F src/main.c bf60d71edc33a48a6e4f7494da64aaf15e6542fd
+F src/main.c 1c164c7b742f0cd60290b34dc9086df9f939f490
 F src/malloc.c 0203ebce9152c6a0e5de520140b8ba65187350be
 F src/mem0.c 6a55ebe57c46ca1a7d98da93aaa07f99f1059645
 F src/mem1.c c0c990fcaddff810ea277b4fb5d9138603dd5d4b
@@ -1172,7 +1172,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh d1a6de74685f360ab718efda6265994b99bbea01
 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P 0d43a7ad9abe821e33e0bf83a997aa4461b1e3f2 3997d47bb9c8593a2cd30317ea65163b99db1832
-R 01618b664df3c3b19706db5d70667d8a
-U dan
-Z fa66c3fc7c4b02244be8e29ed55dc1c5
+P a75f1800021d30b712053373440041b7b355a36a
+R e44c4f2d8b2a74316856f263d26bcc16
+U mistachkin
+Z 7ea453b006be693b9823cb9b81301836
index d4cefb8a545286bf7a9ba84091ae8517b60285dc..92cf7444c6d34f7e4f242f694250992455b2be6f 100644 (file)
@@ -1 +1 @@
-a75f1800021d30b712053373440041b7b355a36a
\ No newline at end of file
+9623a29c11e3a90513016ea3306c085d2bf91b62
\ No newline at end of file
index b3bc66e849f12bb0f209b67f51123f93f9435eb9..d150d19d3c288c9eb7dad0b8b1b06ffa5236706e 100644 (file)
@@ -3126,7 +3126,12 @@ int sqlite3_test_control(int op, ...){
     ** sqlite3_test_control().
     */
     case SQLITE_TESTCTRL_FAULT_INSTALL: {
-      sqlite3Config.xTestCallback = va_arg(ap, int(*)(int));
+      /* MSVC is picky about pulling func ptrs from va lists.
+      ** http://support.microsoft.com/kb/47961
+      ** sqlite3Config.xTestCallback = va_arg(ap, int(*)(int));
+      */
+      typedef int(*TESTCALLBACKFUNC_t)(int);
+      sqlite3Config.xTestCallback = va_arg(ap, TESTCALLBACKFUNC_t);
       rc = sqlite3FaultSim(0);
       break;
     }