CPL Quality Control - failure in cpl on host sagan2

OS:Linux
OS Version:Scientific Linux SL release 5.3 (Boron)
CPU:Intel(R) Xeon(R) E5345 @ 2.33GHz
Hardware:i686 (i386)
C Compiler:gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
CFITSIODIR:/home/quality/Linux/cfitsio
FFTWDIR:/opt/fftw
GSLDIR:/vlt/VLT2010/gnu
JAVA_HOME:/vlt/VLT2010/jdk1.6.0_18
WCSDIR:/home/quality/Linux/wcs

Failed with exit-value 1

stderr produced by: make clean && make CC=splint -k CFLAGS='+weak +posixstrictlib -globs -retvalother -badflag -fileextensions +messagestreamstdout +warningstreamstdout +errorstreamstdout -D__STRICT_ANSI__' 2>/dev/null | splint_filter.pl

sh: line 0: ulimit: file size: cannot modify limit: Operation not permitted
Splint 3.1.1 --- 27 Mar 2007

cxfileutils.c: (in function cx_path_alloc)
cxfileutils.c:150:22: Function cx_calloc expects arg 1 to be cxsize gets long
int: cx_path_max(path) + 1
Types are incompatible. (Use -type to inhibit warning)
cxfileutils.c:150:60: Function cx_calloc expects arg 2 to be cxsize gets
size_t: sizeof(cxchar)

Finished checking --- 2 code warnings
Splint 3.1.1 --- 27 Mar 2007

cxlist.c: (in function _cx_lnode_create)
cxlist.c:111:39: Function cx_malloc expects arg 1 to be cxsize gets size_t:
sizeof(*node)
Types are incompatible. (Use -type to inhibit warning)
cxlist.c: (in function cx_list_new)
cxlist.c:707:38: Function cx_malloc expects arg 1 to be cxsize gets size_t:
sizeof(*list)

Finished checking --- 2 code warnings
Splint 3.1.1 --- 27 Mar 2007

cxmap.c: (in function cx_map_count)
cxmap.c:635:12: Return value type int does not match declared type cxsize:
cx_tree_find(map, key) == cx_tree_end(map) ? 0 : 1
Types are incompatible. (Use -type to inhibit warning)

Finished checking --- 1 code warning
Splint 3.1.1 --- 27 Mar 2007

cxmessages.c: (in function cx_debug_parse_string)
cxmessages.c:180:52: Function cx_strncasecmp expects arg 3 to be cxsize gets
int: q - p
Types are incompatible. (Use -type to inhibit warning)
cxmessages.c: (in function cx_debug_init)
cxmessages.c:209:48: Function cx_debug_parse_string expects arg 3 to be cxuint
gets arbitrary unsigned integral type:
(sizeof((keys)) / sizeof(((keys)[0])))
cxmessages.c: (in function cx_msg_format_unsigned)
cxmessages.c:312:9: Assignment of cxulong to cxchar: c = (value % radix)
cxmessages.c: (in function cx_log_prefix_init)
cxmessages.c:423:51: Function cx_debug_parse_string expects arg 3 to be cxuint
gets arbitrary unsigned integral type:
(sizeof((keys)) / sizeof(((keys)[0])))
cxmessages.c: (in function cx_log_domain_new)
cxmessages.c:496:31: Function cx_malloc expects arg 1 to be cxsize gets size_t:
sizeof(*domain)
cxmessages.c: (in function cx_log_set_handler)
cxmessages.c:859:32: Function cx_malloc expects arg 1 to be cxsize gets size_t:
sizeof(*handler)
cxmessages.c: (in function cx_logv)
cxmessages.c:989:28: Variable depth initialized to type cxint, expects cxuint:
((cxint)(pthread_getspecific((cx_log_depth))))
cxmessages.c:1076:17: Unrecognized identifier: va_copy
Identifier used in code has not been declared. (Use -unrecog to inhibit
warning)

Finished checking --- 8 code warnings
Splint 3.1.1 --- 27 Mar 2007

cxslist.c: (in function _cx_slnode_create)
cxslist.c:109:40: Function cx_malloc expects arg 1 to be cxsize gets size_t:
sizeof(*node)
Types are incompatible. (Use -type to inhibit warning)
cxslist.c: (in function cx_slist_new)
cxslist.c:720:39: Function cx_malloc expects arg 1 to be cxsize gets size_t:
sizeof(*list)

