Hi,

there are lot of warnings when compiling on Windows x64 and VC2005
They are mostly related to int (32bits) != size_t (64bits).

Compiler flags:

        cl -c -nologo -Zi -O2x -Ob2 -GF -D_CRT_SECURE_NO_DEPRECATE  -MT -WL
-W3 -Wp64 -I. -GS- 

Hope it helps

------

alter.c
analyze.c
attach.c
attach.c(309) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data auth.c callback.c
callback.c(28) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
callback.c(59) : warning C4267: 'initializing' : conversion from 'size_t' to
'int', possible loss of data
callback.c(160) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data complete.c btree.c
btree.c(531) : warning C4244: 'function' : conversion from 'i64' to 'int',
possible loss of data
btree.c(533) : warning C4244: 'function' : conversion from 'i64' to 'u32',
possible loss of data
btree.c(2362) : warning C4018: '>=' : signed/unsigned mismatch
btree.c(2362) : warning C4018: '<=' : signed/unsigned mismatch
btree.c(2927) : warning C4244: '=' : conversion from 'i64' to 'u32',
possible loss of data
btree.c(2933) : warning C4018: '>' : signed/unsigned mismatch
btree.c(3066) : warning C4244: '=' : conversion from 'i64' to 'u32',
possible loss of data
btree.c(3073) : warning C4018: '>' : signed/unsigned mismatch
btree.c(3385) : warning C4244: 'function' : conversion from 'i64' to 'int',
possible loss of data
btree.c(3385) : warning C4244: 'function' : conversion from 'i64' to 'int',
possible loss of data
btree.c(3387) : warning C4244: 'function' : conversion from 'i64' to 'int',
possible loss of data
btree.c(3389) : warning C4244: 'function' : conversion from 'i64' to 'u32',
possible loss of data
btree.c(3390) : warning C4244: 'function' : conversion from 'i64' to 'int',
possible loss of data
btree.c(3390) : warning C4244: 'function' : conversion from 'i64' to 'int',
possible loss of data
btree.c(3754) : warning C4018: '>' : signed/unsigned mismatch
btree.c(3896) : warning C4018: '>' : signed/unsigned mismatch
btree.c(3964) : warning C4244: '+=' : conversion from 'i64' to 'int',
possible loss of data
btree.c(3966) : warning C4244: '=' : conversion from 'i64' to 'int',
possible loss of data
btree.c(5512) : warning C4018: '>' : signed/unsigned mismatch
btree.c(6206) : warning C4244: '+=' : conversion from 'i64' to 'int',
possible loss of data build.c
build.c(181) : warning C4244: 'function' : conversion from '__int64' to
'int', possible loss of data
build.c(260) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data
build.c(318) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data
build.c(345) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data
build.c(361) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
build.c(550) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data
build.c(554) : warning C4267: 'initializing' : conversion from 'size_t' to
'int', possible loss of data
build.c(618) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
build.c(1216) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
build.c(1302) : warning C4267: '+=' : conversion from 'size_t' to 'int',
possible loss of data
build.c(1319) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
build.c(1324) : warning C4267: '+=' : conversion from 'size_t' to 'int',
possible loss of data
build.c(1330) : warning C4267: '+=' : conversion from 'size_t' to 'int',
possible loss of data
build.c(1481) : warning C4244: '=' : conversion from '__int64' to 'int',
possible loss of data
build.c(1531) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data
build.c(1538) : warning C4267: 'initializing' : conversion from 'size_t' to
'int', possible loss of data
build.c(1555) : warning C4244: '=' : conversion from '__int64' to 'int',
possible loss of data
build.c(1624) : warning C4244: '=' : conversion from '__int64' to 'int',
possible loss of data
build.c(2030) : warning C4267: '+=' : conversion from 'size_t' to 'int',
possible loss of data
build.c(2067) : warning C4267: 'initializing' : conversion from 'size_t' to
'int', possible loss of data
build.c(2336) : warning C4267: '=' : conversion from 'size_t' to 'unsigned
int', possible loss of data
build.c(2348) : warning C4267: '+=' : conversion from 'size_t' to 'int',
possible loss of data
build.c(2355) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
build.c(2484) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data date.c
date.c(233) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(234) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(339) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(340) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(343) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(344) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(345) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(346) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(360) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(361) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(363) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(407) : warning C4244: 'initializing' : conversion from 'double' to
'int', possible loss of data
date.c(413) : warning C4244: '=' : conversion from 'double' to 'time_t',
possible loss of data
date.c(508) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(514) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(590) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
date.c(606) : warning C4244: '+=' : conversion from 'double' to 'int',
possible loss of data
date.c(612) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(618) : warning C4244: '+=' : conversion from 'double' to 'int',
possible loss of data
date.c(812) : warning C4244: 'initializing' : conversion from 'double' to
'int', possible loss of data
date.c(813) : warning C4244: 'initializing' : conversion from 'double' to
'int', possible loss of data
date.c(815) : warning C4267: '+=' : conversion from 'size_t' to 'int',
possible loss of data
date.c(827) : warning C4244: '=' : conversion from 'double' to 'int',
possible loss of data
date.c(839) : warning C4267: '+=' : conversion from 'size_t' to 'int',
possible loss of data
date.c(844) : warning C4267: '+=' : conversion from 'size_t' to 'int',
possible loss of data
date.c(849) : warning C4267: '+=' : conversion from 'size_t' to 'int',
possible loss of data delete.c expr.c
expr.c(270) : warning C4244: '=' : conversion from '__int64' to 'unsigned
int', possible loss of data func.c
func.c(1031) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data
func.c(1053) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data
func.c(1075) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data hash.c
hash.c(103) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data insert.c
insert.c(987) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
insert.c(990) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data legacy.c main.c
main.c(415) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
main.c(772) : warning C4267: 'function' : conversion from 'size_t' to 'int',
possible loss of data
main.c(782) : warning C4267: 'function' : conversion from 'size_t' to 'int',
possible loss of data opcodes.c os.c os_unix.c os_win.c
os_win.c(781) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
os_win.c(785) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
os_win.c(873) : warning C4244: 'initializing' : conversion from 'i64' to
'LONG', possible loss of data
os_win.c(874) : warning C4244: 'initializing' : conversion from 'i64' to
'LONG', possible loss of data
os_win.c(915) : warning C4244: 'initializing' : conversion from 'i64' to
'LONG', possible loss of data
os_win.c(919) : warning C4244: 'function' : conversion from 'i64' to 'LONG',
possible loss of data
os_win.c(1255) : warning C4311: 'type cast' : pointer truncation from
'HANDLE' to 'int'
Generating Code...
Compiling...
pager.c
pager.c(561) : warning C4018: '<' : signed/unsigned mismatch
pager.c(757) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
pager.c(1082) : warning C4244: 'function' : conversion from 'i64' to 'int',
possible loss of data
pager.c(1087) : warning C4244: 'function' : conversion from 'i64' to 'int',
possible loss of data
pager.c(1296) : warning C4244: '=' : conversion from 'i64' to 'u32',
possible loss of data
pager.c(1317) : warning C4018: '<' : signed/unsigned mismatch
pager.c(1438) : warning C4244: '=' : conversion from 'i64' to 'u32',
possible loss of data
pager.c(1455) : warning C4244: '=' : conversion from 'i64' to 'u32',
possible loss of data
pager.c(1631) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
pager.c(1812) : warning C4244: '=' : conversion from 'i64' to 'int',
possible loss of data
pager.c(1818) : warning C4244: 'return' : conversion from 'i64' to 'int',
possible loss of data
pager.c(1900) : warning C4018: '<=' : signed/unsigned mismatch
pager.c(2278) : warning C4018: '<=' : signed/unsigned mismatch
pager.c(3643) : warning C4018: '<=' : signed/unsigned mismatch parse.c
parse.y(151) : warning C4244: '=' : conversion from '__int64' to 'unsigned
int', possible loss of data
parse.y(226) : warning C4244: '=' : conversion from '__int64' to 'unsigned
int', possible loss of data
parse.y(230) : warning C4244: '=' : conversion from '__int64' to 'unsigned
int', possible loss of data
parse.y(234) : warning C4244: '=' : conversion from '__int64' to 'unsigned
int', possible loss of data
parse.y(917) : warning C4244: '=' : conversion from '__int64' to 'unsigned
int', possible loss of data pragma.c
pragma.c(49) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data printf.c
printf.c(411) : warning C4244: '=' : conversion from '__int64' to 'int',
possible loss of data
printf.c(424) : warning C4244: '=' : conversion from '__int64' to 'int',
possible loss of data
printf.c(549) : warning C4244: '=' : conversion from '__int64' to 'int',
possible loss of data
printf.c(594) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
printf.c(641) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data
printf.c(644) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data prepare.c
prepare.c(609) : warning C4244: 'function' : conversion from '__int64' to
'int', possible loss of data random.c select.c
select.c(183) : warning C4267: '=' : conversion from 'size_t' to 'unsigned
int', possible loss of data
select.c(856) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data
select.c(894) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data
select.c(922) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data table.c
table.c(148) : warning C4312: 'type cast' : conversion from 'int' to 'char
*' of greater size
table.c(193) : warning C4311: 'type cast' : pointer truncation from 'char *'
to 'int'
tokenize.c
trigger.c
trigger.c(258) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data
trigger.c(263) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
trigger.c(452) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
trigger.c(474) : warning C4267: 'initializing' : conversion from 'size_t' to
'int', possible loss of data
trigger.c(539) : warning C4267: 'initializing' : conversion from 'size_t' to
'int', possible loss of data
trigger.c(636) : warning C4267: '=' : conversion from 'size_t' to 'unsigned
int', possible loss of data update.c utf.c
utf.c(336) : warning C4244: '=' : conversion from '__int64' to 'int',
possible loss of data
utf.c(353) : warning C4244: '=' : conversion from '__int64' to 'int',
possible loss of data
utf.c(492) : warning C4244: 'return' : conversion from '__int64' to 'int',
possible loss of data
utf.c(540) : warning C4244: 'function' : conversion from '__int64' to 'int',
possible loss of data util.c
util.c(675) : warning C4267: 'function' : conversion from 'size_t' to 'int',
possible loss of data
util.c(707) : warning C4267: '+=' : conversion from 'size_t' to 'int',
possible loss of data
util.c(971) : warning C4244: 'return' : conversion from '__int64' to 'int',
possible loss of data
util.c(1155) : warning C4244: '=' : conversion from 'u64' to 'unsigned
char', possible loss of data
util.c(1158) : warning C4244: '=' : conversion from 'u64' to 'unsigned
char', possible loss of data
util.c(1165) : warning C4244: '=' : conversion from 'u64' to 'u8', possible
loss of data
util.c(1284) : warning C4267: 'initializing' : conversion from 'size_t' to
'int', possible loss of data vacuum.c
vacuum.c(131) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data vdbe.c
vdbe.c(640) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
vdbe.c(655) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
vdbe.c(671) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
vdbe.c(730) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
vdbe.c(1912) : warning C4244: '=' : conversion from 'i64' to 'u32', possible
loss of data
vdbe.c(1928) : warning C4244: '=' : conversion from 'i64' to 'u32', possible
loss of data
vdbe.c(1993) : warning C4018: '>=' : signed/unsigned mismatch
vdbe.c(2000) : warning C4312: 'type cast' : conversion from 'int' to 'u8 *'
of greater size
vdbe.c(2008) : warning C4018: '<' : signed/unsigned mismatch
vdbe.c(2016) : warning C4311: 'type cast' : pointer truncation from 'u8 *'
to 'int'
vdbe.c(2023) : warning C4018: '<' : signed/unsigned mismatch
vdbe.c(2458) : warning C4244: '=' : conversion from 'i64' to 'int', possible
loss of data
vdbe.c(2462) : warning C4244: '=' : conversion from 'i64' to 'u8', possible
loss of data
vdbe.c(2557) : warning C4244: '=' : conversion from 'i64' to 'int', possible
loss of data
vdbe.c(2575) : warning C4244: '=' : conversion from 'i64' to 'int', possible
loss of data
vdbe.c(3450) : warning C4244: '=' : conversion from 'i64' to 'u32', possible
loss of data
vdbe.c(4125) : warning C4244: '=' : conversion from 'i64' to 'int', possible
loss of data
vdbe.c(4138) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data vdbeapi.c
vdbeapi.c(55) : warning C4244: 'return' : conversion from 'i64' to 'int',
possible loss of data
vdbeapi.c(200) : warning C4244: '=' : conversion from 'double' to 'i64',
possible loss of data
vdbeapi.c(237) : warning C4244: '=' : conversion from 'double' to 'u64',
possible loss of data vdbeaux.c
vdbeaux.c(461) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
vdbeaux.c(506) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
vdbeaux.c(510) : warning C4267: 'initializing' : conversion from 'size_t' to
'int', possible loss of data
vdbeaux.c(638) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
vdbeaux.c(840) : warning C4244: 'function' : conversion from '__int64' to
'int', possible loss of data
vdbeaux.c(1011) : warning C4267: 'function' : conversion from 'size_t' to
'int', possible loss of data
vdbeaux.c(1572) : warning C4244: 'return' : conversion from 'i64' to 'u32',
possible loss of data
vdbeaux.c(1628) : warning C4244: '=' : conversion from 'u64' to 'unsigned
char', possible loss of data
vdbeaux.c(1790) : warning C4018: '>=' : signed/unsigned mismatch
vdbeaux.c(1792) : warning C4018: '>=' : signed/unsigned mismatch
vdbeaux.c(1818) : warning C4018: '<' : signed/unsigned mismatch
vdbeaux.c(1820) : warning C4018: '<' : signed/unsigned mismatch
vdbeaux.c(1864) : warning C4244: 'function' : conversion from 'i64' to
'int', possible loss of data
vdbeaux.c(1903) : warning C4244: 'function' : conversion from 'i64' to
'int', possible loss of data vdbemem.c
vdbemem.c(192) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
vdbemem.c(317) : warning C4244: '=' : conversion from 'double' to 'i64',
possible loss of data
vdbemem.c(489) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
vdbemem.c(555) : warning C4244: '=' : conversion from 'const i64' to
'double', possible loss of data
vdbemem.c(560) : warning C4244: '=' : conversion from 'const i64' to
'double', possible loss of data
vdbemem.c(836) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data vdbefifo.c where.c Generating Code...
        cl -c -nologo -Zi -O2x -Ob2 -GF -D_CRT_SECURE_NO_DEPRECATE  -MT -WL
