>>>>>>>
>>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=IRanges.buildbin-libdir IRanges_1.18.0.tar.gz'
>>>>>>>
* installing *source* package 'IRanges' ...
** libs
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c AEbufs.c -o AEbufs.o
AEbufs.c:73:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
return (void *) R_alloc(buflength, size);
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
AEbufs.c:73:37: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
return (void *) R_alloc(buflength, size);
˜˜˜˜˜˜˜ ^˜˜˜
AEbufs.c:88:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
new_elts = (void *) R_alloc(new_buflength, size);
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
AEbufs.c:88:45: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
new_elts = (void *) R_alloc(new_buflength, size);
˜˜˜˜˜˜˜ ^˜˜˜
AEbufs.c:246:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(dest, newvals, nnewval * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
AEbufs.c:246:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(dest, newvals, nnewval * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
AEbufs.c:334:46: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
_IntAE_set_nelt(int_ae, elt1 - int_ae->elts + 1);
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜
AEbufs.c:345:51: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans), int_ae->elts, sizeof(int) * nelt);
˜ ^˜˜˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
AEbufs.c:345:51: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans), int_ae->elts, sizeof(int) * nelt);
˜ ^˜˜˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
AEbufs.c:353:49: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(int_ae->elts, INTEGER(x), sizeof(int) * LENGTH(x));
˜ ^˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
AEbufs.c:353:49: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(int_ae->elts, INTEGER(x), sizeof(int) * LENGTH(x));
˜ ^˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
AEbufs.c:1042:24: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
char_ae = _new_CharAE(strlen(string));
˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
AEbufs.c:1077:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(dest, string, nnewval * sizeof(char));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
AEbufs.c:1077:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(dest, string, nnewval * sizeof(char));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
AEbufs.c:1071:12: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
nnewval = strlen(string);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
AEbufs.c:1113:49: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(RAW(ans), char_ae->elts, sizeof(char) * nelt);
˜ ^˜˜˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
AEbufs.c:1113:49: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(RAW(ans), char_ae->elts, sizeof(char) * nelt);
˜ ^˜˜˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
AEbufs.c:1274:25: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
CharAE_alloc(&char_ae, strlen(string));
˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
18 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c CompressedIRangesList_class.c -o CompressedIRangesList_class.o
CompressedIRangesList_class.c:102:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(INTEGER(ans), 0, 2 * ans_len * sizeof(int));
˜˜^˜˜˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:74:41: note: expanded from macro 'memset'
? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
^
CompressedIRangesList_class.c:102:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(INTEGER(ans), 0, 2 * ans_len * sizeof(int));
˜˜^˜˜˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:75:38: note: expanded from macro 'memset'
: __inline_memset_chk (dest, val, len))
^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c CompressedList_class.c -o CompressedList_class.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c DataFrame_class.c -o DataFrame_class.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c GappedRanges_class.c -o GappedRanges_class.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c Grouping_class.c -o Grouping_class.o
Grouping_class.c:151:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
sizeof(int) * LENGTH(x_low2high_elt));
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Grouping_class.c:151:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
sizeof(int) * LENGTH(x_low2high_elt));
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c Hits_class.c -o Hits_class.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c IRanges_class.c -o IRanges_class.o
IRanges_class.c:314:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
start_buf = (int *) R_alloc((long) x_length, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
IRanges_class.c:315:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
width_buf = (int *) R_alloc((long) x_length, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
IRanges_class.c:338:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_start), start_buf, sizeof(int) * ans_length);
˜ ^˜˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
IRanges_class.c:338:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_start), start_buf, sizeof(int) * ans_length);
˜ ^˜˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
IRanges_class.c:339:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_width), width_buf, sizeof(int) * ans_length);
˜ ^˜˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
IRanges_class.c:339:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_width), width_buf, sizeof(int) * ans_length);
˜ ^˜˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
IRanges_class.c:362:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
start_buf = (int *) R_alloc((long) buf_length, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
IRanges_class.c:363:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
width_buf = (int *) R_alloc((long) buf_length, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
IRanges_class.c:385:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_start), start_buf, sizeof(int) * ans_length);
˜ ^˜˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
IRanges_class.c:385:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_start), start_buf, sizeof(int) * ans_length);
˜ ^˜˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
IRanges_class.c:386:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_width), width_buf, sizeof(int) * ans_length);
˜ ^˜˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
IRanges_class.c:386:55: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_width), width_buf, sizeof(int) * ans_length);
˜ ^˜˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
12 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c IRanges_constructor.c -o IRanges_constructor.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c IntervalTree.c -o IntervalTree.o
IntervalTree.c:101:51: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
_IntegerIntervalTree_add(tree, start, end, i+1);
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ˜^˜
IntervalTree.c:142:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(INTEGER(result_inds), 0, LENGTH(result_inds) * sizeof(int));
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:74:41: note: expanded from macro 'memset'
? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
^
IntervalTree.c:142:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(INTEGER(result_inds), 0, LENGTH(result_inds) * sizeof(int));
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:75:38: note: expanded from macro 'memset'
: __inline_memset_chk (dest, val, len))
^
IntervalTree.c:223:57: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
*r_elt = ((IntegerIntervalNode *)interval)->index;
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜
IntervalTree.c:139:14: warning: variable 'result_inds' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
} else if (find_type == FIND_ARBITRARY) {
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
IntervalTree.c:142:18: note: uninitialized use occurs here
memset(INTEGER(result_inds), 0, LENGTH(result_inds) * sizeof(int));
^˜˜˜˜˜˜˜˜˜˜
/usr/include/secure/_string.h:75:27: note: expanded from macro 'memset'
: __inline_memset_chk (dest, val, len))
^
IntervalTree.c:139:10: note: remove the 'if' if its condition is always true
} else if (find_type == FIND_ARBITRARY) {
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
IntervalTree.c:131:19: note: initialize the variable 'result_inds' to silence this warning
SEXP result_inds;
^
= NULL
IntervalTree.c:323:53: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
index = ((IntegerIntervalNode *)result->val)->index;
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜
IntervalTree.c:364:53: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
index = ((IntegerIntervalNode *)result->val)->index;
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜
IntervalTree.c:394:38: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
int *r_query_col = (int *) R_alloc((long) nhits, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜
IntervalTree.c:405:40: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
int *r_subject_col = (int *) R_alloc((long) nhits, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜
IntervalTree.c:408:52: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
*r_elt = ((IntegerIntervalNode *)result->val)->index;
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜
IntervalTree.c:410:30: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
int *row = (int *) R_alloc((long) nhits, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜
11 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c Ocopy_byteblocks.c -o Ocopy_byteblocks.o
Ocopy_byteblocks.c:57:10: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
i1max = i2next - dest_nblocks;
^˜˜˜˜˜ ˜
Ocopy_byteblocks.c:58:12: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
b = src + i1 * blocksize;
^˜ ˜
Ocopy_byteblocks.c:68:19: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(dest, b, q * blocksize);
^ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Ocopy_byteblocks.c:68:19: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(dest, b, q * blocksize);
^ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Ocopy_byteblocks.c:57:17: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
i1max = i2next - dest_nblocks;
˜ ˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜
Ocopy_byteblocks.c:106:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
b = src + sub_k * blocksize;
^˜˜˜˜ ˜
Ocopy_byteblocks.c:141:10: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
i1max = i2next - src_nblocks;
^˜˜˜˜˜ ˜
Ocopy_byteblocks.c:142:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
a = dest + i1 * blocksize;
^˜ ˜
Ocopy_byteblocks.c:152:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(a, src, q * blocksize);
^ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Ocopy_byteblocks.c:152:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(a, src, q * blocksize);
^ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Ocopy_byteblocks.c:141:17: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
i1max = i2next - src_nblocks;
˜ ˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜
Ocopy_byteblocks.c:190:14: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
a = dest + sub_k * blocksize;
^˜˜˜˜ ˜
Ocopy_byteblocks.c:238:14: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
src_elt = tmp;
˜ ^˜˜
Ocopy_byteblocks.c:285:14: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
src_elt = tmp;
˜ ^˜˜
Ocopy_byteblocks.c:330:14: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
src_elt = tmp;
˜ ^˜˜
Ocopy_byteblocks.c:376:14: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
src_elt = tmp;
˜ ^˜˜
Ocopy_byteblocks.c:410:12: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
b = src + i1 * blocksize;
^˜ ˜
Ocopy_byteblocks.c:415:14: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
a = dest + j * blocksize;
^ ˜
Ocopy_byteblocks.c:411:32: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
for (i = i1, j = dest_nblocks - 1; i <= i2; i++, j--) {
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜
Ocopy_byteblocks.c:413:21: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
j = dest_nblocks - 1;
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜
Ocopy_byteblocks.c:464:14: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
src_elt = tmp;
˜ ^˜˜
21 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c R_init_IRanges.c -o R_init_IRanges.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c RangedData_class.c -o RangedData_class.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c Ranges_comparison.c -o Ranges_comparison.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c RleViews_utils.c -o RleViews_utils.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c Rle_class.c -o Rle_class.o
Rle_class.c:207:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_values = (int *) R_alloc(buflength, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
Rle_class.c:208:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_lengths = (int *) R_alloc(buflength, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
Rle_class.c:219:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(LOGICAL(ans_values), buf_values, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Rle_class.c:219:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(LOGICAL(ans_values), buf_values, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Rle_class.c:220:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_lengths), buf_lengths, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Rle_class.c:220:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_lengths), buf_lengths, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Rle_class.c:241:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_values = (int *) R_alloc(buflength, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
Rle_class.c:242:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_lengths = (int *) R_alloc(buflength, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
Rle_class.c:253:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_values), buf_values, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Rle_class.c:253:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_values), buf_values, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Rle_class.c:254:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_lengths), buf_lengths, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Rle_class.c:254:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_lengths), buf_lengths, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Rle_class.c:275:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_values = (double *) R_alloc(buflength, sizeof(double));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
Rle_class.c:276:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_lengths = (int *) R_alloc(buflength, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
Rle_class.c:287:40: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(REAL(ans_values), buf_values, nrun * sizeof(double));
^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Rle_class.c:287:40: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(REAL(ans_values), buf_values, nrun * sizeof(double));
^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Rle_class.c:288:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_lengths), buf_lengths, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Rle_class.c:288:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_lengths), buf_lengths, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Rle_class.c:309:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_values = (Rcomplex *) R_alloc(buflength, sizeof(Rcomplex));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
Rle_class.c:310:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_lengths = (int *) R_alloc(buflength, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
Rle_class.c:322:10: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
nrun * sizeof(Rcomplex));
^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Rle_class.c:322:10: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
nrun * sizeof(Rcomplex));
^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Rle_class.c:323:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_lengths), buf_lengths, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Rle_class.c:323:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_lengths), buf_lengths, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Rle_class.c:345:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_lengths = (int *) R_alloc(buflength, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
Rle_class.c:358:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_lengths), buf_lengths, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Rle_class.c:358:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_lengths), buf_lengths, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Rle_class.c:379:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_values = (Rbyte *) R_alloc(buflength, sizeof(Rbyte));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
Rle_class.c:380:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_lengths = (int *) R_alloc(buflength, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
Rle_class.c:391:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(RAW(ans_values), buf_values, nrun * sizeof(Rbyte));
^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Rle_class.c:391:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(RAW(ans_values), buf_values, nrun * sizeof(Rbyte));
^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Rle_class.c:392:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_lengths), buf_lengths, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Rle_class.c:392:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans_lengths), buf_lengths, nrun * sizeof(int));
^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Rle_class.c:439:22: warning: implicit conversion changes signedness: 'int' to 'SEXPTYPE' (aka 'unsigned int') [-Wsign-conversion]
CHAR(type2str(TYPEOF(values))));
˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:395:25: note: expanded from macro 'CHAR'
#define CHAR(x) R_CHAR(x)
^
34 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c Rle_utils.c -o Rle_utils.o
Rle_utils.c:55:32: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_values = (int *) R_alloc((long) buf_len, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rle_utils.c:56:33: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_lengths = (int *) R_alloc((long) buf_len, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rle_utils.c:57:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(buf_lengths, 0, buf_len * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:74:41: note: expanded from macro 'memset'
? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
^
Rle_utils.c:57:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(buf_lengths, 0, buf_len * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:75:38: note: expanded from macro 'memset'
: __inline_memset_chk (dest, val, len))
^
Rle_utils.c:97:14: warning: | has lower precedence than ==; == will be evaluated first [-Wparentheses]
if (narm | stat_na == 0) {
^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rle_utils.c:97:14: note: place parentheses around the '==' expression to silence this warning
if (narm | stat_na == 0) {
^
( )
Rle_utils.c:97:14: note: place parentheses around the | expression to evaluate it first
if (narm | stat_na == 0) {
^
( )
Rle_utils.c:226:35: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_values = (double *) R_alloc((long) buf_len, sizeof(double));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rle_utils.c:227:33: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_lengths = (int *) R_alloc((long) buf_len, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rle_utils.c:228:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(buf_lengths, 0, buf_len * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:74:41: note: expanded from macro 'memset'
? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
^
Rle_utils.c:228:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(buf_lengths, 0, buf_len * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:75:38: note: expanded from macro 'memset'
: __inline_memset_chk (dest, val, len))
^
Rle_utils.c:425:35: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_values = (double *) R_alloc((long) buf_len, sizeof(double));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rle_utils.c:426:33: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_lengths = (int *) R_alloc((long) buf_len, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rle_utils.c:427:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(buf_lengths, 0, buf_len * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:74:41: note: expanded from macro 'memset'
? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
^
Rle_utils.c:427:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(buf_lengths, 0, buf_len * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:75:38: note: expanded from macro 'memset'
: __inline_memset_chk (dest, val, len))
^
Rle_utils.c:461:14: warning: | has lower precedence than ==; == will be evaluated first [-Wparentheses]
if (narm | stat_na == 0) {
^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rle_utils.c:461:14: note: place parentheses around the '==' expression to silence this warning
if (narm | stat_na == 0) {
^
( )
Rle_utils.c:461:14: note: place parentheses around the | expression to evaluate it first
if (narm | stat_na == 0) {
^
( )
Rle_utils.c:556:35: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_values = (double *) R_alloc((long) buf_len, sizeof(double));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rle_utils.c:557:33: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_lengths = (int *) R_alloc((long) buf_len, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rle_utils.c:558:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(buf_lengths, 0, buf_len * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:74:41: note: expanded from macro 'memset'
? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
^
Rle_utils.c:558:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(buf_lengths, 0, buf_len * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:75:38: note: expanded from macro 'memset'
: __inline_memset_chk (dest, val, len))
^
Rle_utils.c:508:7: warning: unused variable 'm_length' [-Wunused-variable]
int *m_length;
^
Rle_utils.c:507:33: warning: unused variable 'm_offset' [-Wunused-variable]
int start_offset, curr_offset, m_offset;
^
Rle_utils.c:509:10: warning: unused variable 'm_value' [-Wunused-variable]
double *m_value;
^
Rle_utils.c:697:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
window = (int *) R_alloc(window_len, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜
Rle_utils.c:698:32: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_values = (int *) R_alloc((long) buf_len, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rle_utils.c:699:33: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_lengths = (int *) R_alloc((long) buf_len, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rle_utils.c:700:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(buf_lengths, 0, buf_len * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:74:41: note: expanded from macro 'memset'
? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
^
Rle_utils.c:700:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(buf_lengths, 0, buf_len * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:75:38: note: expanded from macro 'memset'
: __inline_memset_chk (dest, val, len))
^
Rle_utils.c:735:16: warning: implicit declaration of function 'roundingScale' is invalid in C99 [-Wimplicit-function-declaration]
q_index = roundingScale(window_len_na,
^
Rle_utils.c:821:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
window = (double *) R_alloc(window_len, sizeof(double));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜
Rle_utils.c:822:35: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_values = (double *) R_alloc((long) buf_len, sizeof(double));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rle_utils.c:823:33: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf_lengths = (int *) R_alloc((long) buf_len, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
Rle_utils.c:824:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(buf_lengths, 0, buf_len * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:74:41: note: expanded from macro 'memset'
? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
^
Rle_utils.c:824:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(buf_lengths, 0, buf_len * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:75:38: note: expanded from macro 'memset'
: __inline_memset_chk (dest, val, len))
^
32 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c SEXP_utils.c -o SEXP_utils.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c SharedDouble_class.c -o SharedDouble_class.o
SharedDouble_class.c:79:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) REAL(ans), LENGTH(ans),
^˜˜˜˜˜˜˜˜˜˜
SharedDouble_class.c:80:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) REAL(src_tag), LENGTH(src_tag), sizeof(double));
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
SharedDouble_class.c:94:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) REAL(ans), n,
^
SharedDouble_class.c:95:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) REAL(src_tag), LENGTH(src_tag), sizeof(double));
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
SharedDouble_class.c:112:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) REAL(dest_tag), LENGTH(dest_tag),
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
SharedDouble_class.c:113:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) REAL(val), LENGTH(val), sizeof(double));
^˜˜˜˜˜˜˜˜˜˜
SharedDouble_class.c:123:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) REAL(dest_tag), LENGTH(dest_tag),
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
SharedDouble_class.c:124:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) REAL(val), LENGTH(val), sizeof(double));
^˜˜˜˜˜˜˜˜˜˜
8 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c SharedInteger_class.c -o SharedInteger_class.o
SharedInteger_class.c:78:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) INTEGER(tag), LENGTH(tag),
^˜˜˜˜˜˜˜˜˜˜
SharedInteger_class.c:79:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) INTEGER(src_tag), LENGTH(src_tag), sizeof(int));
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
SharedInteger_class.c:93:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) INTEGER(tag), n,
^
SharedInteger_class.c:94:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) INTEGER(src_tag), LENGTH(src_tag), sizeof(int));
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
SharedInteger_class.c:111:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) INTEGER(dest_tag), LENGTH(dest_tag),
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
SharedInteger_class.c:112:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) INTEGER(val), LENGTH(val), sizeof(int));
^˜˜˜˜˜˜˜˜˜˜
SharedInteger_class.c:122:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) INTEGER(dest_tag), LENGTH(dest_tag),
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
SharedInteger_class.c:123:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) INTEGER(val), LENGTH(val), sizeof(int));
^˜˜˜˜˜˜˜˜˜˜
8 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c SharedRaw_class.c -o SharedRaw_class.o
SharedRaw_class.c:75:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
dest.elts, n, (char *) RAW(src_tag), LENGTH(src_tag),
^
SharedRaw_class.c:75:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
dest.elts, n, (char *) RAW(src_tag), LENGTH(src_tag),
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
SharedRaw_class.c:92:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
dest.elts, n, (char *) RAW(src_tag), LENGTH(src_tag),
^
SharedRaw_class.c:92:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
dest.elts, n, (char *) RAW(src_tag), LENGTH(src_tag),
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
SharedRaw_class.c:111:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) RAW(dest_tag), LENGTH(dest_tag),
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
SharedRaw_class.c:112:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
CHAR(src), LENGTH(src), sizeof(char));
^˜˜˜˜˜˜˜˜˜˜
SharedRaw_class.c:124:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) RAW(dest_tag), LENGTH(dest_tag),
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
SharedRaw_class.c:125:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
CHAR(src), LENGTH(src), sizeof(char));
^˜˜˜˜˜˜˜˜˜˜
SharedRaw_class.c:214:23: warning: implicit conversion changes signedness: 'char' to 'Rbyte' (aka 'unsigned char') [-Wsign-conversion]
RAW(dest_tag)[i1] = (char) v;
˜ ^˜˜˜˜˜˜˜
SharedRaw_class.c:246:22: warning: implicit conversion changes signedness: 'char' to 'Rbyte' (aka 'unsigned char') [-Wsign-conversion]
RAW(dest_tag)[i] = (char) v;
˜ ^˜˜˜˜˜˜˜
10 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c SharedVector_class.c -o SharedVector_class.o
SharedVector_class.c:54:31: warning: implicit conversion changes signedness: 'int' to 'SEXPTYPE' (aka 'unsigned int') [-Wsign-conversion]
return ScalarString(type2str(TYPEOF(R_ExternalPtrTag(x))));
˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
SharedVector_class.c:79:19: warning: implicit conversion changes signedness: 'int' to 'SEXPTYPE' (aka 'unsigned int') [-Wsign-conversion]
CHAR(type2str(TYPEOF(s))));
˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:395:25: note: expanded from macro 'CHAR'
#define CHAR(x) R_CHAR(x)
^
SharedVector_class.c:83:19: warning: implicit conversion changes signedness: 'int' to 'SEXPTYPE' (aka 'unsigned int') [-Wsign-conversion]
CHAR(type2str(TYPEOF(s))));
˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:395:25: note: expanded from macro 'CHAR'
#define CHAR(x) R_CHAR(x)
^
SharedVector_class.c:197:47: warning: implicit conversion changes signedness: 'int' to 'SEXPTYPE' (aka 'unsigned int') [-Wsign-conversion]
"%s: invalid tag type", CHAR(type2str(TYPEOF(tag))));
˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:395:25: note: expanded from macro 'CHAR'
#define CHAR(x) R_CHAR(x)
^
4 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c SimpleList_class.c -o SimpleList_class.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c SimpleRangesList_class.c -o SimpleRangesList_class.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c Vector_class.c -o Vector_class.o
Vector_class.c:66:28: warning: implicit conversion changes signedness: 'int' to 'SEXPTYPE' (aka 'unsigned int') [-Wsign-conversion]
PROTECT(ans = allocVector(TYPEOF(x), ans_len));
˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:547:31: note: expanded from macro 'PROTECT'
#define PROTECT(s) Rf_protect(s)
^
Vector_class.c:106:28: warning: implicit conversion changes signedness: 'int' to 'SEXPTYPE' (aka 'unsigned int') [-Wsign-conversion]
PROTECT(ans = allocVector(TYPEOF(x), ans_offset));
˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:547:31: note: expanded from macro 'PROTECT'
#define PROTECT(s) Rf_protect(s)
^
Vector_class.c:114:54: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans) + ans_offset, INTEGER(x) + s, w * sizeof(int));
^ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Vector_class.c:114:54: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(INTEGER(ans) + ans_offset, INTEGER(x) + s, w * sizeof(int));
^ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Vector_class.c:117:48: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(REAL(ans) + ans_offset, REAL(x) + s, w * sizeof(double));
^ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Vector_class.c:117:48: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(REAL(ans) + ans_offset, REAL(x) + s, w * sizeof(double));
^ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Vector_class.c:120:54: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(COMPLEX(ans) + ans_offset, COMPLEX(x) + s, w * sizeof(Rcomplex));
^ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Vector_class.c:120:54: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(COMPLEX(ans) + ans_offset, COMPLEX(x) + s, w * sizeof(Rcomplex));
^ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Vector_class.c:131:46: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(RAW(ans) + ans_offset, RAW(x) + s, w * sizeof(char));
^ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
Vector_class.c:131:46: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(RAW(ans) + ans_offset, RAW(x) + s, w * sizeof(char));
^ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
Vector_class.c:136:24: warning: implicit conversion changes signedness: 'int' to 'SEXPTYPE' (aka 'unsigned int') [-Wsign-conversion]
CHAR(type2str(TYPEOF(x))));
˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:395:25: note: expanded from macro 'CHAR'
#define CHAR(x) R_CHAR(x)
^
11 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c XDoubleViews_utils.c -o XDoubleViews_utils.o
XDoubleViews_utils.c:308:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
*ans_elt = S_view.seq - S.seq + which_min;
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
1 warning generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c XIntegerViews_utils.c -o XIntegerViews_utils.o
XIntegerViews_utils.c:278:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
*ans_elt = S_view.seq - S.seq + which_min;
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜
1 warning generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c XRawList_comparison.c -o XRawList_comparison.o
XRawList_comparison.c:19:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
ret = memcmp(x1->seq, x2->seq, n);
˜˜˜˜˜˜ ^
XRawList_comparison.c:31:38: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
memcmp(x1->seq, x2->seq, x1->length) == 0;
˜˜˜˜˜˜ ˜˜˜˜^˜˜˜˜˜
XRawList_comparison.c:141:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort(out, nelt, sizeof(int), compar);
˜˜˜˜˜ ^˜˜˜
XRawList_comparison.c:234:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
oo = (int *) R_alloc(ans_length, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜
XRawList_comparison.c:290:20: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
bucket_idx = hval & htab->Mminus1;
˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
5 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c XVectorList_class.c -o XVectorList_class.o
XVectorList_class.c:484:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) dest.seq, dest.length,
˜˜˜˜˜^˜˜˜˜˜
XVectorList_class.c:485:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(const char *) src->elts, _IntAE_get_nelt(src),
^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c XVector_class.c -o XVector_class.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c anyMissing.c -o anyMissing.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c common.c -o common.o
common.c:26:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
char *d = needMem(copySize+1);
˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜^˜
common.c:36:27: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
return cloneStringZExt(s, strlen(s), size);
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
common.c:45:8: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
size = strlen(s);
˜ ^˜˜˜˜˜˜˜˜
common.c:342:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
array = needLargeMem(count * sizeof(*array));
^˜˜˜˜ ˜
common.c:345:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort(array, count, sizeof(array[0]), compare);
˜˜˜˜˜ ^˜˜˜˜
common.c:458:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort(array, count, sizeof(array[0]), doubleCmp);
˜˜˜˜˜ ^˜˜˜˜
common.c:508:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
AllocArray(array,count);
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜
./common.h:239:70: note: expanded from macro 'AllocArray'
#define AllocArray(pt, size) (pt = needLargeZeroedMem(sizeof(*pt) * (size)))
^
common.c:534:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort(array, count, sizeof(array[0]), intCmp);
˜˜˜˜˜ ^˜˜˜˜
common.c:548:46: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion]
median = (array[count] + array[count-1]) * 0.5;
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜
common.c:561:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
sn = needMem(sizeof(*sn)+len);
˜^˜˜
common.c:560:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int len = strlen(name);
˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜
common.c:575:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
struct slName *sn = needMem(sizeof(*sn) + size);
˜ ^˜˜˜
common.c:702:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
el = slNameNewN(s, e-s);
˜˜˜˜˜˜˜˜˜˜ ˜^˜
common.c:750:15: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
AllocArray(s, len);
˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜
./common.h:239:70: note: expanded from macro 'AllocArray'
#define AllocArray(pt, size) (pt = needLargeZeroedMem(sizeof(*pt) * (size)))
^
common.c:927:10: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
c1 = toupper(*s1++);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
common.c:928:10: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
c2 = toupper(*s2++);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
common.c:974:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int len = strlen(firstWord);
˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
common.c:990:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (memcmp(needle, pos, nSize) == 0)
˜˜˜˜˜˜ ^˜˜˜˜
common.c:986:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int nSize = strlen(needle);
˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
common.c:1009:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
pos = cloneMem(pos, len + 1);
˜˜˜˜˜˜˜˜ ˜˜˜˜^˜˜
common.c:1008:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
len = p - pos;
˜ ˜˜^˜˜˜˜
common.c:1021:8: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
sLen = strlen(string);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
common.c:1022:8: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
eLen = strlen(end);
˜ ^˜˜˜˜˜˜˜˜˜˜
common.c:1046:54: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (*haystack++ == c && memcmp(needle, haystack, nLen) == 0)
˜˜˜˜˜˜ ^˜˜˜
common.c:1059:12: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
s[i] = toupper(s[i]);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
common.c:1067:12: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
s[i] = tolower(s[i]);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
common.c:1079:13: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
c = tolower(c);
˜ ^˜˜˜˜˜˜˜˜˜
common.c:1081:13: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
c = toupper(c);
˜ ^˜˜˜˜˜˜˜˜˜
common.c:1094:12: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
*s++ = toupper(c);
˜ ^˜˜˜˜˜˜˜˜˜
common.c:1119:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
strLen = max(strlen(string) + (numTimes * (newLen - oldLen)), strlen(string));
˜ ˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
./common.h:927:21: note: expanded from macro 'max'
#define max(a,b) ( (a) > (b) ? (a) : (b) )
^
common.c:1119:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
strLen = max(strlen(string) + (numTimes * (newLen - oldLen)), strlen(string));
˜ ˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
./common.h:927:33: note: expanded from macro 'max'
#define max(a,b) ( (a) > (b) ? (a) : (b) )
^
common.c:1120:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
result = needMem(strLen + 1);
˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜^˜˜
common.c:1106:14: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int oldLen = strlen(old);
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
common.c:1107:14: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int newLen = strlen(new);
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
common.c:1119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
strLen = max(strlen(string) + (numTimes * (newLen - oldLen)), strlen(string));
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
./common.h:927:33: note: expanded from macro 'max'
#define max(a,b) ( (a) > (b) ? (a) : (b) )
^
common.c:1119:63: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
strLen = max(strlen(string) + (numTimes * (newLen - oldLen)), strlen(string));
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
./common.h:927:39: note: expanded from macro 'max'
#define max(a,b) ( (a) > (b) ? (a) : (b) )
^
common.c:1126:18: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
strLen = ptr - string;
˜ ˜˜˜˜^˜˜˜˜˜˜˜
common.c:1147:12: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
*s++ = tolower(c);
˜ ^˜˜˜˜˜˜˜˜˜
common.c:1198:17: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int stripSize = strlen(strip);
˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
common.c:1406:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int len = strlen(s);
˜˜˜ ^˜˜˜˜˜˜˜˜
common.c:1630:8: warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wconversion]
bLen = len;
˜ ^˜˜
common.c:1632:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
mustWrite(f, s, len);
˜˜˜˜˜˜˜˜˜ ^˜˜
common.c:1623:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int len = strlen(s);
˜˜˜ ^˜˜˜˜˜˜˜˜
common.c:1646:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
s = needMem(len+1);
˜˜˜˜˜˜˜ ˜˜˜^˜
common.c:1648:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
mustRead(f, s, len);
˜˜˜˜˜˜˜˜ ^˜˜
common.c:1671:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
mustRead(f, buf, len);
˜˜˜˜˜˜˜˜ ^˜˜
common.c:1711:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
ret = needMem(sizeof(char)*size);
˜^˜˜˜
common.c:1710:42: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int size = strlen(head) + strlen(suffix) +1;
˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜
common.c:1876:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
char* buf = needMem(bufCapacity);
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
common.c:1887:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
buf = realloc(buf, bufCapacity);
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
common.c:1893:22: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
buf[bufSize++] = ch;
˜ ^˜
common.c:1953:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
haystackCopy = (char*) needMem(haystackLen + 1);
˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜˜˜^˜˜
common.c:1954:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
needleCopy = (char*) needMem(needleLen + 1);
˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜^˜˜
common.c:1958:27: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
haystackCopy[index] = tolower(haystack[index]);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
common.c:1964:25: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
needleCopy[index] = tolower(needle[index]);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
common.c:1950:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
haystackLen = strlen(haystack);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
common.c:1951:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
needleLen = strlen(needle);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
common.c:2150:39: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
return cloneStringZ(s,skipToNumeric(s)-s);
˜˜˜˜˜˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜
common.c:2201:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
return b - a;
˜˜˜˜˜˜ ˜˜^˜˜
common.c:2217:12: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
return b - a;
˜˜˜˜˜˜ ˜˜^˜˜
60 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c compact_bitvector.c -o compact_bitvector.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c coverage_methods.c -o coverage_methods.o
coverage_methods.c:93:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort(SEids, SEids_len, sizeof(int), compar_SEids_for_asc_order);
˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
coverage_methods.c:171:35: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
SEids = (int *) R_alloc((long) 2 * x_len, sizeof(int));
˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜
coverage_methods.c:181:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
values_buf = (int *) R_alloc((long) buf_len, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
coverage_methods.c:182:32: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
lengths_buf = (int *) R_alloc((long) buf_len, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
coverage_methods.c:196:35: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
SEids = (int *) R_alloc((long) 2 * x_len, sizeof(int));
˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜
coverage_methods.c:206:34: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
values_buf = (double *) R_alloc((long) buf_len, sizeof(double));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
coverage_methods.c:207:32: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
lengths_buf = (int *) R_alloc((long) buf_len, sizeof(int));
˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
coverage_methods.c:226:43: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
cvg_buf = (int *) R_alloc((long) ans_len + 1, sizeof(int));
˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜
coverage_methods.c:227:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(cvg_buf, 0, ans_len * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:74:41: note: expanded from macro 'memset'
? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
^
coverage_methods.c:227:21: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(cvg_buf, 0, ans_len * sizeof(int));
^˜˜˜˜˜˜ ˜
/usr/include/secure/_string.h:75:38: note: expanded from macro 'memset'
: __inline_memset_chk (dest, val, len))
^
coverage_methods.c:257:46: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
cvg_buf = (double *) R_alloc((long) ans_len + 1, sizeof(double));
˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜
11 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c dlist.c -o dlist.o
dlist.c:228:44: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
struct dlSorter *sorter = needLargeMem(len * sizeof(sorter[0])), *s;
^˜˜ ˜
dlist.c:238:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort(sorter, len, sizeof(sorter[0]), dlNodeCmp);
˜˜˜˜˜ ^˜˜
2 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c encodeOverlaps_methods.c -o encodeOverlaps_methods.o
encodeOverlaps_methods.c:63:13: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
return 'g' + code;
˜˜˜˜˜˜ ˜˜˜˜^˜˜˜˜˜
1 warning generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c errabort.c -o errabort.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c hash_utils.c -o hash_utils.o
hash_utils.c:24:26: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
htab->Mminus1 = htab->M - 1;
˜ ˜˜˜˜˜˜˜˜^˜˜
1 warning generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c int_utils.c -o int_utils.o
int_utils.c:15:20: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
hval = 3951551U * a1 + 3951553U * b1;
˜ ^˜
int_utils.c:15:36: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
hval = 3951551U * a1 + 3951553U * b1;
˜ ^˜
int_utils.c:16:20: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
bucket_idx = hval & htab->Mminus1;
˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
int_utils.c:36:20: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
hval = 3951551U * a1 + 3951553U * b1 + 3951557U * c1 + 3951559U * d1;
˜ ^˜
int_utils.c:36:36: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
hval = 3951551U * a1 + 3951553U * b1 + 3951557U * c1 + 3951559U * d1;
˜ ^˜
int_utils.c:36:52: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
hval = 3951551U * a1 + 3951553U * b1 + 3951557U * c1 + 3951559U * d1;
˜ ^˜
int_utils.c:36:68: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
hval = 3951551U * a1 + 3951553U * b1 + 3951557U * c1 + 3951559U * d1;
˜ ^˜
int_utils.c:37:20: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
bucket_idx = hval & htab->Mminus1;
˜ ˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
int_utils.c:99:10: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
sum += *x;
˜˜ ^˜
int_utils.c:107:9: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
return sum;
˜˜˜˜˜˜ ^˜˜
int_utils.c:496:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(INTEGER(ans), 0, nbins0 * sizeof(int));
^˜˜˜˜˜ ˜
/usr/include/secure/_string.h:74:41: note: expanded from macro 'memset'
? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \
^
int_utils.c:496:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memset(INTEGER(ans), 0, nbins0 * sizeof(int));
^˜˜˜˜˜ ˜
/usr/include/secure/_string.h:75:38: note: expanded from macro 'memset'
: __inline_memset_chk (dest, val, len))
^
int_utils.c:486:31: warning: unused variable 'ans_elt' [-Wunused-variable]
i, j, x_elt, weight_elt, ans_elt;
^
int_utils.c:622:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(ans_ptr, x_ptr, (x_len - x_i) * sizeof(int));
˜˜˜˜˜˜^˜˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
int_utils.c:622:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(ans_ptr, x_ptr, (x_len - x_i) * sizeof(int));
˜˜˜˜˜˜^˜˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
int_utils.c:624:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(ans_ptr, y_ptr, (y_len - y_i) * sizeof(int));
˜˜˜˜˜˜^˜˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
int_utils.c:624:33: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(ans_ptr, y_ptr, (y_len - y_i) * sizeof(int));
˜˜˜˜˜˜^˜˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
17 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c inter_range_methods.c -o inter_range_methods.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c localmem.c -o localmem.o
localmem.c:60:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
lm->blockSize = blockSize;
˜ ^˜˜˜˜˜˜˜˜
localmem.c:61:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
lm->allignAdd = (aliSize-1);
˜ ˜˜˜˜˜˜˜^˜
localmem.c:63:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
newBlock(lm, blockSize);
˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
localmem.c:83:26: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t memLeft = mb->end - mb->free;
˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜
localmem.c:109:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
char *s = lmAlloc(lm, size);
˜˜˜˜˜˜˜ ^˜˜˜
localmem.c:108:30: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int size = strlen(string)+1;
˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜
localmem.c:120:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
n = lmAlloc(lm, size);
˜˜˜˜˜˜˜ ^˜˜˜
localmem.c:119:38: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int size = sizeof(*n) + strlen(name) + 1;
˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜
8 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c memalloc.c -o memalloc.o
memalloc.c:273:20: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
carefulAlignMask = ˜carefulAlignAdd;
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
memalloc.c:294:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
aliSize = ((size + sizeof(*cmb) + 4 + carefulAlignAdd)&carefulAlignMask);
˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜
memalloc.c:296:13: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
cmb->size = size;
˜ ^˜˜˜
memalloc.c:309:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size_t size = cmb->size;
˜˜˜˜ ˜˜˜˜˜^˜˜˜
memalloc.c:354:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
size = cmb->size;
˜ ˜˜˜˜˜^˜˜˜
memalloc.c:377:8: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'long' [-Wsign-conversion]
return carefulAlloced;
˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
6 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c rbTree.c -o rbTree.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c safe_arithm.c -o safe_arithm.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c sort_utils.c -o sort_utils.o
sort_utils.c:38:11: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort(x, nelt, sizeof(int), compar);
˜˜˜˜˜ ^˜˜˜
sort_utils.c:81:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort(out, nelt, sizeof(int), compar);
˜˜˜˜˜ ^˜˜˜
sort_utils.c:153:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort(out, nelt, sizeof(int), compar);
˜˜˜˜˜ ^˜˜˜
sort_utils.c:258:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
qsort(out, nelt, sizeof(int), compar);
˜˜˜˜˜ ^˜˜˜
4 warnings generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c str_utils.c -o str_utils.o
str_utils.c:154:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
utc_offset = result.tm_gmtoff / 3600;
˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜
1 warning generated.
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c ucsc_handlers.c -o ucsc_handlers.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -mtune=native -g -O2 -Wall -pedantic -Wconversion -c vector_copy.c -o vector_copy.o
vector_copy.c:48:48: warning: implicit conversion changes signedness: 'int' to 'SEXPTYPE' (aka 'unsigned int') [-Wsign-conversion]
"%s type not supported", CHAR(type2str(TYPEOF(x1))));
˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:395:25: note: expanded from macro 'CHAR'
#define CHAR(x) R_CHAR(x)
^
vector_copy.c:50:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
return s1 == s2 ? 0 : memcmp(s1, s2, nelt * eltsize);
^˜˜˜ ˜
vector_copy.c:119:48: warning: implicit conversion changes signedness: 'int' to 'SEXPTYPE' (aka 'unsigned int') [-Wsign-conversion]
"%s type not supported", CHAR(type2str(TYPEOF(out))));
˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:395:25: note: expanded from macro 'CHAR'
#define CHAR(x) R_CHAR(x)
^
vector_copy.c:122:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(dest, src, nelt * eltsize);
^˜˜˜ ˜
/usr/include/secure/_string.h:52:41: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
vector_copy.c:122:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(dest, src, nelt * eltsize);
^˜˜˜ ˜
/usr/include/secure/_string.h:53:38: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
vector_copy.c:215:48: warning: implicit conversion changes signedness: 'int' to 'SEXPTYPE' (aka 'unsigned int') [-Wsign-conversion]
"%s type not supported", CHAR(type2str(TYPEOF(out))));
˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:395:25: note: expanded from macro 'CHAR'
#define CHAR(x) R_CHAR(x)
^
vector_copy.c:218:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
Ocopy_byteblocks(i1, i2, dest, dest_nelt, src, src_nelt, blocksize);
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
vector_copy.c:218:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
Ocopy_byteblocks(i1, i2, dest, dest_nelt, src, src_nelt, blocksize);
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜
vector_copy.c:305:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) RAW(out), LENGTH(out),
^˜˜˜˜˜˜˜˜˜˜
vector_copy.c:306:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) RAW(in), LENGTH(in), sizeof(Rbyte));
^˜˜˜˜˜˜˜˜˜
vector_copy.c:318:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) INTEGER(out), LENGTH(out),
^˜˜˜˜˜˜˜˜˜˜
vector_copy.c:319:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) INTEGER(in), LENGTH(in), sizeof(int));
^˜˜˜˜˜˜˜˜˜
vector_copy.c:324:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) REAL(out), LENGTH(out),
^˜˜˜˜˜˜˜˜˜˜
vector_copy.c:325:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) REAL(in), LENGTH(in), sizeof(double));
^˜˜˜˜˜˜˜˜˜
vector_copy.c:330:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) COMPLEX(out), LENGTH(out),
^˜˜˜˜˜˜˜˜˜˜
vector_copy.c:331:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) COMPLEX(in), LENGTH(in), sizeof(Rcomplex));
^˜˜˜˜˜˜˜˜˜
vector_copy.c:335:48: warning: implicit conversion changes signedness: 'int' to 'SEXPTYPE' (aka 'unsigned int') [-Wsign-conversion]
"%s type not supported", CHAR(type2str(TYPEOF(out))));
˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:395:25: note: expanded from macro 'CHAR'
#define CHAR(x) R_CHAR(x)
^
vector_copy.c:354:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) RAW(out), LENGTH(out),
^˜˜˜˜˜˜˜˜˜˜
vector_copy.c:355:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) RAW(in), LENGTH(in), sizeof(Rbyte));
^˜˜˜˜˜˜˜˜˜
vector_copy.c:367:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) INTEGER(out), LENGTH(out),
^˜˜˜˜˜˜˜˜˜˜
vector_copy.c:368:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) INTEGER(in), LENGTH(in), sizeof(int));
^˜˜˜˜˜˜˜˜˜
vector_copy.c:373:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) REAL(out), LENGTH(out),
^˜˜˜˜˜˜˜˜˜˜
vector_copy.c:374:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) REAL(in), LENGTH(in), sizeof(double));
^˜˜˜˜˜˜˜˜˜
vector_copy.c:379:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) COMPLEX(out), LENGTH(out),
^˜˜˜˜˜˜˜˜˜˜
vector_copy.c:380:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
(char *) COMPLEX(in), LENGTH(in), sizeof(Rcomplex));
^˜˜˜˜˜˜˜˜˜
vector_copy.c:384:48: warning: implicit conversion changes signedness: 'int' to 'SEXPTYPE' (aka 'unsigned int') [-Wsign-conversion]
"%s type not supported", CHAR(type2str(TYPEOF(out))));
˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
/Library/Frameworks/R.framework/Resources/include/Rinternals.h:395:25: note: expanded from macro 'CHAR'
#define CHAR(x) R_CHAR(x)
^
26 warnings generated.
clang -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -L/usr/local/lib -o IRanges.so AEbufs.o CompressedIRangesList_class.o CompressedList_class.o DataFrame_class.o GappedRanges_class.o Grouping_class.o Hits_class.o IRanges_class.o IRanges_constructor.o IntervalTree.o Ocopy_byteblocks.o R_init_IRanges.o RangedData_class.o Ranges_comparison.o RleViews_utils.o Rle_class.o Rle_utils.o SEXP_utils.o SharedDouble_class.o SharedInteger_class.o SharedRaw_class.o SharedVector_class.o SimpleList_class.o SimpleRangesList_class.o Vector_class.o XDoubleViews_utils.o XIntegerViews_utils.o XRawList_comparison.o XVectorList_class.o XVector_class.o anyMissing.o common.o compact_bitvector.o coverage_methods.o dlist.o encodeOverlaps_methods.o errabort.o hash_utils.o int_utils.o inter_range_methods.o localmem.o memalloc.o rbTree.o safe_arithm.o sort_utils.o str_utils.o ucsc_handlers.o vector_copy.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Users/biocbuild/bbs-2.12-bioc/meat/IRanges.buildbin-libdir/IRanges/libs
** R
** inst
** preparing package for lazy loading
Creating a generic function for 'window' from package 'stats' in package 'IRanges'
Creating a generic function for 'window<-' from package 'stats' in package 'IRanges'
Creating a generic function for 'head' from package 'utils' in package 'IRanges'
Creating a generic function for 'tail' from package 'utils' in package 'IRanges'
Creating a generic function for 'rev' from package 'base' in package 'IRanges'
Creating a generic function for 'subset' from package 'base' in package 'IRanges'
Creating a generic function for '%in%' from package 'base' in package 'IRanges'
in method for 'coerce' with signature '"Vector","double"': no definition for class "double"
Creating a generic function for 'append' from package 'base' in package 'IRanges'
Creating a generic function for 'relist' from package 'utils' in package 'IRanges'
in method for 'relist' with signature '"ANY","PartitioningByEnd"': no definition for class "PartitioningByEnd"
in method for 'relist' with signature '"ANY","List"': no definition for class "List"
Creating a generic function for 'split' from package 'base' in package 'IRanges'
Creating a generic function for 'split<-' from package 'base' in package 'IRanges'
Creating a generic function for 'aggregate' from package 'stats' in package 'IRanges'
Creating a generic function for 'as.list' from package 'base' in package 'IRanges'
Creating a generic function for 'unsplit' from package 'base' in package 'IRanges'
Creating a generic function for 'stack' from package 'utils' in package 'IRanges'
Creating a generic function for 'with' from package 'base' in package 'IRanges'
Creating a generic function for 'within' from package 'base' in package 'IRanges'
Creating a generic function for 'start' from package 'stats' in package 'IRanges'
Creating a generic function for 'end' from package 'stats' in package 'IRanges'
Creating a generic function for 'as.matrix' from package 'base' in package 'IRanges'
Creating a generic function for 'na.omit' from package 'stats' in package 'IRanges'
Creating a generic function for 'na.exclude' from package 'stats' in package 'IRanges'
Creating a generic function for 'complete.cases' from package 'stats' in package 'IRanges'
Creating a generic function for 'merge' from package 'base' in package 'IRanges'
Creating a generic function for 'by' from package 'base' in package 'IRanges'
Creating a generic function for 'mean' from package 'base' in package 'IRanges'
Creating a generic function for 'which.max' from package 'base' in package 'IRanges'
Creating a generic function for 'which.min' from package 'base' in package 'IRanges'
Creating a generic function for 'as.vector' from package 'base' in package 'IRanges'
Creating a generic function for 'as.factor' from package 'base' in package 'IRanges'
Creating a generic function for 'is.unsorted' from package 'base' in package 'IRanges'
Creating a generic function for 'which' from package 'base' in package 'IRanges'
Creating a generic function for 'ifelse' from package 'base' in package 'IRanges'
Creating a generic function for 'diff' from package 'base' in package 'IRanges'
Creating a generic function for 'var' from package 'stats' in package 'IRanges'
Creating a generic function for 'cov' from package 'stats' in package 'IRanges'
Creating a generic function for 'cor' from package 'stats' in package 'IRanges'
Creating a generic function for 'sd' from package 'stats' in package 'IRanges'
Creating a generic function for 'median' from package 'stats' in package 'IRanges'
Creating a generic function for 'quantile' from package 'stats' in package 'IRanges'
Creating a generic function for 'mad' from package 'stats' in package 'IRanges'
Creating a generic function for 'IQR' from package 'stats' in package 'IRanges'
Creating a generic function for 'smoothEnds' from package 'stats' in package 'IRanges'
Creating a generic function for 'runmed' from package 'stats' in package 'IRanges'
Creating a generic function for 'nchar' from package 'base' in package 'IRanges'
Creating a generic function for 'substr' from package 'base' in package 'IRanges'
Creating a generic function for 'substring' from package 'base' in package 'IRanges'
Creating a generic function for 'chartr' from package 'base' in package 'IRanges'
Creating a generic function for 'tolower' from package 'base' in package 'IRanges'
Creating a generic function for 'toupper' from package 'base' in package 'IRanges'
Creating a generic function for 'sub' from package 'base' in package 'IRanges'
Creating a generic function for 'gsub' from package 'base' in package 'IRanges'
Creating a generic function for 'levels' from package 'base' in package 'IRanges'
Creating a generic function for 'drop' from package 'base' in package 'IRanges'
Creating a generic function for 'rownames<-' from package 'base' in package 'IRanges'
Creating a generic function for 'colnames<-' from package 'base' in package 'IRanges'
in method for 'coerce' with signature '"xtabs","DataFrame"': no definition for class "xtabs"
Creating a generic function for 'as.table' from package 'base' in package 'IRanges'
Creating a generic function for 't' from package 'base' in package 'IRanges'
Creating a generic function for 'toString' from package 'base' in package 'IRanges'
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (IRanges)
>>>>>>>
>>>>>>> FIXING LINKS FOR IRanges.buildbin-libdir/IRanges/libs//IRanges.so
>>>>>>>
install_name_tool -change "/usr/local/lib/libgcc_s.1.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libgcc_s.1.dylib" "IRanges.buildbin-libdir/IRanges/libs//IRanges.so"
install_name_tool -change "/usr/local/lib/libgfortran.2.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libgfortran.2.dylib" "IRanges.buildbin-libdir/IRanges/libs//IRanges.so"
install_name_tool -change "/usr/local/lib/libreadline.5.2.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libreadline.5.2.dylib" "IRanges.buildbin-libdir/IRanges/libs//IRanges.so"
install_name_tool -change "/usr/local/lib/libreadline.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libreadline.dylib" "IRanges.buildbin-libdir/IRanges/libs//IRanges.so"