/ Check-in [de30d5b0]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add two more classes of harmless MSVC compiler warnings.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | msvcW4
Files: files | file ages | folders
SHA1: de30d5b053b8e004418c81945d626cfad315d6ba
User & Date: mistachkin 2015-01-12 20:20:26
Context
2015-01-12
20:25
Fix harmless compiler warning in an assert() statement. Closed-Leaf check-in: bdbeed01 user: mistachkin tags: msvcW4
20:20
Add two more classes of harmless MSVC compiler warnings. check-in: de30d5b0 user: mistachkin tags: msvcW4
19:59
Silence some harmless uninitialized local variable warnings. check-in: 44375a34 user: mistachkin tags: msvcW4
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.msc.

    25     25   # If necessary, create a list of harmless compiler warnings to disable when
    26     26   # compiling the build tools.  For the SQLite source code itself, warnings,
    27     27   # if any, will be disabled from within it.
    28     28   #
    29     29   !IFNDEF NO_WARN
    30     30   !IF $(USE_FULLWARN)!=0
    31     31   NO_WARN = -wd4054 -wd4055 -wd4100 -wd4127 -wd4152 -wd4189 -wd4206 -wd4210
    32         -NO_WARN = $(NO_WARN) -wd4232 -wd4244 -wd4702 -wd4706
           32  +NO_WARN = $(NO_WARN) -wd4232 -wd4244 -wd4305 -wd4306 -wd4702 -wd4706
    33     33   !ENDIF
    34     34   !ENDIF
    35     35   
    36     36   # Set this non-0 to use the library paths and other options necessary for
    37     37   # Windows Phone 8.1.
    38     38   #
    39     39   !IFNDEF USE_WP81_OPTS

Changes to src/msvc.h.

    22     22   #pragma warning(disable : 4127)
    23     23   #pragma warning(disable : 4152)
    24     24   #pragma warning(disable : 4189)
    25     25   #pragma warning(disable : 4206)
    26     26   #pragma warning(disable : 4210)
    27     27   #pragma warning(disable : 4232)
    28     28   #pragma warning(disable : 4244)
           29  +#pragma warning(disable : 4305)
           30  +#pragma warning(disable : 4306)
    29     31   #pragma warning(disable : 4702)
    30     32   #pragma warning(disable : 4706)
    31     33   #endif /* defined(_MSC_VER) */
    32     34   
    33     35   #endif /* _MSVC_H_ */