-W3 -Wp64 -I. -GS- /c shell.c shell.c
shell.c(387) : warning C4267: 'initializing' : conversion from 'size_t' to
'int', possible loss of data
shell.c(407) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
shell.c(409) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
shell.c(586) : warning C4267: 'initializing' : conversion from 'size_t' to
'int', possible loss of data
shell.c(587) : warning C4267: 'initializing' : conversion from 'size_t' to
'int', possible loss of data
shell.c(738) : warning C4267: 'initializing' : conversion from 'size_t' to
'int', possible loss of data
shell.c(886) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
shell.c(1041) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
shell.c(1048) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
shell.c(1062) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
shell.c(1151) : warning C4267: 'initializing' : conversion from 'size_t' to
'int', possible loss of data
shell.c(1372) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
shell.c(1490) : warning C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
shell.c(1495) : warning C4267: 'initializing' : conversion from 'size_t' to
'int', possible loss of data
shell.c(1605) : warning C4996: 'fileno' was declared deprecated; D:\Program
Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(688) : see
declaration of 'fileno'; Message: 'The POSIX name for this item is
deprecated. Instead, use the ISO C++ conformant name: _fileno. See online
help for details.'
shell.c(1718) : warning C4013: 'access' undefined; assuming extern returning
int
shell.c(1787) : warning C4996: 'fileno' was declared deprecated; D:\Program
Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(688) : see
declaration of 'fileno'; Message: 'The POSIX name for this item is
deprecated. Instead, use the ISO C++ conformant name: _fileno. See online
help for details.'
Microsoft (R) Incremental Linker Version 8.00.50727.42 Copyright (C)
Microsoft Corporation.  All rights reserved.

/out:sqlite.exe
shell.obj
sqlite.lib 


Christian Jullien



Reply via email to