[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Compile warnings on Win32

From: Branko Čibej <brane_at_xbc.nu>
Date: 2001-10-10 22:31:22 CEST

Just FYI,

There are 5 remaining warnings in the Win32 build, all of which are
caused by apr_off_t being a 64-bit type:

C:\Home\brane\src\svn\repo\subversion\libsvn_fs\reps-strings.c(419) : warning C4244: 'function' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
C:\Home\brane\src\svn\repo\subversion\libsvn_fs\strings-table.c(77) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned int ', possible loss of data
C:\Home\brane\src\svn\repo\subversion\libsvn_delta\svndiff.c(83) : warning C4244: '=' : conversion from '__int64 ' to 'char ', possible loss of data
C:\Home\brane\src\svn\repo\subversion\libsvn_delta\text_delta.c(142) : warning C4244: 'function' : conversion from '__int64 ' to 'const unsigned int ', possible loss of data
C:\Home\brane\src\svn\repo\subversion\libsvn_wc\adm_ops.c(800) : warning C4244: 'function' : conversion from 'unsigned __int64 ' to 'unsigned short ', possible loss of data

None of these look particluarly dangerous. If anybody has ideas about
how to avoid them (without casts, if you please :-), I'd be much
obliged. Otherwise I guess we can live with them for now.

-- 
Brane �ibej   <brane_at_xbc.nu>            http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:44 2006

This is an archived mail posted to the Subversion Dev mailing list.