Audit of comctl32 for the PSDK - listview.c

Steven Edwards steven_ed4153 at yahoo.com
Mon Mar 22 14:45:43 CST 2004


Hello,
Its time for another round of PSDK porting fixes. I am going to start
on comctl32. Most of if builds fine except for some internal or
non-documented defines that we need to figure out how to handle. The
only big issue we have is listview...

Compiling...
listview.c
C:\source\wine\dlls\comctl32\listview.c(503) : warning C4018: '<' :
signed/unsigned mismatch
C:\source\wine\dlls\comctl32\listview.c(503) : warning C4018: '<' :
signed/unsigned mismatch
C:\source\wine\dlls\comctl32\listview.c(1620) : warning C4018: '<' :
signed/unsigned mismatch
C:\source\wine\dlls\comctl32\listview.c(1655) : warning C4018: '<' :
signed/unsigned mismatch
C:\source\wine\dlls\comctl32\listview.c(2593) : error C2065:
'__FUNCTION__' : undeclared identifier
C:\source\wine\dlls\comctl32\listview.c(2593) : warning C4047:
'function' : 'const char *' differs in levels of indirection from 'int
'
C:\source\wine\dlls\comctl32\listview.c(2593) : warning C4024:
'ranges_assert' : different types for formal and actual parameter 3
C:\source\wine\dlls\comctl32\listview.c(2635) : warning C4047:
'function' : 'const char *' differs in levels of indirection from 'int
'
C:\source\wine\dlls\comctl32\listview.c(2635) : warning C4024:
'ranges_assert' : different types for formal and actual parameter 3
C:\source\wine\dlls\comctl32\listview.c(2704) : warning C4047:
'function' : 'const char *' differs in levels of indirection from 'int
'
C:\source\wine\dlls\comctl32\listview.c(2704) : warning C4024:
'ranges_assert' : different types for formal and actual parameter 3
C:\source\wine\dlls\comctl32\listview.c(2708) : warning C4047:
'function' : 'const char *' differs in levels of indirection from 'int
'
C:\source\wine\dlls\comctl32\listview.c(2708) : warning C4024:
'ranges_assert' : different types for formal and actual parameter 3
C:\source\wine\dlls\comctl32\listview.c(2718) : warning C4047:
'function' : 'const char *' differs in levels of indirection from 'int
'
C:\source\wine\dlls\comctl32\listview.c(2718) : warning C4024:
'ranges_assert' : different types for formal and actual parameter 3
C:\source\wine\dlls\comctl32\listview.c(2776) : warning C4047:
'function' : 'const char *' differs in levels of indirection from 'int
'
C:\source\wine\dlls\comctl32\listview.c(2776) : warning C4024:
'ranges_assert' : different types for formal and actual parameter 3
C:\source\wine\dlls\comctl32\listview.c(2780) : warning C4047:
'function' : 'const char *' differs in levels of indirection from 'int
'
C:\source\wine\dlls\comctl32\listview.c(2780) : warning C4024:
'ranges_assert' : different types for formal and actual parameter 3
C:\source\wine\dlls\comctl32\listview.c(3974) : warning C4244: '=' :
conversion from 'long ' to 'unsigned short ', possible loss of data
C:\source\wine\dlls\comctl32\listview.c(4008) : warning C4244: '=' :
conversion from 'long ' to 'unsigned short ', possible loss of data
C:\source\wine\dlls\comctl32\listview.c(4015) : warning C4244: '=' :
conversion from 'long ' to 'unsigned short ', possible loss of data
C:\source\wine\dlls\comctl32\listview.c(4017) : warning C4244: '=' :
conversion from 'long ' to 'unsigned short ', possible loss of data
C:\source\wine\dlls\comctl32\listview.c(5061) : warning C4013:
'offsetof' undefined; assuming extern returning int
C:\source\wine\dlls\comctl32\listview.c(5061) : error C2143: syntax
error : missing ')' before 'type'
C:\source\wine\dlls\comctl32\listview.c(5066) : error C2143: syntax
error : missing ')' before 'type'
C:\source\wine\dlls\comctl32\listview.c(5242) : error C2061: syntax
error : identifier 'LISTVIEW_GetItemExtT'
C:\source\wine\dlls\comctl32\listview.c(5242) : error C2059: syntax
error : ';'
C:\source\wine\dlls\comctl32\listview.c(5242) : error C2059: syntax
error : 'type'
C:\source\wine\dlls\comctl32\listview.c(5600) : warning C4013:
'LISTVIEW_GetItemExtT' undefined; assuming extern returning int
C:\source\wine\dlls\comctl32\listview.c(5648) : warning C4018: '==' :
signed/unsigned mismatch
C:\source\wine\dlls\comctl32\listview.c(5680) : warning C4013:
'ListView_FindItemW' undefined; assuming extern returning int
C:\source\wine\dlls\comctl32\listview.c(6102) : error C2143: syntax
error : missing ')' before 'type'
C:\source\wine\dlls\comctl32\listview.c(6107) : error C2143: syntax
error : missing ')' before 'type'
C:\source\wine\dlls\comctl32\listview.c(6180) : error C2061: syntax
error : identifier 'LISTVIEW_RedrawItems'
C:\source\wine\dlls\comctl32\listview.c(6180) : error C2059: syntax
error : ';'
C:\source\wine\dlls\comctl32\listview.c(6180) : error C2059: syntax
error : 'type'
C:\source\wine\dlls\comctl32\listview.c(6458) : warning C4013:
'Header_GetItemW' undefined; assuming extern returning int
C:\source\wine\dlls\comctl32\listview.c(6618) : warning C4013:
'Header_SetItemW' undefined; assuming extern returning int
C:\source\wine\dlls\comctl32\listview.c(7389) : warning C4244: '=' :
conversion from 'long ' to 'short ', possible loss of data
C:\source\wine\dlls\comctl32\listview.c(7568) : warning C4146: unary
minus operator applied to unsigned type, result still unsigned
C:\source\wine\dlls\comctl32\listview.c(7671) : warning C4146: unary
minus operator applied to unsigned type, result still unsigned
C:\source\wine\dlls\comctl32\listview.c(7753) : warning C4018: '<' :
signed/unsigned mismatch
C:\source\wine\dlls\comctl32\listview.c(8293) : warning C4244: '=' :
conversion from 'long ' to 'short ', possible loss of data
C:\source\wine\dlls\comctl32\listview.c(8822) : error C2065:
'LPLVFINDINFOW' : undeclared identifier
C:\source\wine\dlls\comctl32\listview.c(8822) : warning C4047:
'function' : 'const struct tagLVFINDINFOW *' differs in levels of
indirection from 'int '
C:\source\wine\dlls\comctl32\listview.c(8822) : warning C4024:
'LISTVIEW_FindItemW' : different types for formal and actual parameter
3
C:\source\wine\dlls\comctl32\listview.c(8822) : error C2146: syntax
error : missing ')' before identifier 'lParam'
C:\source\wine\dlls\comctl32\listview.c(8822) : error C2059: syntax
error : ')'
C:\source\wine\dlls\comctl32\listview.c(8825) : error C2065:
'LPLVFINDINFOA' : undeclared identifier
C:\source\wine\dlls\comctl32\listview.c(8825) : warning C4047:
'function' : 'const struct tagLVFINDINFOA *' differs in levels of
indirection from 'int '
C:\source\wine\dlls\comctl32\listview.c(8825) : warning C4024:
'LISTVIEW_FindItemA' : different types for formal and actual parameter
3
C:\source\wine\dlls\comctl32\listview.c(8825) : error C2146: syntax
error : missing ')' before identifier 'lParam'
C:\source\wine\dlls\comctl32\listview.c(8825) : error C2059: syntax
error : ')'
C:\source\wine\dlls\comctl32\listview.c(9007) : warning C4013:
'LISTVIEW_RedrawItems' undefined; assuming extern returning int

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html



More information about the wine-devel mailing list