diff options
author | mistachkin <mistachkin@noemail.net> | 2015-05-13 04:50:30 +0000 |
---|---|---|
committer | mistachkin <mistachkin@noemail.net> | 2015-05-13 04:50:30 +0000 |
commit | 13a24f841c86f6e8c64c9ceb1dcce8eb89e162ac (patch) | |
tree | 46583b4768363aad260779e7099d9f0017ac8750 | |
parent | ba02a63a4a18188fa9c373ce2c22fd0ccba33bf5 (diff) | |
download | sqlite-13a24f841c86f6e8c64c9ceb1dcce8eb89e162ac.tar.gz sqlite-13a24f841c86f6e8c64c9ceb1dcce8eb89e162ac.zip |
Enhancements to the MSVC makefile.
FossilOrigin-Name: 59e3e9e764440b7feaafadff74f422535d21bca2
-rw-r--r-- | Makefile.msc | 21 | ||||
-rw-r--r-- | manifest | 12 | ||||
-rw-r--r-- | manifest.uuid | 2 |
3 files changed, 21 insertions, 14 deletions
diff --git a/Makefile.msc b/Makefile.msc index 487d85bfc..cd39e48ab 100644 --- a/Makefile.msc +++ b/Makefile.msc @@ -36,6 +36,13 @@ USE_STDCALL = 0 DYNAMIC_SHELL = 0 !ENDIF +# Set this non-0 to enable extra code that attempts to detect misuse of the +# SQLite API. +# +!IFNDEF API_ARMOR +API_ARMOR = 0 +!ENDIF + # If necessary, create a list of harmless compiler warnings to disable when # compiling the various tools. For the SQLite source code itself, warnings, # if any, will be disabled from within it. @@ -491,14 +498,14 @@ BCC = $(BCC) -DNDEBUG RCC = $(RCC) -DNDEBUG !ENDIF -!IF $(DEBUG)>0 -TCC = $(TCC) -DSQLITE_ENABLE_API_ARMOR -RCC = $(RCC) -DSQLITE_ENABLE_API_ARMOR +!IF $(DEBUG)>0 || $(API_ARMOR)!=0 +TCC = $(TCC) -DSQLITE_ENABLE_API_ARMOR=1 +RCC = $(RCC) -DSQLITE_ENABLE_API_ARMOR=1 !ENDIF !IF $(DEBUG)>2 -TCC = $(TCC) -DSQLITE_DEBUG -RCC = $(RCC) -DSQLITE_DEBUG +TCC = $(TCC) -DSQLITE_DEBUG=1 +RCC = $(RCC) -DSQLITE_DEBUG=1 !ENDIF !IF $(DEBUG)>4 || $(OSTRACE)!=0 @@ -507,8 +514,8 @@ RCC = $(RCC) -DSQLITE_FORCE_OS_TRACE=1 -DSQLITE_DEBUG_OS_TRACE=1 !ENDIF !IF $(DEBUG)>5 -TCC = $(TCC) -DSQLITE_ENABLE_IOTRACE -RCC = $(RCC) -DSQLITE_ENABLE_IOTRACE +TCC = $(TCC) -DSQLITE_ENABLE_IOTRACE=1 +RCC = $(RCC) -DSQLITE_ENABLE_IOTRACE=1 !ENDIF # Prevent warnings about "insecure" MSVC runtime library functions @@ -1,9 +1,9 @@ -C Fix\stypo\sin\sWin32\sVFS\scode\senabled\swhen\sthe\sSQLITE_WIN32_USE_UUID\scompile-time\soption\sis\sused. -D 2015-05-12T19:53:15.308 +C Enhancements\sto\sthe\sMSVC\smakefile. +D 2015-05-13T04:50:30.732 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in edfc69769e613a6359c42c06ea1d42c3bece1736 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 -F Makefile.msc c65882433fde5f35ff66e759938eaf2dde9f360d +F Makefile.msc a9fd7fd02265aa5b3b2522f5e39d975972ff906d F Makefile.vxworks e1b65dea203f054e71653415bd8f96dcaed47858 F README.md d58e3bebc0a4145e0f2a87994015fdb575a8e866 F VERSION 8af05c43e00f7de32be74ff9984d792c96cdb0de @@ -1258,7 +1258,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4 F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f -P c3cbe3b06eb37b9949c5fcb0e257a845953de7a7 -R f8a1a5e41ff600c683edb344c8800a3a +P b33f1bacfdb34fe66b7b073e68bfac38498d6e88 +R 786cf9bafb843a30daaea508385a36b1 U mistachkin -Z 79fe1e789aa3c85e03551f9de21569c5 +Z cf0d8cd171ac487c0fd87c289759c254 diff --git a/manifest.uuid b/manifest.uuid index 1a0c68cb9..af0974039 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -b33f1bacfdb34fe66b7b073e68bfac38498d6e88
\ No newline at end of file +59e3e9e764440b7feaafadff74f422535d21bca2
\ No newline at end of file |