[Box Backup-dev] win32 compile problems

Charles Lecklider boxbackup-dev@fluffy.co.uk
Sat, 16 Dec 2006 21:32:24 +0000


http://bbdev.fluffy.co.uk/svn/box/chris/merge


error C2371: '_ino_t' : redefinition; different basic types
d:\dev\boxbackup\lib\win32\emu.h	line 35


warning C4005: 'O_BINARY' : macro redefinition	e:\program files
(x86)\microsoft visual studio 8\vc\include\fcntl.h	line 75	


warning C4244: '=' : conversion from 'IOStream::pos_type' to 'int',
possible loss of data
d:\dev\boxbackup\lib\common\collectinbufferstream.cpp	164	

(and lines 167 and 170)


warning C4267: 'return' : conversion from 'size_t' to 'unsigned int',
possible loss of data	d:\dev\boxbackup\lib\common\excludelist.h	line 51	


warning C4267: 'initializing' : conversion from 'size_t' to 'int',
possible loss of data	d:\dev\boxbackup\lib\common\archive.h	line 70



warning C4267: 'initializing' : conversion from 'size_t' to 'int',
possible loss of data	d:\dev\boxbackup\lib\common\iostreamgetline.cpp
line 155


warning C4244: '=' : conversion from 'IOStream::pos_type' to 'int',
possible loss of data	d:\dev\boxbackup\lib\common\memblockstream.cpp
line 182	

(and lines 185 and 188)


warning C4267: 'initializing' : conversion from 'size_t' to 'int',
possible loss of data	d:\dev\boxbackup\lib\common\readgatherstream.cpp
line 72


warning C4244: 'initializing' : conversion from 'IOStream::pos_type' to
'int', possible loss of data
d:\dev\boxbackup\lib\common\readgatherstream.cpp	line 148


warning C4244: 'argument' : conversion from 'IOStream::pos_type' to
'size_t', possible loss of data
d:\dev\boxbackup\lib\common\streamablememblock.cpp	line 118


warning C4244: 'argument' : conversion from 'IOStream::pos_type' to
'int', possible loss of data
d:\dev\boxbackup\lib\common\streamablememblock.cpp	line 127


warning C4244: '=' : conversion from 'IOStream::pos_type' to 'int',
possible loss of data
d:\dev\boxbackup\lib\common\streamablememblock.cpp	line 144


warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned
int', possible loss of data	d:\dev\boxbackup\lib\common\utils.cpp	line 42


warning C4267: 'argument' : conversion from 'size_t' to 'unsigned long',
possible loss of data	d:\dev\boxbackup\lib\common\waitforevent.cpp	line 166


warning C4805: '==' : unsafe mix of type 'int8_t' and type 'bool' in
operation	d:\dev\boxbackup\lib\server\protocol.h	line 97


warning C4311: 'type cast' : pointer truncation from 'uint8_t *' to
'unsigned long'	d:\dev\boxbackup\lib\backupclient\backupstorefile.h	line 155


warning C4244: '=' : conversion from 'time_t' to 'long', possible loss
of data	d:\dev\boxbackup\lib\common\boxtimetounix.h	line 29


warning C4267: 'return' : conversion from 'size_t' to 'unsigned int',
possible loss of data	d:\dev\boxbackup\lib\common\excludelist.h	line 51


warning C4805: '==' : unsafe mix of type 'int8_t' and type 'bool' in
operation	d:\dev\boxbackup\lib\server\protocol.h	line 97


warning C4267: 'return' : conversion from 'size_t' to 'unsigned int',
possible loss of data
d:\dev\boxbackup\lib\backupclient\backupstoredirectory.h	line 149


warning C4267: 'initializing' : conversion from 'size_t' to 'int32_t',
possible loss of data
d:\dev\boxbackup\lib\backupclient\backupclientrestore.cpp	line 107	





And lots and lots more....

Am I looking at the wrong branch?

-C