Running make check reveals a bunch of compilation warnings in the C test cases:
check_osrf_list.c: In function ‘setup’:
check_osrf_list.c:24:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c:26:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c: In function ‘test_osrf_list_osrfListPush’:
check_osrf_list.c:62:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c:66:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c: In function ‘test_osrf_list_osrfListPushFirst’:
check_osrf_list.c:74:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c:76:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c: In function ‘test_osrf_list_osrfListSet’:
check_osrf_list.c:87:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c:89:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c:97:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c:100:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c:111:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c:114:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c:123:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c:131:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c: In function ‘test_osrf_list_osrfListFree’:
check_osrf_list.c:151:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c:152:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c: In function ‘test_osrf_list_osrfListClear’:
check_osrf_list.c:165:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c:166:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c: In function ‘test_osrf_list_osrfListSwap’:
check_osrf_list.c:184:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c:185:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_list.c: In function ‘test_osrf_list_osrfListPop’:
check_osrf_list.c:289:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
check_osrf_message.c: In function ‘test_osrf_message_set_locale’:
check_osrf_message.c:34:13: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
OpenSRF: master
Patch available in the user/gmcharlt/ lp1132247_ fix_compilation _warnings_ in_c_test_ cases branch in working/OpenSRF:
http:// git.evergreen- ils.org/ ?p=working/ OpenSRF. git;a=shortlog; h=refs/ heads/user/ gmcharlt/ lp1132247_ fix_compilation _warnings_ in_c_test_ cases