[Box Backup-dev] win32 compile problems
Charles Lecklider
boxbackup-dev at fluffy.co.uk
Sat Dec 16 23:09:20 GMT 2006
Chris Wilson wrote:
> Hi Charles,
>
> On Sat, 16 Dec 2006, Charles Lecklider wrote:
>
>> http://bbdev.fluffy.co.uk/svn/box/chris/merge
> [...]
>> Am I looking at the wrong branch?
>
> I haven't finished merging the general branch into trunk, and not all
> the changes are in the merge branch. I have never tried to compile that
> branch on Windows with any compiler, and I doubt that it would work.
OK, no probs - I was hoping it was something like that :-)
> Please try the general branch. If something doesn't work, I'll fix it
> there and then merge it back to trunk later.
warning C4244: '=' : conversion from 'IOStream::pos_type' to 'int',
possible loss of data
d:\dev\boxbackup\lib\common\collectinbufferstream.cpp line 164
(and 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\fdgetline.cpp line 172
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
warning C4244: '=' : conversion from 'IOStream::pos_type' to 'int',
possible loss of data d:\dev\boxbackup\lib\common\memblockstream.cpp
line 185
warning C4244: '=' : conversion from 'IOStream::pos_type' to 'int',
possible loss of data d:\dev\boxbackup\lib\common\memblockstream.cpp
line 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
And lots and lots more....
I have "detect 64-bit portability issues" enabled which isn't part of VC
Express, and I suspect that a lot of these are related to that.
However, since I intend to produce a 64-bit Windows version it's
probably a good idea to fix these :-)
-C
More information about the Boxbackup-dev
mailing list