Finished checking --- 2 code warnings
Splint 3.1.1 --- 27 Mar 2007

cxstring.c: (in function _cx_string_new)
cxstring.c:69:64: Function cx_malloc expects arg 1 to be cxsize gets size_t:
sizeof(cx_string)
Types are incompatible. (Use -type to inhibit warning)
cxstring.c: (in function _cx_string_set)
cxstring.c:99:9: Assignment of size_t to cxsize: self->sz = strlen(self->data)
cxstring.c: (in function cx_string_insert)
cxstring.c:704:34: Function strncpy expects arg 3 to be size_t gets cxssize:
position
To allow arbitrary integral types to match long unsigned, use +longintegral.
cxstring.c: (in function cx_string_erase)
cxstring.c:761:9: Assignment of unsigned int to cxssize:
length = self->sz - position
cxstring.c:772:34: Function strncpy expects arg 3 to be size_t gets cxssize:
position

Finished checking --- 5 code warnings
Splint 3.1.1 --- 27 Mar 2007

cxstrutils.c: (in function _cx_strdup)
cxstrutils.c:146:9: Assignment of arbitrary unsigned integral type to cxsize:
sz = strlen(string) + 1
Types are incompatible. (Use -type to inhibit warning)
cxstrutils.c:147:23: Function cx_malloc expects arg 1 to be cxsize gets
arbitrary unsigned integral type: sz * sizeof(cxchar)
cxstrutils.c: (in function cx_strndup)
cxstrutils.c:536:45: Function cx_calloc expects arg 2 to be cxsize gets size_t:
sizeof(cxchar)
cxstrutils.c: (in function cx_strsplit)
cxstrutils.c:685:21: Variable sz initialized to type size_t, expects cxsize:
strlen(delimiter)
cxstrutils.c:691:13: Assignment of int to cxsize: length = s - remainder
cxstrutils.c:693:31: Function cx_malloc expects arg 1 to be cxsize gets
arbitrary unsigned integral type: (length + 1) * sizeof(cxchar)
cxstrutils.c:710:24: Function cx_malloc expects arg 1 to be cxsize gets
arbitrary unsigned integral type: (n + 1) * sizeof(cxchar *)
cxstrutils.c: (in function cx_strjoinv)
cxstrutils.c:764:9: Assignment of arbitrary unsigned integral type to cxsize:
sz = 1 + strlen(sarray[0])
cxstrutils.c:779:28: Function cx_malloc expects arg 1 to be cxsize gets
arbitrary unsigned integral type: sz * sizeof(cxchar)

Finished checking --- 9 code warnings
Splint 3.1.1 --- 27 Mar 2007

cxtree.c: (in function _cx_tnode_create)
cxtree.c:117:49: Function cx_malloc expects arg 1 to be cxsize gets size_t:
sizeof(cx_tnode)
Types are incompatible. (Use -type to inhibit warning)
cxtree.c: (in function cx_tree_new)
cxtree.c:1229:29: Function cx_malloc expects arg 1 to be cxsize gets size_t:
sizeof(*tree)
cxtree.c:1230:51: Function cx_malloc expects arg 1 to be cxsize gets size_t:
sizeof(cx_tnode)
cxtree.c:195:1: File static function _cx_tnode_set_key declared but not used
A function is declared but not used. Use /*@unused@*/ in front of function
header to suppress message. (Use -fcnuse to inhibit warning)
cxtree.c:201:1: Definition of _cx_tnode_set_key

Finished checking --- 4 code warnings
Splint 3.1.1 --- 27 Mar 2007

cxutils.c: (in function cx_vasprintf)
cxutils.c:432:9: Unrecognized identifier: va_copy
Identifier used in code has not been declared. (Use -unrecog to inhibit
warning)
cxutils.c:448:49: Function cx_vsnprintf expects arg 2 to be cxsize gets int:
nc + 1
Types are incompatible. (Use -type to inhibit warning)
cxutils.c: (in function cx_line_alloc)
cxutils.c:509:32: Function cx_calloc expects arg 1 to be cxsize gets cxlong: sz
cxutils.c:509:51: Function cx_calloc expects arg 2 to be cxsize gets size_t:
sizeof(cxchar)

Finished checking --- 4 code warnings
Splint 3.1.1 --- 27 Mar 2007

