[Box Backup-dev] win32 compile problems

Charles Lecklider boxbackup-dev at fluffy.co.uk
Sun Dec 17 14:32:13 GMT 2006


Chris Wilson wrote:
> Hi Charles,
> 
> On Sat, 16 Dec 2006, Charles Lecklider wrote:
> 
>> 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)
> [...]
>> 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.
> 
> I think it is in VC express. I tried enabling it and fixing the issues
> it threw up, around this time last year, but I managed to break Box in
> the process so the fixes were necer committed.

Must have missed it. Still, since I'm using the full version now that's
not important.

>> However, since I intend to produce a 64-bit Windows version it's
>> probably a good idea to fix these :-)
> 
> Indeed. Did it throw up any fatal errors?

The compiler didn't, no, but looking through the list I can see that
some of them have the potential to become "fatal" at runtime in a 64-bit
version. e.g. DWORD vs. size_t.

-C




More information about the Boxbackup-dev mailing list