cxdeque.c: (in function _cx_deque_reserve_at_front)
cxdeque.c:90:71: Function cx_calloc expects arg 2 to be cxsize gets size_t:
sizeof(cxptr)
Types are incompatible. (Use -type to inhibit warning)
cxdeque.c: (in function _cx_deque_reserve_at_back)
cxdeque.c:121:71: Function cx_calloc expects arg 2 to be cxsize gets size_t:
sizeof(cxptr)
cxdeque.c: (in function _cx_deque_init)
cxdeque.c:307:77: Function cx_calloc expects arg 2 to be cxsize gets size_t:
sizeof(cxptr)
cxdeque.c: (in function cx_deque_new)
cxdeque.c:794:40: Function cx_malloc expects arg 1 to be cxsize gets size_t:
sizeof(*deque)
cxdeque.c:231:1: File static function _cx_deque_balance declared but not used
A function is declared but not used. Use /*@unused@*/ in front of function
header to suppress message. (Use -fcnuse to inhibit warning)
cxdeque.c:267:1: Definition of _cx_deque_balance
cxdeque.c:275:1: File static function _cx_deque_first declared but not used
cxdeque.c:278:1: Definition of _cx_deque_first
cxdeque.c:286:1: File static function _cx_deque_last declared but not used
cxdeque.c:289:1: Definition of _cx_deque_last

Finished checking --- 7 code warnings
Splint 3.1.1 --- 27 Mar 2007

cpl_xmemory.c: (in function cpl_xmemory_malloc_count)
cpl_xmemory.c:202:59: Unrecognized format code: %zu) returned NULL:\n
Format code in a format string is not valid. (Use -formatcode to inhibit
warning)
cpl_xmemory.c: (in function cpl_xmemory_calloc_count)
cpl_xmemory.c:248:59: Unrecognized format code: %zu, %zu) returned "
"NULL:\n
cpl_xmemory.c:248:64: Unrecognized format code: %zu) returned "
"NULL:\n
cpl_xmemory.c: (in function cpl_xmemory_realloc_count)
cpl_xmemory.c:286:68: Unrecognized format code: %zu bytes on "
"unallocated pointer (%p)\n
cpl_xmemory.c:298:72: Unrecognized format code: %zu) "
"returned NULL:\n
cpl_xmemory.c: (in function cpl_xmemory_realloc)
cpl_xmemory.c:457:72: Unrecognized format code: %zu bytes"
" requested on unallocated pointer
(%p)\n
cpl_xmemory.c:465:72: Unrecognized format code: %zu bytes"
" requested on unallocated pointer
(%p)\n
cpl_xmemory.c: (in function cpl_xmemory_status)
cpl_xmemory.c:597:57: Unrecognized format code: %zu\n"
"Peak memory allocation [B]: %zu\n"
"Peak table size [pointer]: %zu\n"
"Peak table size [B]: %zu\n
cpl_xmemory.c:597:119: Unrecognized format code: %zu\n"
"Peak table size [pointer]: %zu\n"
"Peak table size [B]: %zu\n
cpl_xmemory.c:597:181: Unrecognized format code: %zu\n"
"Peak table size [B]:
%zu\n
cpl_xmemory.c:597:243: Unrecognized format code: %zu\n
cpl_xmemory.c:606:94: Unrecognized format code: %zu\n
cpl_xmemory.c:616:61: Unrecognized format code: %zu\n
cpl_xmemory.c:626:57: Unrecognized format code: %zu\n"
"Current table size [pointer]: %zu\n"
"Current table size [B]: %zu\n
cpl_xmemory.c:626:119: Unrecognized format code: %zu\n"
"Current table size [B]:
%zu\n
cpl_xmemory.c:626:181: Unrecognized format code: %zu\n
cpl_xmemory.c:641:62: Unrecognized format code: %zu bytes\n
cpl_xmemory.c:648:42: Unrecognized format code: %zu\n
cpl_xmemory.c:649:42: Unrecognized format code: %zu\n
cpl_xmemory.c:650:42: Unrecognized format code: %zu\n
cpl_xmemory.c: (in function cpl_xmemory_init_alloc)
cpl_xmemory.c:759:113: Unrecognized format code: %zu:\n
cpl_xmemory.c: (in function cpl_xmemory_resize)
cpl_xmemory.c:801:106: Unrecognized format code: %zu < %zu:\n
cpl_xmemory.c:801:112: Unrecognized format code: %zu:\n

Finished checking --- 23 code warnings
11 files out of 66 had warnings