Skip to content

Instantly share code, notes, and snippets.

@vjcitn
Created March 23, 2025 18:19
Show Gist options
  • Save vjcitn/66a058fd1034c0561d2bafb8fa52ebfc to your computer and use it in GitHub Desktop.
Save vjcitn/66a058fd1034c0561d2bafb8fa52ebfc to your computer and use it in GitHub Desktop.
log of making R 4.6 with specific cflags
This file has been truncated, but you can view the full file.
make[1]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/doc/manual'
creating RESOURCES
creating FAQ
creating doc/html/resources.html
make[1]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/doc/manual'
make[1]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/m4'
make[1]: Nothing to be done for 'R'.
make[1]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/m4'
make[1]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/tools'
make[1]: Nothing to be done for 'R'.
make[1]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/tools'
make[1]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/doc'
make[2]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/doc/html'
make[2]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/doc/html'
make[2]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/doc/manual'
make[2]: Nothing to be done for 'R'.
make[2]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/doc/manual'
make[1]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/doc'
make[1]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/etc'
make[1]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/etc'
make[1]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/share'
make[1]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/share'
make[1]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src'
make[2]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/scripts'
creating src/scripts/R.fe
make[3]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/scripts'
mkdir -p -- ../../bin
make[3]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/scripts'
make[2]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/scripts'
make[2]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/include'
mkdir -p -- ../../include
make[3]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/include/R_ext'
mkdir -p -- ../../../include/R_ext
make[3]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/include/R_ext'
make[2]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/include'
make[2]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/extra'
make[3]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/extra/blas'
make[3]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/extra/tre'
make[4]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/extra/blas'
gfortran -fpic -g -O2 -c blas.f -o blas.o
gfortran -fpic -g -O2 -c blas2.f90 -o blas2.o
make[4]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/extra/tre'
gfortran -fpic -g -O2 -c cmplxblas.f -o cmplxblas.o
making regcomp.d from regcomp.c
making regerror.d from regerror.c
making regexec.d from regexec.c
making tre-ast.d from tre-ast.c
gfortran -fpic -g -O2 -c cmplxblas2.f90 -o cmplxblas2.o
making tre-compile.d from tre-compile.c
making tre-match-approx.d from tre-match-approx.c
making tre-match-backtrack.d from tre-match-backtrack.c
making tre-match-parallel.d from tre-match-parallel.c
making tre-mem.d from tre-mem.c
making tre-parse.d from tre-parse.c
making tre-stack.d from tre-stack.c
make[4]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/extra/tre'
make[4]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/extra/tre'
gcc -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -c regcomp.c -o regcomp.o
gcc -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -c regerror.c -o regerror.o
regcomp.c: In function ‘tre_regncomp’:
regcomp.c:88:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
88 | wlen = wcptr - wregex;
| ^~~~~
gcc -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -c regexec.c -o regexec.o
In file included from regexec.c:53:
regexec.c: In function ‘tre_match’:
regexec.c:156:36: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
156 | tags = xmalloc(sizeof(*tags) * tnfa->num_tags);
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
regexec.c: In function ‘tre_match_approx’:
regexec.c:307:36: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
307 | tags = xmalloc(sizeof(*tags) * tnfa->num_tags);
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
gcc -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -c tre-ast.c -o tre-ast.o
tre-ast.c: In function ‘tre_ast_new_iter’:
tre-ast.c:67:19: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
67 | iter->minimal = minimal;
| ^~~~~~~
gcc -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -c tre-compile.c -o tre-compile.o
In file included from tre-compile.c:30:
tre-compile.c: In function ‘tre_add_tags’:
tre-compile.c:248:37: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
248 | int *p = xmalloc(sizeof(*p) * (i + 1));
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
gcc -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -c tre-match-approx.c -o tre-match-approx.o
In file included from tre-compile.c:24:
tre-compile.c: In function ‘tre_set_union’:
tre-compile.c:1104:50: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1104 | new_set = tre_mem_calloc(mem, sizeof(*new_set) * (s1 + s2 + 1));
| ^
tre-mem.h:45:71: note: in definition of macro ‘tre_mem_calloc’
45 | #define tre_mem_calloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 1, size)
| ^~~~
tre-compile.c:1123:7: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1123 | * (i + num_tags + 1)));
| ^
tre-mem.h:40:70: note: in definition of macro ‘tre_mem_alloc’
40 | #define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
| ^~~~
tre-compile.c:1167:52: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1167 | new_tags = tre_mem_alloc(mem, sizeof(*new_tags) * (i + 1));
| ^
tre-mem.h:40:70: note: in definition of macro ‘tre_mem_alloc’
40 | #define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
| ^~~~
tre-compile.c: In function ‘tre_match_empty’:
tre-compile.c:1254:18: warning: conversion from ‘long int’ to ‘int’ may change value [-Wconversion]
1254 | *assertions |= lit->code_max;
| ^~~
In file included from tre-compile.c:30:
tre-compile.c: In function ‘tre_compute_nfl’:
tre-compile.c:1473:32: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1473 | tags = xmalloc(sizeof(*tags) * (num_tags + 1));
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
tre-compile.c:1522:30: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1522 | tags = xmalloc(sizeof(int) * (num_tags + 1));
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
tre-compile.c: In function ‘tre_make_trans’:
tre-compile.c:1645:41: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1645 | xmalloc(sizeof(*trans->neg_classes) * (i + 1));
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
tre-compile.c:1673:46: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1673 | trans->tags = xmalloc(sizeof(*trans->tags) * (i + j + 1));
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
tre-compile.c: In function ‘tre_compile’:
tre-compile.c:1918:23: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion]
1918 | parse_ctx.cur_max = (cflags & REG_USEBYTES) ? 1 : TRE_MB_CUR_MAX;
| ^
tre-compile.c:1923:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1923 | preg->re_nsub = parse_ctx.submatch_id - 1;
| ^~~~~~~~~
tre-compile.c:1945:26: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1945 | tnfa->num_submatches = parse_ctx.submatch_id;
| ^~~~~~~~~
In file included from tre-compile.c:30:
tre-compile.c:1964:8: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1964 | * (tnfa->num_tags + 1));
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
tre-compile.c:1969:28: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1969 | sizeof(*tag_directions) * (tnfa->num_tags + 1));
| ^
In file included from tre-compile.c:30:
tre-compile.c:2025:32: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2025 | counts = xmalloc(sizeof(int) * parse_ctx.position);
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
tre-compile.c:2029:30: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2029 | offs = xmalloc(sizeof(int) * parse_ctx.position);
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
tre-compile.c:2048:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2048 | tnfa->num_transitions = add;
| ^~~
tre-compile.c:2089:22: warning: conversion to ‘int’ from ‘tre_cint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
2089 | tnfa->first_char = k;
| ^
In file included from tre-compile.c:30:
tre-compile.c:2155:47: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2155 | initial[i].tags = xmalloc(sizeof(*p->tags) * (j + 1));
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
tre-compile.c:2158:54: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2158 | memcpy(initial[i].tags, p->tags, sizeof(*p->tags) * (j + 1));
| ^
tre-compile.c:2174:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2174 | tnfa->num_transitions = add;
| ^~~
tre-match-approx.c: In function ‘tre_tnfa_run_approx’:
tre-match-approx.c:275:39: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
275 | int tag_bytes = sizeof(*tmp_tags) * num_tags;
| ^
tre-match-approx.c:275:21: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
275 | int tag_bytes = sizeof(*tmp_tags) * num_tags;
| ^~~~~~
tre-match-approx.c:277:43: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
277 | int reach_bytes = sizeof(*reach_next) * tnfa->num_states;
| ^
tre-match-approx.c:277:23: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
277 | int reach_bytes = sizeof(*reach_next) * tnfa->num_states;
| ^~~~~~
tre-match-approx.c:282:17: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
282 | total_bytes += (sizeof(long) - 1) * 3;
| ^~
tre-match-approx.c:282:20: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
282 | total_bytes += (sizeof(long) - 1) * 3;
| ^
In file included from tre-match-approx.c:54:
tre-match-utils.h:38:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
38 | pos += pos_add_next; \
| ^~
tre-match-approx.c:328:3: note: in expansion of macro ‘GET_NEXT_WCHAR’
328 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:38:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
38 | pos += pos_add_next; \
| ^~~~~~~~~~~~
tre-match-approx.c:328:3: note: in expansion of macro ‘GET_NEXT_WCHAR’
328 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:75:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
75 | pos += pos_add_next; \
| ^~
tre-match-approx.c:328:3: note: in expansion of macro ‘GET_NEXT_WCHAR’
328 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:75:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
75 | pos += pos_add_next; \
| ^~~~~~~~~~~~
tre-match-approx.c:328:3: note: in expansion of macro ‘GET_NEXT_WCHAR’
328 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:151:25: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
151 | && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:349:30: note: in expansion of macro ‘CHECK_ASSERTIONS’
349 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:151:50: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
151 | && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:349:30: note: in expansion of macro ‘CHECK_ASSERTIONS’
349 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:153:26: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
153 | && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:349:30: note: in expansion of macro ‘CHECK_ASSERTIONS’
349 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:153:50: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
153 | && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:349:30: note: in expansion of macro ‘CHECK_ASSERTIONS’
349 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:156:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
156 | && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:349:30: note: in expansion of macro ‘CHECK_ASSERTIONS’
349 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:156:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
156 | && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:349:30: note: in expansion of macro ‘CHECK_ASSERTIONS’
349 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:159:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
159 | || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:349:30: note: in expansion of macro ‘CHECK_ASSERTIONS’
349 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:159:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
159 | || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:349:30: note: in expansion of macro ‘CHECK_ASSERTIONS’
349 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-approx.c:458:17: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
458 | * TRE_M_LAST * (depth + 1));
| ^
tre-match-approx.c:494:20: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
494 | size_t os = deque_start - ringbuffer,
| ^~~~~~~~~~~
tre-match-approx.c:495:10: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
495 | oe = deque_end - ringbuffer;
| ^~~~~~~~~
In file included from tre-match-approx.c:56:
tre-match-approx.c:500:46: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
500 | xmalloc(sizeof(tre_tnfa_approx_reach_t *) * rb_size) :
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
tre-match-approx.c:501:59: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
501 | xrealloc(ringbuffer, sizeof(tre_tnfa_approx_reach_t *) * rb_size));
| ^
xmalloc.h:70:46: note: in definition of macro ‘xrealloc’
70 | #define xrealloc(ptr, new_size) realloc(ptr, new_size)
| ^~~~~~~~
In file included from tre-match-approx.c:54:
tre-match-utils.h:151:25: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
151 | && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:571:28: note: in expansion of macro ‘CHECK_ASSERTIONS’
571 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:151:50: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
151 | && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:571:28: note: in expansion of macro ‘CHECK_ASSERTIONS’
571 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:153:26: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
153 | && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:571:28: note: in expansion of macro ‘CHECK_ASSERTIONS’
571 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:153:50: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
153 | && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:571:28: note: in expansion of macro ‘CHECK_ASSERTIONS’
571 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:156:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
156 | && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:571:28: note: in expansion of macro ‘CHECK_ASSERTIONS’
571 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:156:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
156 | && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:571:28: note: in expansion of macro ‘CHECK_ASSERTIONS’
571 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:159:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
159 | || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:571:28: note: in expansion of macro ‘CHECK_ASSERTIONS’
571 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:159:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
159 | || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:571:28: note: in expansion of macro ‘CHECK_ASSERTIONS’
571 | if (trans->assertions && CHECK_ASSERTIONS(trans->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-approx.c:617:23: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
617 | * TRE_M_LAST * (depth + 1));
| ^
In file included from tre-match-approx.c:54:
tre-match-utils.h:38:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
38 | pos += pos_add_next; \
| ^~
tre-match-approx.c:682:7: note: in expansion of macro ‘GET_NEXT_WCHAR’
682 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:38:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
38 | pos += pos_add_next; \
| ^~~~~~~~~~~~
tre-match-approx.c:682:7: note: in expansion of macro ‘GET_NEXT_WCHAR’
682 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:75:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
75 | pos += pos_add_next; \
| ^~
tre-match-approx.c:682:7: note: in expansion of macro ‘GET_NEXT_WCHAR’
682 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:75:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
75 | pos += pos_add_next; \
| ^~~~~~~~~~~~
tre-match-approx.c:682:7: note: in expansion of macro ‘GET_NEXT_WCHAR’
682 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:151:25: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
151 | && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:706:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
706 | && (CHECK_ASSERTIONS(trans->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:151:50: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
151 | && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:706:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
706 | && (CHECK_ASSERTIONS(trans->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:153:26: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
153 | && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:706:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
706 | && (CHECK_ASSERTIONS(trans->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:153:50: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
153 | && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:706:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
706 | && (CHECK_ASSERTIONS(trans->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:156:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
156 | && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:706:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
706 | && (CHECK_ASSERTIONS(trans->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:156:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
156 | && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:706:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
706 | && (CHECK_ASSERTIONS(trans->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:159:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
159 | || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:706:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
706 | && (CHECK_ASSERTIONS(trans->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:159:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
159 | || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-approx.c:706:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
706 | && (CHECK_ASSERTIONS(trans->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-approx.c:803:21: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
803 | * TRE_M_LAST * (depth + 1));
| ^
gcc -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -c tre-match-backtrack.c -o tre-match-backtrack.o
In file included from tre-match-backtrack.c:74:
tre-match-backtrack.c: In function ‘tre_tnfa_run_backtrack’:
tre-match-backtrack.c:277:36: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
277 | tags = xmalloc(sizeof(*tags) * tnfa->num_tags);
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
tre-match-backtrack.c:295:50: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
295 | states_seen = xmalloc(sizeof(*states_seen) * tnfa->num_states);
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
tre-match-backtrack.c:320:28: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
320 | str_source->rewind(pos + pos_add_next, str_source->context);
| ^
In file included from tre-match-backtrack.c:72:
tre-match-utils.h:38:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
38 | pos += pos_add_next; \
| ^~
tre-match-backtrack.c:321:3: note: in expansion of macro ‘GET_NEXT_WCHAR’
321 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:38:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
38 | pos += pos_add_next; \
| ^~~~~~~~~~~~
tre-match-backtrack.c:321:3: note: in expansion of macro ‘GET_NEXT_WCHAR’
321 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:75:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
75 | pos += pos_add_next; \
| ^~
tre-match-backtrack.c:321:3: note: in expansion of macro ‘GET_NEXT_WCHAR’
321 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:75:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
75 | pos += pos_add_next; \
| ^~~~~~~~~~~~
tre-match-backtrack.c:321:3: note: in expansion of macro ‘GET_NEXT_WCHAR’
321 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:151:25: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
151 | && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:337:34: note: in expansion of macro ‘CHECK_ASSERTIONS’
337 | if (trans_i->assertions && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:151:50: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
151 | && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:337:34: note: in expansion of macro ‘CHECK_ASSERTIONS’
337 | if (trans_i->assertions && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:153:26: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
153 | && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:337:34: note: in expansion of macro ‘CHECK_ASSERTIONS’
337 | if (trans_i->assertions && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:153:50: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
153 | && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:337:34: note: in expansion of macro ‘CHECK_ASSERTIONS’
337 | if (trans_i->assertions && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:156:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
156 | && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:337:34: note: in expansion of macro ‘CHECK_ASSERTIONS’
337 | if (trans_i->assertions && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:156:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
156 | && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:337:34: note: in expansion of macro ‘CHECK_ASSERTIONS’
337 | if (trans_i->assertions && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:159:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
159 | || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:337:34: note: in expansion of macro ‘CHECK_ASSERTIONS’
337 | if (trans_i->assertions && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:159:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
159 | || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:337:34: note: in expansion of macro ‘CHECK_ASSERTIONS’
337 | if (trans_i->assertions && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
In file included from tre-match-backtrack.c:71:
tre-match-backtrack.c:149:22: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
149 | sizeof(*tags) * tnfa->num_tags); \
| ^
tre-mem.h:40:70: note: in definition of macro ‘tre_mem_alloc’
40 | #define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
| ^~~~
tre-match-backtrack.c:352:4: note: in expansion of macro ‘BT_STACK_PUSH’
352 | BT_STACK_PUSH(pos, str_byte, str_wide, trans_i->state,
| ^~~~~~~~~~~~~
tre-match-backtrack.c:429:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
429 | tre_fill_pmatch(bt + 1, pmatch, tnfa->cflags & ~REG_NOSUB,
| ~~~^~~
In file included from tre-match-backtrack.c:72:
tre-match-utils.h:38:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
38 | pos += pos_add_next; \
| ^~
tre-match-backtrack.c:508:8: note: in expansion of macro ‘GET_NEXT_WCHAR’
508 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:38:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
38 | pos += pos_add_next; \
| ^~~~~~~~~~~~
tre-match-backtrack.c:508:8: note: in expansion of macro ‘GET_NEXT_WCHAR’
508 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:75:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
75 | pos += pos_add_next; \
| ^~
tre-match-backtrack.c:508:8: note: in expansion of macro ‘GET_NEXT_WCHAR’
508 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:75:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
75 | pos += pos_add_next; \
| ^~~~~~~~~~~~
tre-match-backtrack.c:508:8: note: in expansion of macro ‘GET_NEXT_WCHAR’
508 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:38:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
38 | pos += pos_add_next; \
| ^~
tre-match-backtrack.c:537:4: note: in expansion of macro ‘GET_NEXT_WCHAR’
537 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:38:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
38 | pos += pos_add_next; \
| ^~~~~~~~~~~~
tre-match-backtrack.c:537:4: note: in expansion of macro ‘GET_NEXT_WCHAR’
537 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:75:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
75 | pos += pos_add_next; \
| ^~
tre-match-backtrack.c:537:4: note: in expansion of macro ‘GET_NEXT_WCHAR’
537 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:75:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
75 | pos += pos_add_next; \
| ^~~~~~~~~~~~
tre-match-backtrack.c:537:4: note: in expansion of macro ‘GET_NEXT_WCHAR’
537 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:151:25: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
151 | && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:551:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
551 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:151:50: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
151 | && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:551:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
551 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:153:26: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
153 | && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:551:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
551 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:153:50: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
153 | && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:551:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
551 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:156:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
156 | && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:551:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
551 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:156:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
156 | && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:551:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
551 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:159:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
159 | || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:551:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
551 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:159:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
159 | || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-backtrack.c:551:9: note: in expansion of macro ‘CHECK_ASSERTIONS’
551 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
In file included from tre-match-backtrack.c:71:
tre-match-backtrack.c:149:22: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
149 | sizeof(*tags) * tnfa->num_tags); \
| ^
tre-mem.h:40:70: note: in definition of macro ‘tre_mem_alloc’
40 | #define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
| ^~~~
tre-match-backtrack.c:573:5: note: in expansion of macro ‘BT_STACK_PUSH’
573 | BT_STACK_PUSH(pos, str_byte, str_wide, trans_i->state,
| ^~~~~~~~~~~~~
tre-match-backtrack.c:185:32: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
185 | str_source->rewind(pos + pos_add_next, str_source->context); \
| ^
tre-match-backtrack.c:612:8: note: in expansion of macro ‘BT_STACK_POP’
612 | BT_STACK_POP();
| ^~~~~~~~~~~~
gcc -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -c tre-match-parallel.c -o tre-match-parallel.o
tre-match-parallel.c: In function ‘tre_tnfa_run_parallel’:
tre-match-parallel.c:159:32: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
159 | tbytes = sizeof(*tmp_tags) * num_tags;
| ^
tre-match-parallel.c:159:14: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
159 | tbytes = sizeof(*tmp_tags) * num_tags;
| ^~~~~~
tre-match-parallel.c:160:34: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
160 | rbytes = sizeof(*reach_next) * (tnfa->num_states + 1);
| ^
tre-match-parallel.c:160:14: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
160 | rbytes = sizeof(*reach_next) * (tnfa->num_states + 1);
| ^~~~~~
tre-match-parallel.c:161:33: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
161 | pbytes = sizeof(*reach_pos) * tnfa->num_states;
| ^
tre-match-parallel.c:161:14: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
161 | pbytes = sizeof(*reach_pos) * tnfa->num_states;
| ^~~~~~
tre-match-parallel.c:162:26: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
162 | xbytes = sizeof(int) * num_tags;
| ^
tre-match-parallel.c:162:14: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
162 | xbytes = sizeof(int) * num_tags;
| ^~~~~~
tre-match-parallel.c:165:7: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
165 | + (rbytes + xbytes * tnfa->num_states) * 2 + tbytes + pbytes;
| ^
tre-match-parallel.c:165:50: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
165 | + (rbytes + xbytes * tnfa->num_states) * 2 + tbytes + pbytes;
| ^
tre-match-parallel.c:165:59: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
165 | + (rbytes + xbytes * tnfa->num_states) * 2 + tbytes + pbytes;
| ^
tre-match-parallel.c:164:7: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
164 | (sizeof(long) - 1) * 4 /* for alignment paddings */
| ^
In file included from tre-match-parallel.c:64:
tre-match-utils.h:38:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
38 | pos += pos_add_next; \
| ^~
tre-match-parallel.c:230:7: note: in expansion of macro ‘GET_NEXT_WCHAR’
230 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:38:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
38 | pos += pos_add_next; \
| ^~~~~~~~~~~~
tre-match-parallel.c:230:7: note: in expansion of macro ‘GET_NEXT_WCHAR’
230 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:75:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
75 | pos += pos_add_next; \
| ^~
tre-match-parallel.c:230:7: note: in expansion of macro ‘GET_NEXT_WCHAR’
230 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:75:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
75 | pos += pos_add_next; \
| ^~~~~~~~~~~~
tre-match-parallel.c:230:7: note: in expansion of macro ‘GET_NEXT_WCHAR’
230 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:151:25: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
151 | && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:284:12: note: in expansion of macro ‘CHECK_ASSERTIONS’
284 | && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:151:50: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
151 | && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:284:12: note: in expansion of macro ‘CHECK_ASSERTIONS’
284 | && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:153:26: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
153 | && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:284:12: note: in expansion of macro ‘CHECK_ASSERTIONS’
284 | && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:153:50: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
153 | && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:284:12: note: in expansion of macro ‘CHECK_ASSERTIONS’
284 | && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:156:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
156 | && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:284:12: note: in expansion of macro ‘CHECK_ASSERTIONS’
284 | && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:156:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
156 | && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:284:12: note: in expansion of macro ‘CHECK_ASSERTIONS’
284 | && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:159:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
159 | || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:284:12: note: in expansion of macro ‘CHECK_ASSERTIONS’
284 | && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:159:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
159 | || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:284:12: note: in expansion of macro ‘CHECK_ASSERTIONS’
284 | && CHECK_ASSERTIONS(trans_i->assertions))
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:38:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
38 | pos += pos_add_next; \
| ^~
tre-match-parallel.c:344:7: note: in expansion of macro ‘GET_NEXT_WCHAR’
344 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:38:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
38 | pos += pos_add_next; \
| ^~~~~~~~~~~~
tre-match-parallel.c:344:7: note: in expansion of macro ‘GET_NEXT_WCHAR’
344 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:75:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
75 | pos += pos_add_next; \
| ^~
tre-match-parallel.c:344:7: note: in expansion of macro ‘GET_NEXT_WCHAR’
344 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:75:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
75 | pos += pos_add_next; \
| ^~~~~~~~~~~~
tre-match-parallel.c:344:7: note: in expansion of macro ‘GET_NEXT_WCHAR’
344 | GET_NEXT_WCHAR();
| ^~~~~~~~~~~~~~
tre-match-utils.h:151:25: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
151 | && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:417:13: note: in expansion of macro ‘CHECK_ASSERTIONS’
417 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:151:50: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
151 | && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:417:13: note: in expansion of macro ‘CHECK_ASSERTIONS’
417 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:153:26: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
153 | && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:417:13: note: in expansion of macro ‘CHECK_ASSERTIONS’
417 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:153:50: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
153 | && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:417:13: note: in expansion of macro ‘CHECK_ASSERTIONS’
417 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:156:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
156 | && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:417:13: note: in expansion of macro ‘CHECK_ASSERTIONS’
417 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:156:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
156 | && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c))) \
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:417:13: note: in expansion of macro ‘CHECK_ASSERTIONS’
417 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:159:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
159 | || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:417:13: note: in expansion of macro ‘CHECK_ASSERTIONS’
417 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
tre-match-utils.h:159:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
159 | || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
| ^~~~~~
tre-match-utils.h:141:54: note: in definition of macro ‘IS_WORD_CHAR’
141 | #define IS_WORD_CHAR(c) ((c) == L'_' || tre_isalnum(c))
| ^
tre-match-parallel.c:417:13: note: in expansion of macro ‘CHECK_ASSERTIONS’
417 | && (CHECK_ASSERTIONS(trans_i->assertions)
| ^~~~~~~~~~~~~~~~
gcc -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -c tre-mem.c -o tre-mem.o
gcc -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -c tre-parse.c -o tre-parse.o
gcc -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -c tre-stack.c -o tre-stack.o
In file included from tre-stack.c:17:
tre-stack.c: In function ‘tre_stack_new’:
tre-stack.c:43:44: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
43 | s->stack = xmalloc(sizeof(*s->stack) * size);
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
tre-stack.c: In function ‘tre_stack_push’:
tre-stack.c:93:56: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
93 | new_buffer = xrealloc(s->stack, sizeof(*new_buffer) * new_size);
| ^
xmalloc.h:70:46: note: in definition of macro ‘xrealloc’
70 | #define xrealloc(ptr, new_size) realloc(ptr, new_size)
| ^~~~~~~~
In file included from tre-parse.c:23:
tre-parse.c: In function ‘tre_new_item’:
tre-parse.c:113:50: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
113 | new_items = xrealloc(array, sizeof(*items) * *max_i);
| ^
xmalloc.h:70:46: note: in definition of macro ‘xrealloc’
70 | #define xrealloc(ptr, new_size) realloc(ptr, new_size)
| ^~~~~~~~
tre-parse.c: In function ‘tre_expand_ctype’:
tre-parse.c:145:12: warning: conversion to ‘int’ from ‘tre_cint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
145 | min = c;
| ^
tre-parse.c:146:10: warning: conversion to ‘int’ from ‘tre_cint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
146 | max = c;
| ^
tre-parse.c: In function ‘tre_parse_bracket_items’:
tre-parse.c:297:14: warning: conversion to ‘tre_cint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
297 | min = *re;
| ^
tre-parse.c:298:14: warning: conversion to ‘tre_cint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
298 | max = *(re + 2);
| ^
In file included from tre-ast.h:14,
from tre-parse.c:25:
tre-internal.h:170:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
170 | #define MIN(a, b) (((a) <= (b)) ? (a) : (b))
| ^
tre-parse.c:322:11: note: in expansion of macro ‘MIN’
322 | len = MIN(endptr - re - 2, 63);
| ^~~
tre-parse.c:369:20: warning: conversion to ‘tre_cint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
369 | min = max = *re++;
| ^
tre-parse.c:382:40: warning: conversion to ‘int’ from ‘tre_cint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
382 | status = tre_new_item(ctx->mem, min, max, &i, &max_i, items);
| ^~~
tre-parse.c:382:45: warning: conversion to ‘int’ from ‘tre_cint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
382 | status = tre_new_item(ctx->mem, min, max, &i, &max_i, items);
| ^~~
tre-parse.c:403:41: warning: conversion to ‘int’ from ‘tre_cint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
403 | status = tre_new_item(ctx->mem, cmin, ccurr,
| ^~~~
tre-parse.c:403:47: warning: conversion to ‘int’ from ‘tre_cint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
403 | status = tre_new_item(ctx->mem, cmin, ccurr,
| ^~~~~
tre-parse.c:412:41: warning: conversion to ‘int’ from ‘tre_cint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
412 | status = tre_new_item(ctx->mem, cmin, ccurr,
| ^~~~
tre-parse.c:412:47: warning: conversion to ‘int’ from ‘tre_cint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
412 | status = tre_new_item(ctx->mem, cmin, ccurr,
| ^~~~~
In file included from tre-parse.c:23:
tre-parse.c: In function ‘tre_parse_bracket’:
tre-parse.c:442:34: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
442 | items = xmalloc(sizeof(*items) * max_i);
| ^
xmalloc.h:67:30: note: in definition of macro ‘xmalloc’
67 | #define xmalloc(size) malloc(size)
| ^~~~
In file included from tre-parse.c:24:
tre-parse.c:512:12: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
512 | * (num_neg_classes + 1)));
| ^
tre-mem.h:40:70: note: in definition of macro ‘tre_mem_alloc’
40 | #define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
| ^~~~
tre-parse.c:553:12: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
553 | * (num_neg_classes + 1)));
| ^
tre-mem.h:40:70: note: in definition of macro ‘tre_mem_alloc’
40 | #define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
| ^~~~
tre-parse.c: In function ‘tre_parse’:
tre-parse.c:1479:33: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
1479 | if (tre_isxdigit(ctx->re[0]) && ctx->re < ctx->re_end)
| ~~~~~~~^~~
tre-parse.c:1484:33: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
1484 | if (tre_isxdigit(ctx->re[0]) && ctx->re < ctx->re_end)
| ~~~~~~~^~~
tre-parse.c:1506:30: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
1506 | if (tre_isxdigit(ctx->re[0]))
| ~~~~~~~^~~
tre-parse.c:1526:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
1526 | if (tre_isdigit(*ctx->re))
| ^~~~~~~~
tre-parse.c:1690:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
1690 | && (tre_isupper(*ctx->re) || tre_islower(*ctx->re)))
| ^~~~~~~~
tre-parse.c:1690:46: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
1690 | && (tre_isupper(*ctx->re) || tre_islower(*ctx->re)))
| ^~~~~~~~
tre-parse.c:1703:54: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
1703 | tmp1 = tre_ast_new_literal(ctx->mem, tre_toupper(*ctx->re),
| ^~~~~~~~
tre-parse.c:1704:23: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
1704 | tre_toupper(*ctx->re),
| ^~~~~~~~
In file included from tre-ast.h:14,
from tre-parse.c:25:
tre-internal.h:95:21: warning: conversion to ‘int’ from ‘wint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
95 | #define tre_toupper towupper
tre-parse.c:1703:42: note: in expansion of macro ‘tre_toupper’
1703 | tmp1 = tre_ast_new_literal(ctx->mem, tre_toupper(*ctx->re),
| ^~~~~~~~~~~
tre-internal.h:95:21: warning: conversion to ‘int’ from ‘wint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
95 | #define tre_toupper towupper
tre-parse.c:1704:11: note: in expansion of macro ‘tre_toupper’
1704 | tre_toupper(*ctx->re),
| ^~~~~~~~~~~
tre-parse.c:1708:54: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
1708 | tmp2 = tre_ast_new_literal(ctx->mem, tre_tolower(*ctx->re),
| ^~~~~~~~
tre-parse.c:1709:23: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘tre_char_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
1709 | tre_tolower(*ctx->re),
| ^~~~~~~~
In file included from tre-ast.h:14,
from tre-parse.c:25:
tre-internal.h:94:21: warning: conversion to ‘int’ from ‘wint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
94 | #define tre_tolower towlower
tre-parse.c:1708:42: note: in expansion of macro ‘tre_tolower’
1708 | tmp2 = tre_ast_new_literal(ctx->mem, tre_tolower(*ctx->re),
| ^~~~~~~~~~~
tre-internal.h:94:21: warning: conversion to ‘int’ from ‘wint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
94 | #define tre_tolower towlower
tre-parse.c:1709:11: note: in expansion of macro ‘tre_tolower’
1709 | tre_tolower(*ctx->re),
| ^~~~~~~~~~~
ar -cr libtre.a regcomp.o regerror.o regexec.o tre-ast.o tre-compile.o tre-match-approx.o tre-match-backtrack.o tre-match-parallel.o tre-mem.o tre-parse.o tre-stack.o
ranlib libtre.a
make[4]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/extra/tre'
make[3]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/extra/tre'
gcc -shared -fopenmp -L/usr/local/lib -o libRblas.so blas.o blas2.o cmplxblas.o cmplxblas2.o -lgfortran -lm -lquadmath
make[4]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/extra/blas'
make[4]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/extra/blas'
mkdir -p -- /home/stvjc/SECURE/R-46-sec-src/lib
make[4]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/extra/blas'
make[3]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/extra/blas'
make[2]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/extra'
make[2]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/appl'
making integrate.d from integrate.c
making interv.d from interv.c
making maxcol.d from maxcol.c
making optim.d from optim.c
making pretty.d from pretty.c
making uncmin.d from uncmin.c
make[3]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/appl'
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c integrate.c -o integrate.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c interv.c -o interv.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c maxcol.c -o maxcol.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c optim.c -o optim.o
maxcol.c: In function ‘R_max_col’:
maxcol.c:45:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
45 | size_t n_r = *nr; // for indexing like r + c * n_r
| ^
maxcol.c:54:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
54 | a = matrix[r + c * n_r];
| ^
maxcol.c:68:20: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
68 | b = matrix[r + c * n_r];
| ^
maxcol.c:81:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
81 | b = matrix[r + c * n_r];
| ^
maxcol.c:88:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
88 | b = matrix[r + c * n_r];
| ^
optim.c: In function ‘vect’:
optim.c:32:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
32 | return (double *)R_alloc(n, sizeof(double));
| ^
optim.c: In function ‘matrix’:
optim.c:85:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
85 | m = (double **) R_alloc((nrh + 1), sizeof(double *));
| ~~~~~^~~~
optim.c:87:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
87 | m[i] = (double*) R_alloc((nch + 1), sizeof(double));
| ~~~~~^~~~
optim.c: In function ‘Lmatrix’:
optim.c:96:29: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
96 | m = (double **) R_alloc(n, sizeof(double *));
| ^
optim.c:98:31: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
98 | m[i] = (double *) R_alloc((i + 1), sizeof(double));
| ~~~^~~~
optim.c: In function ‘vmmin’:
optim.c:137:25: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
137 | l = (int *) R_alloc(n0, sizeof(int));
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pretty.c -o pretty.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c uncmin.c -o uncmin.o
optim.c: In function ‘lbfgsb’:
optim.c:676:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
676 | iwa = (int *) R_alloc(3*n, sizeof(int));
| ~^~
gfortran -fpic -g -O2 -c dchdc.f -o dchdc.o
gfortran -fpic -g -O2 -c dpbfa.f -o dpbfa.o
gfortran -fpic -g -O2 -c dpbsl.f -o dpbsl.o
gfortran -fpic -g -O2 -c dpoco.f -o dpoco.o
gfortran -fpic -g -O2 -c dpodi.f -o dpodi.o
gfortran -fpic -g -O2 -c dpofa.f -o dpofa.o
gfortran -fpic -g -O2 -c dposl.f -o dposl.o
gfortran -fpic -g -O2 -c dqrdc.f -o dqrdc.o
gfortran -fpic -g -O2 -c dqrdc2.f -o dqrdc2.o
gfortran -fpic -g -O2 -c dqrls.f -o dqrls.o
gfortran -fpic -g -O2 -c dqrsl.f -o dqrsl.o
gfortran -fpic -g -O2 -c dqrutl.f -o dqrutl.o
gfortran -fpic -g -O2 -c dsvdc.f -o dsvdc.o
gfortran -fpic -g -O2 -c dtrco.f -o dtrco.o
gfortran -fpic -g -O2 -c dtrsl.f -o dtrsl.o
ar -cr libappl.a integrate.o interv.o maxcol.o optim.o pretty.o uncmin.o dchdc.o dpbfa.o dpbsl.o dpoco.o dpodi.o dpofa.o dposl.o dqrdc.o dqrdc2.o dqrls.o dqrsl.o dqrutl.o dsvdc.o dtrco.o dtrsl.o
ranlib libappl.a
make[3]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/appl'
make[2]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/appl'
make[2]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/nmath'
making mlutils.d from mlutils.c
making d1mach.d from d1mach.c
making i1mach.d from i1mach.c
making fmax2.d from fmax2.c
making fmin2.d from fmin2.c
making fprec.d from fprec.c
making fround.d from fround.c
making ftrunc.d from ftrunc.c
making sign.d from sign.c
making fsign.d from fsign.c
making imax2.d from imax2.c
making imin2.d from imin2.c
making chebyshev.d from chebyshev.c
making log1p.d from log1p.c
making lgammacor.d from lgammacor.c
making gammalims.d from gammalims.c
making stirlerr.d from stirlerr.c
making bd0.d from bd0.c
making gamma.d from gamma.c
making lgamma.d from lgamma.c
making gamma_cody.d from gamma_cody.c
making beta.d from beta.c
making lbeta.d from lbeta.c
making cospi.d from cospi.c
making polygamma.d from polygamma.c
making bessel_i.d from bessel_i.c
making bessel_j.d from bessel_j.c
making bessel_k.d from bessel_k.c
making bessel_y.d from bessel_y.c
making choose.d from choose.c
making snorm.d from snorm.c
making sexp.d from sexp.c
making dgamma.d from dgamma.c
making pgamma.d from pgamma.c
making qgamma.d from qgamma.c
making rgamma.d from rgamma.c
making dbeta.d from dbeta.c
making pbeta.d from pbeta.c
making qbeta.d from qbeta.c
making rbeta.d from rbeta.c
making dunif.d from dunif.c
making punif.d from punif.c
making qunif.d from qunif.c
making runif.d from runif.c
making dnorm.d from dnorm.c
making pnorm.d from pnorm.c
making qnorm.d from qnorm.c
making rnorm.d from rnorm.c
making dlnorm.d from dlnorm.c
making plnorm.d from plnorm.c
making qlnorm.d from qlnorm.c
making rlnorm.d from rlnorm.c
making df.d from df.c
making pf.d from pf.c
making qf.d from qf.c
making rf.d from rf.c
making dnf.d from dnf.c
making dt.d from dt.c
making pt.d from pt.c
making qt.d from qt.c
making rt.d from rt.c
making dnt.d from dnt.c
making dchisq.d from dchisq.c
making pchisq.d from pchisq.c
making qchisq.d from qchisq.c
making rchisq.d from rchisq.c
making rnchisq.d from rnchisq.c
making dbinom.d from dbinom.c
making pbinom.d from pbinom.c
making qbinom.d from qbinom.c
making rbinom.d from rbinom.c
making rmultinom.d from rmultinom.c
making dcauchy.d from dcauchy.c
making pcauchy.d from pcauchy.c
making qcauchy.d from qcauchy.c
making rcauchy.d from rcauchy.c
making dexp.d from dexp.c
making pexp.d from pexp.c
making qexp.d from qexp.c
making dgeom.d from dgeom.c
making rexp.d from rexp.c
making pgeom.d from pgeom.c
making qgeom.d from qgeom.c
making rgeom.d from rgeom.c
making dhyper.d from dhyper.c
making phyper.d from phyper.c
making qhyper.d from qhyper.c
making rhyper.d from rhyper.c
making dnbinom.d from dnbinom.c
making pnbinom.d from pnbinom.c
making qnbinom.d from qnbinom.c
making qnbinom_mu.d from qnbinom_mu.c
making dpois.d from dpois.c
making rnbinom.d from rnbinom.c
making ppois.d from ppois.c
making qpois.d from qpois.c
making rpois.d from rpois.c
making dweibull.d from dweibull.c
making pweibull.d from pweibull.c
making qweibull.d from qweibull.c
making rweibull.d from rweibull.c
making dlogis.d from dlogis.c
making plogis.d from plogis.c
making qlogis.d from qlogis.c
making rlogis.d from rlogis.c
making dnchisq.d from dnchisq.c
making pnchisq.d from pnchisq.c
making qnchisq.d from qnchisq.c
making dnbeta.d from dnbeta.c
making pnbeta.d from pnbeta.c
making qnbeta.d from qnbeta.c
making pnf.d from pnf.c
making pnt.d from pnt.c
making qnf.d from qnf.c
making ptukey.d from ptukey.c
making qnt.d from qnt.c
making qtukey.d from qtukey.c
making toms708.d from toms708.c
making wilcox.d from wilcox.c
making signrank.d from signrank.c
make[3]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/nmath'
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c mlutils.c -o mlutils.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c d1mach.c -o d1mach.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c i1mach.c -o i1mach.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c fmax2.c -o fmax2.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c fmin2.c -o fmin2.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c fprec.c -o fprec.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c fround.c -o fround.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c ftrunc.c -o ftrunc.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c sign.c -o sign.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c fsign.c -o fsign.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c imax2.c -o imax2.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c imin2.c -o imin2.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c chebyshev.c -o chebyshev.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c log1p.c -o log1p.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c lgammacor.c -o lgammacor.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c gammalims.c -o gammalims.o
chebyshev.c: In function ‘Rf_chebyshev_eval’:
chebyshev.c:74:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
74 | if (n < 1 || n > 1000) ML_WARN_return_NAN;
| ^~
chebyshev.c:76:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
76 | if (x < -1.1 || x > 1.1) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c stirlerr.c -o stirlerr.o
lgammacor.c: In function ‘Rf_lgammacor’:
lgammacor.c:74:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
74 | ML_WARN_return_NAN
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c bd0.c -o bd0.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c gamma.c -o gamma.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c lgamma.c -o lgamma.o
bd0.c: In function ‘Rf_bd0’:
bd0.c:50:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
50 | if(!R_FINITE(x) || !R_FINITE(np) || np == 0.0) ML_WARN_return_NAN;
| ^~
gamma.c: In function ‘Rf_gammafn’:
gamma.c:123:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
123 | ML_WARNING(ME_DOMAIN, "gammafn");
| ^~~~~~~~~~
gamma.c:152:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
152 | ML_WARNING(ME_PRECISION, "gammafn");
| ^~~~~~~~~~
gamma.c:157:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
157 | ML_WARNING(ME_RANGE, "gammafn");
| ^~~~~~~~~~
gamma.c:208:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
208 | ML_WARNING(ME_PRECISION, "gammafn");
| ^~~~~~~~~~
gamma.c:213:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
213 | ML_WARNING(ME_RANGE, "gammafn");
| ^~~~~~~~~~
lgamma.c: In function ‘Rf_lgammafn_sign’:
lgamma.c:109:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
109 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
lgamma.c:119:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
119 | ML_WARNING(ME_PRECISION, "lgamma");
| ^~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c gamma_cody.c -o gamma_cody.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c beta.c -o beta.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c lbeta.c -o lbeta.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c polygamma.c -o polygamma.o
beta.c: In function ‘Rf_beta’:
beta.c:67:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
67 | ML_WARN_return_NAN
| ^~~~~~~~~~~~~~~~~~
lbeta.c: In function ‘Rf_lbeta’:
lbeta.c:54:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
54 | ML_WARN_return_NAN
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c cospi.c -o cospi.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c bessel_i.c -o bessel_i.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c bessel_j.c -o bessel_j.o
cospi.c: In function ‘cospi’:
cospi.c:36:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
36 | if(!R_FINITE(x)) ML_WARN_return_NAN;
| ^~
cospi.c: In function ‘sinpi’:
cospi.c:58:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
58 | if(!R_FINITE(x)) ML_WARN_return_NAN;
| ^~
cospi.c: In function ‘Rtanpi’:
cospi.c:78:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
78 | if(!R_FINITE(x)) ML_WARN_return_NAN;
| ^~
bessel_i.c: In function ‘Rf_bessel_i’:
bessel_i.c:52:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
52 | ML_WARNING(ME_RANGE, "bessel_i");
| ^~~~~~~~~~
bessel_i.c: In function ‘Rf_bessel_i_ex’:
bessel_i.c:104:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
104 | ML_WARNING(ME_RANGE, "bessel_i");
| ^~~~~~~~~~
bessel_j.c: In function ‘Rf_bessel_j’:
bessel_j.c:53:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
53 | ML_WARNING(ME_RANGE, "bessel_j");
| ^~~~~~~~~~
bessel_j.c: In function ‘Rf_bessel_j_ex’:
bessel_j.c:107:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
107 | ML_WARNING(ME_RANGE, "bessel_j");
| ^~~~~~~~~~
bessel_j.c: In function ‘J_bessel’:
bessel_j.c:254:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
254 | ML_WARNING(ME_RANGE, "J_bessel");
| ^~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c bessel_k.c -o bessel_k.o
bessel_k.c: In function ‘Rf_bessel_k’:
bessel_k.c:53:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
53 | ML_WARNING(ME_RANGE, "bessel_k");
| ^~~~~~~~~~
bessel_k.c: In function ‘Rf_bessel_k_ex’:
bessel_k.c:97:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
97 | ML_WARNING(ME_RANGE, "bessel_k");
| ^~~~~~~~~~
bessel_k.c: In function ‘K_bessel’:
bessel_k.c:255:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
255 | if(ex < 0) ML_WARNING(ME_RANGE, "K_bessel");
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c bessel_y.c -o bessel_y.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c choose.c -o choose.o
bessel_y.c: In function ‘Rf_bessel_y’:
bessel_y.c:52:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
52 | ML_WARNING(ME_RANGE, "bessel_y");
| ^~~~~~~~~~
bessel_y.c: In function ‘Rf_bessel_y_ex’:
bessel_y.c:114:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
114 | ML_WARNING(ME_RANGE, "bessel_y");
| ^~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c snorm.c -o snorm.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c sexp.c -o sexp.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dgamma.c -o dgamma.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pgamma.c -o pgamma.o
dgamma.c: In function ‘Rf_dgamma’:
dgamma.c:49:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
49 | if (shape < 0 || scale <= 0) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qgamma.c -o qgamma.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rgamma.c -o rgamma.o
pgamma.c: In function ‘Rf_pgamma’:
pgamma.c:728:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
728 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dbeta.c -o dbeta.o
qgamma.c: In function ‘Rf_qchisq_appr’:
qgamma.c:67:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
67 | R_Q_P01_check(p);
| ^~~~~~~~~~~~~
qgamma.c:68:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
68 | if (nu <= 0) ML_WARN_return_NAN;
| ^~
qgamma.c: In function ‘Rf_qgamma’:
qgamma.c:144:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
144 | R_Q_P01_boundaries(p, 0., ML_POSINF);
| ^~~~~~~~~~~~~~~~~~
qgamma.c:144:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
qgamma.c:146:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
146 | if (alpha < 0 || scale <= 0) ML_WARN_return_NAN;
| ^~
rgamma.c: In function ‘Rf_rgamma’:
rgamma.c:90:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
90 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
rgamma.c:93:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
93 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
dbeta.c: In function ‘Rf_dbeta’:
dbeta.c:50:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
50 | if (a < 0 || b < 0) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pbeta.c -o pbeta.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qbeta.c -o qbeta.o
pbeta.c: In function ‘Rf_pbeta’:
pbeta.c:80:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
80 | if (a < 0 || b < 0) ML_WARN_return_NAN;
| ^~
qbeta.c: In function ‘Rf_qbeta’:
qbeta.c:65:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
65 | if(p < 0. || q < 0.) ML_WARN_return_NAN;
| ^~
qbeta.c: In function ‘qbeta_raw’:
qbeta.c:156:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
156 | ML_WARNING(ME_DOMAIN, "");
| ^~~~~~~~~~
qbeta.c:473:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
473 | ML_WARNING(ME_DOMAIN, "");
| ^~~~~~~~~~
qbeta.c:535:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
535 | ML_WARNING(ME_DOMAIN, "");
| ^~~~~~~~~~
qbeta.c:575:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
575 | ML_WARNING(ME_PRECISION, "qbeta");
| ^~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rbeta.c -o rbeta.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dunif.c -o dunif.o
rbeta.c: In function ‘Rf_rbeta’:
rbeta.c:36:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
36 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c punif.c -o punif.o
dunif.c: In function ‘Rf_dunif’:
dunif.c:34:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
34 | if (b <= a) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qunif.c -o qunif.o
punif.c: In function ‘Rf_punif’:
punif.c:34:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
34 | if (b < a) ML_WARN_return_NAN;
| ^~
punif.c:35:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
35 | if (!R_FINITE(a) || !R_FINITE(b)) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c runif.c -o runif.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dnorm.c -o dnorm.o
qunif.c: In function ‘Rf_qunif’:
qunif.c:34:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
34 | R_Q_P01_check(p);
| ^~~~~~~~~~~~~
qunif.c:35:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
35 | if (!R_FINITE(a) || !R_FINITE(b)) ML_WARN_return_NAN;
| ^~
qunif.c:36:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
36 | if (b < a) ML_WARN_return_NAN;
| ^~
runif.c: In function ‘Rf_runif’:
runif.c:28:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
28 | if (!R_FINITE(a) || !R_FINITE(b) || b < a) ML_WARN_return_NAN;
| ^~
dnorm.c: In function ‘Rf_dnorm4’:
dnorm.c:40:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
40 | if (sigma < 0) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pnorm.c -o pnorm.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qnorm.c -o qnorm.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rnorm.c -o rnorm.o
pnorm.c: In function ‘Rf_pnorm5’:
pnorm.c:75:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
75 | if(sigma < 0) ML_WARN_return_NAN;
| ^~
qnorm.c: In function ‘Rf_qnorm5’:
qnorm.c:55:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
55 | R_Q_P01_boundaries(p, ML_NEGINF, ML_POSINF);
| ^~~~~~~~~~~~~~~~~~
qnorm.c:55:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
qnorm.c:57:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
57 | if(sigma < 0) ML_WARN_return_NAN;
| ^~
rnorm.c: In function ‘Rf_rnorm’:
rnorm.c:36:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
36 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dlnorm.c -o dlnorm.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c plnorm.c -o plnorm.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qlnorm.c -o qlnorm.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rlnorm.c -o rlnorm.o
dlnorm.c: In function ‘Rf_dlnorm’:
dlnorm.c:36:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
36 | if(sdlog < 0) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c df.c -o df.o
plnorm.c: In function ‘Rf_plnorm’:
plnorm.c:34:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
34 | if (sdlog < 0) ML_WARN_return_NAN;
| ^~
qlnorm.c: In function ‘Rf_qlnorm’:
qlnorm.c:35:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
35 | R_Q_P01_boundaries(p, 0, ML_POSINF);
| ^~~~~~~~~~~~~~~~~~
qlnorm.c:35:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
rlnorm.c: In function ‘Rf_rlnorm’:
rlnorm.c:35:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
35 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pf.c -o pf.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qf.c -o qf.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rf.c -o rf.o
df.c: In function ‘Rf_df’:
df.c:46:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
46 | if (m <= 0 || n <= 0) ML_WARN_return_NAN;
| ^~
pf.c: In function ‘Rf_pf’:
qf.c: In function ‘Rf_qf’:
pf.c:34:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
34 | if (df1 <= 0. || df2 <= 0.) ML_WARN_return_NAN;
| ^~
rf.c: In function ‘Rf_rf’:
qf.c:35:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
35 | if (df1 <= 0. || df2 <= 0.) ML_WARN_return_NAN;
| ^~
rf.c:40:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
40 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
qf.c:37:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
37 | R_Q_P01_boundaries(p, 0, ML_POSINF);
| ^~~~~~~~~~~~~~~~~~
qf.c:37:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dnf.c -o dnf.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dt.c -o dt.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pt.c -o pt.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qt.c -o qt.o
dnf.c: In function ‘Rf_dnf’:
dnf.c:48:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
48 | if (df1 <= 0. || df2 <= 0. || ncp < 0) ML_WARN_return_NAN;
| ^~
dnf.c:51:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
51 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
dt.c: In function ‘Rf_dt’:
dt.c:44:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
44 | if (n <= 0) ML_WARN_return_NAN;
| ^~
pt.c: In function ‘Rf_pt’:
pt.c:36:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
36 | if (n <= 0.0) ML_WARN_return_NAN;
| ^~
qt.c: In function ‘Rf_qt’:
qt.c:55:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
55 | R_Q_P01_boundaries(p, ML_NEGINF, ML_POSINF);
| ^~~~~~~~~~~~~~~~~~
qt.c:55:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
qt.c:57:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
57 | if (ndf <= 0) ML_WARN_return_NAN;
| ^~
qt.c:85:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
85 | if(iter >= 1000) ML_WARNING(ME_PRECISION, "qt");
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rt.c -o rt.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dnt.c -o dnt.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dchisq.c -o dchisq.o
rt.c: In function ‘Rf_rt’:
rt.c:33:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
33 | if (ISNAN(df) || df <= 0.0) ML_WARN_return_NAN;
| ^~
dnt.c: In function ‘Rf_dnt’:
dnt.c:74:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
74 | if (df <= 0.0) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pchisq.c -o pchisq.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qchisq.c -o qchisq.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rchisq.c -o rchisq.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rnchisq.c -o rnchisq.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dbinom.c -o dbinom.o
rchisq.c: In function ‘Rf_rchisq’:
rchisq.c:38:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
38 | if (!R_FINITE(df) || df < 0.0) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pbinom.c -o pbinom.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qbinom.c -o qbinom.o
rnchisq.c: In function ‘Rf_rnchisq’:
rnchisq.c:62:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
62 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
dbinom.c: In function ‘Rf_dbinom’:
dbinom.c:121:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
121 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
pbinom.c: In function ‘Rf_pbinom’:
pbinom.c:33:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
33 | if (!R_FINITE(n) || !R_FINITE(p)) ML_WARN_return_NAN;
| ^~
pbinom.c:38:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
38 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
pbinom.c:42:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
42 | if(n < 0 || p < 0 || p > 1) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rbinom.c -o rbinom.o
qbinom.c: In function ‘Rf_qbinom’:
qbinom.c:59:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
59 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
qbinom.c:62:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
62 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
qbinom.c:67:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
67 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
qbinom.c:69:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
69 | R_Q_P01_boundaries(p, 0, n);
| ^~~~~~~~~~~~~~~~~~
qbinom.c:69:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rmultinom.c -o rmultinom.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dcauchy.c -o dcauchy.o
rbinom.c: In function ‘Rf_rbinom’:
rbinom.c:60:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
60 | if (!R_FINITE(nin)) ML_WARN_return_NAN;
| ^~
rbinom.c:62:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
62 | if (r != nin) ML_WARN_return_NAN;
| ^~
rbinom.c:65:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
65 | r < 0 || pp < 0. || pp > 1.) ML_WARN_return_NAN;
| ^
rmultinom.c: In function ‘Rf_rmultinom’:
rmultinom.c:64:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
64 | if (K == NA_INTEGER || K < 1) { ML_WARNING(ME_DOMAIN, "rmultinom"); return;}
| ^~
rmultinom.c:65:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
65 | if (n == NA_INTEGER || n < 0) ML_WARN_ret_NAN(0);
| ^~
rmultinom.c:73:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
73 | if (!R_FINITE(pp) || pp < 0. || pp > 1.) ML_WARN_ret_NAN(k);
| ^~
dcauchy.c: In function ‘Rf_dcauchy’:
dcauchy.c:36:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
36 | if (scale <= 0) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pcauchy.c -o pcauchy.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qcauchy.c -o qcauchy.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rcauchy.c -o rcauchy.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dexp.c -o dexp.o
pcauchy.c: In function ‘Rf_pcauchy’:
pcauchy.c:42:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
42 | if (scale <= 0) ML_WARN_return_NAN;
| ^~
pcauchy.c:45:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
45 | if (ISNAN(x)) ML_WARN_return_NAN;
| ^~
qcauchy.c: In function ‘Rf_qcauchy’:
qcauchy.c:38:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
38 | R_Q_P01_check(p);
| ^~~~~~~~~~~~~
qcauchy.c:41:13: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
41 | /* else */ ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
rcauchy.c: In function ‘Rf_rcauchy’:
rcauchy.c:35:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
35 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pexp.c -o pexp.o
dexp.c: In function ‘Rf_dexp’:
dexp.c:34:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
34 | if (scale <= 0.0) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qexp.c -o qexp.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rexp.c -o rexp.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dgeom.c -o dgeom.o
pexp.c: In function ‘Rf_pexp’:
pexp.c:32:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
32 | if (scale < 0) ML_WARN_return_NAN;
| ^~
qexp.c: In function ‘Rf_qexp’:
qexp.c:35:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
35 | if (scale < 0) ML_WARN_return_NAN;
| ^~
rexp.c: In function ‘Rf_rexp’:
qexp.c:37:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
37 | R_Q_P01_check(p);
| ^~~~~~~~~~~~~
rexp.c:38:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
38 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pgeom.c -o pgeom.o
dgeom.c: In function ‘Rf_dgeom’:
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qgeom.c -o qgeom.o
dgeom.c:40:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
40 | if (p <= 0 || p > 1) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rgeom.c -o rgeom.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dhyper.c -o dhyper.o
pgeom.c: In function ‘Rf_pgeom’:
pgeom.c:35:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
35 | if(p <= 0 || p > 1) ML_WARN_return_NAN;
| ^~
qgeom.c: In function ‘Rf_qgeom’:
qgeom.c:35:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
35 | if (prob <= 0 || prob > 1) ML_WARN_return_NAN;
| ^~
qgeom.c:37:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
37 | R_Q_P01_check(p);
| ^~~~~~~~~~~~~
qgeom.c:39:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
39 | R_Q_P01_boundaries(p, 0, ML_POSINF);
| ^~~~~~~~~~~~~~~~~~
qgeom.c:39:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
rgeom.c: In function ‘Rf_rgeom’:
rgeom.c:47:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
47 | if (!R_FINITE(p) || p <= 0 || p > 1) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c phyper.c -o phyper.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qhyper.c -o qhyper.o
dhyper.c: In function ‘Rf_dhyper’:
dhyper.c:55:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
55 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rhyper.c -o rhyper.o
qhyper.c: In function ‘Rf_qhyper’:
qhyper.c:39:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
39 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
qhyper.c:46:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
46 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
qhyper.c:55:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
55 | R_Q_P01_boundaries(p, xstart, xend);
| ^~~~~~~~~~~~~~~~~~
phyper.c: In function ‘Rf_phyper’:
phyper.c:99:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
99 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
qhyper.c:55:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dnbinom.c -o dnbinom.o
rhyper.c: In function ‘Rf_rhyper’:
rhyper.c:90:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
90 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
rhyper.c:97:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
97 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
rhyper.c:273:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
273 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pnbinom.c -o pnbinom.o
dnbinom.c: In function ‘Rf_dnbinom’:
dnbinom.c:45:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
45 | if (prob <= 0 || prob > 1 || size < 0) ML_WARN_return_NAN;
| ^~
dnbinom.c: In function ‘Rf_dnbinom_mu’:
dnbinom.c:80:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
80 | if (mu < 0 || size < 0) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qnbinom.c -o qnbinom.o
pnbinom.c: In function ‘Rf_pnbinom’:
pnbinom.c:37:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
37 | if(!R_FINITE(size) || !R_FINITE(prob)) ML_WARN_return_NAN;
| ^~
pnbinom.c:39:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
39 | if (size < 0 || prob <= 0 || prob > 1) ML_WARN_return_NAN;
| ^~
pnbinom.c: In function ‘Rf_pnbinom_mu’:
pnbinom.c:56:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
56 | if(!R_FINITE(mu)) ML_WARN_return_NAN;
| ^~
pnbinom.c:58:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
58 | if (size < 0 || mu < 0) ML_WARN_return_NAN;
| ^~
qnbinom.c: In function ‘Rf_qnbinom’:
qnbinom.c:74:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
74 | if (prob <= 0 || prob > 1 || size < 0) ML_WARN_return_NAN;
| ^~
qnbinom.c:77:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
77 | R_Q_P01_boundaries(p, 0, ML_POSINF);
| ^~~~~~~~~~~~~~~~~~
qnbinom.c:77:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qnbinom_mu.c -o qnbinom_mu.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rnbinom.c -o rnbinom.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dpois.c -o dpois.o
qnbinom_mu.c: In function ‘Rf_qnbinom_mu’:
qnbinom_mu.c:67:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
67 | if (mu < 0 || size < 0) ML_WARN_return_NAN;
| ^~
qnbinom_mu.c:69:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
69 | R_Q_P01_boundaries(p, 0, ML_POSINF);
| ^~~~~~~~~~~~~~~~~~
qnbinom_mu.c:69:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
rnbinom.c: In function ‘Rf_rnbinom’:
rnbinom.c:51:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
51 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
rnbinom.c: In function ‘Rf_rnbinom_mu’:
rnbinom.c:59:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
59 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c ppois.c -o ppois.o
dpois.c: In function ‘Rf_dpois’:
dpois.c:78:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
78 | if (lambda < 0) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qpois.c -o qpois.o
ppois.c: In function ‘Rf_ppois’:
ppois.c:34:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
34 | if(lambda < 0.) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rpois.c -o rpois.o
qpois.c: In function ‘Rf_qpois’:
qpois.c:57:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
57 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
qpois.c:58:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
58 | if(lambda < 0) ML_WARN_return_NAN;
| ^~
qpois.c:59:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
59 | R_Q_P01_check(p);
| ^~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dweibull.c -o dweibull.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pweibull.c -o pweibull.o
rpois.c: In function ‘Rf_rpois’:
rpois.c:76:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
76 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
dweibull.c: In function ‘Rf_dweibull’:
dweibull.c:35:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
35 | if (shape <= 0 || scale <= 0) ML_WARN_return_NAN;
| ^~
pweibull.c: In function ‘Rf_pweibull’:
pweibull.c:34:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
34 | if(shape <= 0 || scale <= 0) ML_WARN_return_NAN;
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qweibull.c -o qweibull.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rweibull.c -o rweibull.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dlogis.c -o dlogis.o
qweibull.c: In function ‘Rf_qweibull’:
qweibull.c:35:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
35 | if (shape <= 0 || scale <= 0) ML_WARN_return_NAN;
| ^~
qweibull.c:37:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
37 | R_Q_P01_boundaries(p, 0, ML_POSINF);
| ^~~~~~~~~~~~~~~~~~
qweibull.c:37:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
rweibull.c: In function ‘Rf_rweibull’:
rweibull.c:32:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
32 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c plogis.c -o plogis.o
dlogis.c: In function ‘Rf_dlogis’:
dlogis.c:32:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
32 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qlogis.c -o qlogis.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rlogis.c -o rlogis.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dnchisq.c -o dnchisq.o
plogis.c: In function ‘Rf_plogis’:
plogis.c:45:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
45 | if (scale <= 0.0) ML_WARN_return_NAN;
| ^~
plogis.c:48:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
48 | if (ISNAN(x)) ML_WARN_return_NAN;
| ^~
qlogis.c: In function ‘Rf_qlogis’:
qlogis.c:31:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
31 | R_Q_P01_boundaries(p, ML_NEGINF, ML_POSINF);
| ^~~~~~~~~~~~~~~~~~
qlogis.c:31:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
qlogis.c:33:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
33 | if (scale < 0.) ML_WARN_return_NAN;
| ^~
rlogis.c: In function ‘Rf_rlogis’:
rlogis.c:26:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
26 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
dnchisq.c: In function ‘Rf_dnchisq’:
dnchisq.c:43:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
43 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pnchisq.c -o pnchisq.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qnchisq.c -o qnchisq.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dnbeta.c -o dnbeta.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pnbeta.c -o pnbeta.o
pnchisq.c: In function ‘Rf_pnchisq’:
pnchisq.c:53:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
53 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
pnchisq.c:56:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
56 | if (df < 0. || ncp < 0.) ML_WARN_return_NAN;
| ^~
pnchisq.c:70:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
70 | if(ans < (log_p ? (-10. * M_LN10) : 1e-10)) ML_WARNING(ME_PRECISION, "pnchisq");
| ^~
qnchisq.c: In function ‘Rf_qnchisq’:
qnchisq.c:39:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
39 | if (!R_FINITE(df)) ML_WARN_return_NAN;
| ^~
qnchisq.c:45:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
45 | if (df < 0 || ncp < 0) ML_WARN_return_NAN;
| ^~
qnchisq.c:47:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
47 | R_Q_P01_boundaries(p, 0, ML_POSINF);
| ^~~~~~~~~~~~~~~~~~
qnchisq.c:47:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
qnchisq.c:69:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
69 | if(pp < 1e-10) ML_WARNING(ME_PRECISION, "qnchisq");
| ^~
dnbeta.c: In function ‘Rf_dnbeta’:
dnbeta.c:68:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
68 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
dnbeta.c:71:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
71 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
pnbeta.c: In function ‘Rf_pnbeta_raw’:
pnbeta.c:38:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
38 | if (ncp < 0. || a <= 0. || b <= 0.) ML_WARN_return_NAN;
| ^~
pnbeta.c:78:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
78 | ML_WARNING(ME_PRECISION, "pnbeta");
| ^~~~~~~~~~
pnbeta.c:80:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
80 | ML_WARNING(ME_NOCONV, "pnbeta");
| ^~~~~~~~~~
pnbeta.c: In function ‘Rf_pnbeta2’:
pnbeta.c:100:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
100 | if (ans > 1. - 1e-10) ML_WARNING(ME_PRECISION, "pnbeta");
| ^~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qnbeta.c -o qnbeta.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pnf.c -o pnf.o
qnbeta.c: In function ‘Rf_qnbeta’:
qnbeta.c:35:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
35 | if (!R_FINITE(a)) ML_WARN_return_NAN;
| ^~
qnbeta.c:37:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
37 | if (ncp < 0. || a <= 0. || b <= 0.) ML_WARN_return_NAN;
| ^~
qnbeta.c:39:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
39 | R_Q_P01_boundaries(p, 0, 1);
| ^~~~~~~~~~~~~~~~~~
qnbeta.c:39:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c pnt.c -o pnt.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qnf.c -o qnf.o
pnf.c: In function ‘Rf_pnf’:
pnf.c:36:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
36 | if (df1 <= 0. || df2 <= 0. || ncp < 0) ML_WARN_return_NAN;
| ^~
pnf.c:37:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
37 | if (!R_FINITE(ncp)) ML_WARN_return_NAN;
| ^~
pnf.c:39:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
39 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qnt.c -o qnt.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c ptukey.c -o ptukey.o
qnf.c: In function ‘Rf_qnf’:
qnf.c:32:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
32 | if (df1 <= 0. || df2 <= 0. || ncp < 0) ML_WARN_return_NAN;
| ^~
pnt.c: In function ‘Rf_pnt’:
pnt.c:64:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
64 | if (df <= 0.0) ML_WARN_return_NAN;
| ^~
qnf.c:33:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
33 | if (!R_FINITE(ncp)) ML_WARN_return_NAN;
| ^~
qnf.c:34:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
34 | if (!R_FINITE(df1) && !R_FINITE(df2)) ML_WARN_return_NAN;
| ^~
qnf.c:35:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
35 | R_Q_P01_boundaries(p, 0, ML_POSINF);
| ^~~~~~~~~~~~~~~~~~
pnt.c:108:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
108 | ML_WARNING(ME_UNDERFLOW, "pnt");
| ^~~~~~~~~~
qnf.c:35:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
pnt.c:109:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
109 | ML_WARNING(ME_RANGE, "pnt"); /* |ncp| too large */
| ^~~~~~~~~~
pnt.c:149:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
149 | ML_WARNING(ME_PRECISION, "pnt");
| ^~~~~~~~~~
pnt.c:164:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
164 | ML_WARNING(ME_NOCONV, "pnt");
| ^~~~~~~~~~
pnt.c:174:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
174 | ML_WARNING(ME_PRECISION, "pnt{final}");
| ^~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qtukey.c -o qtukey.o
qnt.c: In function ‘Rf_qnt’:
qnt.c:38:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
38 | if (df <= 0.0) ML_WARN_return_NAN;
| ^~
qnt.c:42:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
42 | R_Q_P01_boundaries(p, ML_NEGINF, ML_POSINF);
| ^~~~~~~~~~~~~~~~~~
qnt.c:42:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
ptukey.c: In function ‘Rf_ptukey’:
ptukey.c:312:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
312 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
ptukey.c:321:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
321 | if (df < 2 || rr < 1 || cc < 2) ML_WARN_return_NAN;
| ^~
ptukey.c:404:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
404 | ML_WARNING(ME_PRECISION, "ptukey");
| ^~~~~~~~~~
qtukey.c: In function ‘Rf_qtukey’:
qtukey.c:130:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
130 | ML_WARNING(ME_DOMAIN, "qtukey");
| ^~~~~~~~~~
qtukey.c:136:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
136 | if (df < 2 || rr < 1 || cc < 2) ML_WARN_return_NAN;
| ^~
qtukey.c:138:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
138 | R_Q_P01_boundaries(p, 0, ML_POSINF);
| ^~~~~~~~~~~~~~~~~~
qtukey.c:138:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
qtukey.c:188:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
188 | ML_WARNING(ME_NOCONV, "qtukey");
| ^~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c toms708.c -o toms708.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c wilcox.c -o wilcox.o
toms708.c: In function ‘bfrac’:
toms708.c:759:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
759 | ML_WARN_return_NAN; // TODO: could we know better?
| ^~~~~~~~~~~~~~~~~~
wilcox.c: In function ‘Rf_dwilcox’:
wilcox.c:178:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
178 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
wilcox.c: In function ‘Rf_pwilcox’:
wilcox.c:203:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
203 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
wilcox.c:207:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
207 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
wilcox.c: In function ‘Rf_qwilcox’:
wilcox.c:244:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
244 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
wilcox.c:245:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
245 | R_Q_P01_check(x);
| ^~~~~~~~~~~~~
wilcox.c:250:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
250 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
wilcox.c: In function ‘Rf_rwilcox’:
wilcox.c:302:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
302 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c signrank.c -o signrank.o
signrank.c: In function ‘Rf_dsignrank’:
signrank.c:125:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
125 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
signrank.c: In function ‘Rf_psignrank’:
signrank.c:149:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
149 | if (!R_FINITE(n)) ML_WARN_return_NAN;
| ^~
signrank.c:151:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
151 | if (n <= 0) ML_WARN_return_NAN;
| ^~
signrank.c: In function ‘Rf_qsignrank’:
signrank.c:186:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
186 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
signrank.c:187:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
187 | R_Q_P01_check(x);
| ^~~~~~~~~~~~~
signrank.c:191:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
191 | ML_WARN_return_NAN;
| ^~~~~~~~~~~~~~~~~~
signrank.c: In function ‘Rf_rsignrank’:
signrank.c:240:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
240 | if (n < 0) ML_WARN_return_NAN;
| ^~
ar -cr libnmath.a mlutils.o d1mach.o i1mach.o fmax2.o fmin2.o fprec.o fround.o ftrunc.o sign.o fsign.o imax2.o imin2.o chebyshev.o log1p.o lgammacor.o gammalims.o stirlerr.o bd0.o gamma.o lgamma.o gamma_cody.o beta.o lbeta.o polygamma.o cospi.o bessel_i.o bessel_j.o bessel_k.o bessel_y.o choose.o snorm.o sexp.o dgamma.o pgamma.o qgamma.o rgamma.o dbeta.o pbeta.o qbeta.o rbeta.o dunif.o punif.o qunif.o runif.o dnorm.o pnorm.o qnorm.o rnorm.o dlnorm.o plnorm.o qlnorm.o rlnorm.o df.o pf.o qf.o rf.o dnf.o dt.o pt.o qt.o rt.o dnt.o dchisq.o pchisq.o qchisq.o rchisq.o rnchisq.o dbinom.o pbinom.o qbinom.o rbinom.o rmultinom.o dcauchy.o pcauchy.o qcauchy.o rcauchy.o dexp.o pexp.o qexp.o rexp.o dgeom.o pgeom.o qgeom.o rgeom.o dhyper.o phyper.o qhyper.o rhyper.o dnbinom.o pnbinom.o qnbinom.o qnbinom_mu.o rnbinom.o dpois.o ppois.o qpois.o rpois.o dweibull.o pweibull.o qweibull.o rweibull.o dlogis.o plogis.o qlogis.o rlogis.o dnchisq.o pnchisq.o qnchisq.o dnbeta.o pnbeta.o qnbeta.o pnf.o pnt.o qnf.o qnt.o ptukey.o qtukey.o toms708.o wilcox.o signrank.o
ranlib libnmath.a
make[3]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/nmath'
make[2]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/nmath'
make[2]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/unix'
config.status: creating src/unix/Makefile
making Rembedded.d from Rembedded.c
making dynload.d from dynload.c
making system.d from system.c
making sys-unix.d from sys-unix.c
making sys-std.d from sys-std.c
making X11.d from X11.c
make[3]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/unix'
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c Rembedded.c -o Rembedded.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dynload.c -o dynload.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c system.c -o system.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c sys-unix.c -o sys-unix.o
sys-unix.c: In function ‘R_ExpandFileName_unix’:
sys-unix.c:158:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
158 | size_t len = snprintf(NULL, 0, "%s/%s", home, s2);
| ^~~~~~~~
sys-unix.c: In function ‘R_popen_timeout’:
sys-unix.c:597:12: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
597 | alarm(timeout); /* will get SIGALRM on timeout */
| ^~~~~~~
sys-unix.c: In function ‘R_system_timeout’:
sys-unix.c:677:12: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
677 | alarm(timeout); /* will get SIGALRM on timeout */
| ^~~~~~~
sys-unix.c: In function ‘do_system’:
sys-unix.c:958:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘__ssize_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
958 | for(i = 0; (read = getline(&buf, &buf_len, fp)) != (size_t)-1; i++) {
| ^~~~~~~
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c sys-std.c -o sys-std.o
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c X11.c -o X11.o
sys-std.c: In function ‘resetReadline’:
sys-std.c:641:5: warning: unsigned conversion from ‘int’ to ‘long unsigned int’ changes value from ‘-3147137’ to ‘18446744073706404479’ [-Wsign-conversion]
641 | RL_UNSETSTATE(RL_STATE_ISEARCH | RL_STATE_NSEARCH | RL_STATE_VIMOTION |
| ^~~~~~~~~~~~~
sys-std.c: In function ‘readline_handler’:
sys-std.c:669:23: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
669 | R_size_t buflen = rl_top->readline_len;
| ^~~~~~
sys-std.c: In function ‘R_completion_generator’:
sys-std.c:942:43: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
942 | compstrings = (char **) malloc(ncomp * sizeof(char*));
| ^
sys-std.c: In function ‘Rstd_ReadConsole’:
sys-std.c:1012:51: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1012 | size_t res, inb = strlen((char *)buf), onb = len;
| ^~~
sys-std.c:1036:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1036 | strncpy((char *)buf, obuf, len);
| ^~~
sys-std.c:1039:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1039 | strncpy((char *)buf, obuf, len);
| ^~~
sys-std.c:1068:45: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1068 | memcpy(buf, rl_rest + rl_rest_offset, len - 1);
| ~~~~^~~
sys-std.c:1070:18: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1070 | rl_rest_offset += len - 1;
| ^~
ar -cr libunix.a Rembedded.o dynload.o system.o sys-unix.o sys-std.o X11.o
ranlib libunix.a
make[3]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/unix'
make[3]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/unix'
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -L/usr/local/lib -DR_HOME='"/home/stvjc/SECURE/R-46-sec-src"' \
-o Rscript ./Rscript.c
make[3]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/unix'
make[2]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/unix'
make[2]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/main'
config.status: creating src/main/Makefile
making CommandLineArgs.d from CommandLineArgs.c
making Rdynload.d from Rdynload.c
making Renviron.d from Renviron.c
making RNG.d from RNG.c
making agrep.d from agrep.c
making altclasses.d from altclasses.c
making altrep.d from altrep.c
making apply.d from apply.c
making arithmetic.d from arithmetic.c
making array.d from array.c
making attrib.d from attrib.c
making bind.d from bind.c
making builtin.d from builtin.c
making character.d from character.c
making clippath.d from clippath.c
making coerce.d from coerce.c
making colors.d from colors.c
making complex.d from complex.c
making connections.d from connections.c
making context.d from context.c
making cum.d from cum.c
making dcf.d from dcf.c
making datetime.d from datetime.c
making debug.d from debug.c
making deparse.d from deparse.c
making devices.d from devices.c
making dotcode.d from dotcode.c
making dounzip.d from dounzip.c
making dstruct.d from dstruct.c
making duplicate.d from duplicate.c
making edit.d from edit.c
making engine.d from engine.c
making envir.d from envir.c
making errors.d from errors.c
making eval.d from eval.c
making flexiblas.d from flexiblas.c
making format.d from format.c
making gevents.d from gevents.c
making gram.d from gram.c
making gram-ex.d from gram-ex.c
making graphics.d from graphics.c
making grep.d from grep.c
making identical.d from identical.c
making inlined.d from inlined.c
making inspect.d from inspect.c
making internet.d from internet.c
making iosupport.d from iosupport.c
making lapack.d from lapack.c
making list.d from list.c
making localecharset.d from localecharset.c
making machine.d from machine.c
making logic.d from logic.c
making main.d from main.c
making mapply.d from mapply.c
making mask.d from mask.c
making match.d from match.c
making memory.d from memory.c
making names.d from names.c
making objects.d from objects.c
making options.d from options.c
making paste.d from paste.c
making patterns.d from patterns.c
making platform.d from platform.c
making plot.d from plot.c
making plot3d.d from plot3d.c
making plotmath.d from plotmath.c
making print.d from print.c
making printarray.d from printarray.c
making printvector.d from printvector.c
making printutils.d from printutils.c
making qsort.d from qsort.c
making radixsort.d from radixsort.c
making random.d from random.c
making raw.d from raw.c
making registration.d from registration.c
making relop.d from relop.c
making rlocale.d from rlocale.c
making saveload.d from saveload.c
making scan.d from scan.c
making seq.d from seq.c
making serialize.d from serialize.c
making sort.d from sort.c
making source.d from source.c
making split.d from split.c
making sprintf.d from sprintf.c
making startup.d from startup.c
making subassign.d from subassign.c
making subscript.d from subscript.c
making subset.d from subset.c
making summary.d from summary.c
making sysutils.d from sysutils.c
making times.d from times.c
making unique.d from unique.c
making util.d from util.c
making version.d from version.c
making g_alab_her.d from g_alab_her.c
making g_cntrlify.d from g_cntrlify.c
making g_fontdb.d from g_fontdb.c
making g_her_glyph.d from g_her_glyph.c
making Rmain.d from Rmain.c
making alloca.d from alloca.c
making mkdtemp.d from mkdtemp.c
making strdup.d from strdup.c
making strncasecmp.d from strncasecmp.c
make[3]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/main'
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c CommandLineArgs.c -o CommandLineArgs.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c Rdynload.c -o Rdynload.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c Renviron.c -o Renviron.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c RNG.c -o RNG.o
Renviron.c: In function ‘rmspace’:
Renviron.c:116:14: warning: conversion to ‘ssize_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
116 | for (i = strlen(s) - 1; i >= 0 && isspace((int)s[i]); i--) s[i] = '\0';
| ^~~~~~
RNG.c: In function ‘unif_rand’:
RNG.c:169:40: warning: conversion to ‘Int32’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
169 | II(0) = II(1); II(1) = II(2); II(2) = (int) p1;
| ^
RNG.c:175:40: warning: conversion to ‘Int32’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
175 | II(3) = II(4); II(4) = II(5); II(5) = (int) p2;
| ^
RNG.c: In function ‘copy_seeds_in’:
RNG.c:406:41: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
406 | memcpy(i_seed, p + 1, sizeof(Int32) * len_seed);
| ^
RNG.c: In function ‘copy_seeds_out’:
RNG.c:437:37: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
437 | memcpy(p, i_seed, sizeof(Int32) * len_seed);
| ^
RNG.c: In function ‘PutRNGstate’:
RNG.c:450:17: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
450 | int kinds = RNG_kind + 100 * N01_kind + 10000 * Sample_kind;
| ^~~~~~~~
In file included from RNG.c:26:
RNG.c: In function ‘do_setseed’:
../../src/include/Defn.h:1873:22: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1873 | # define TimeToSeed Rf_TimeToSeed
| ^~~~~~~~~~~~~
RNG.c:581:19: note: in expansion of macro ‘TimeToSeed’
581 | } else seed = TimeToSeed();
| ^~~~~~~~~~
RNG.c: In function ‘MT_genrand’:
RNG.c:696:11: warning: conversion to ‘int’ from ‘Int32’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
696 | mti = dummy[0];
| ^~~~~
RNG.c:723:16: warning: conversion to ‘Int32’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
723 | dummy[0] = mti;
| ^~~
RNG.c: In function ‘ran_start’:
RNG.c:754:12: warning: conversion from ‘long int’ to ‘Int32’ {aka ‘unsigned int’} may change value [-Wconversion]
754 | #define MM (1L<<30) /* the modulus */
| ^
RNG.c:798:29: note: in expansion of macro ‘MM’
798 | ss<<=1; if (ss>=MM) ss-=MM-2; /* cyclic shift 29 bits */
| ^~
Rdynload.c: In function ‘initLoadedDLL’:
Rdynload.c:233:37: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
233 | LoadedDLL = (DllInfo **) calloc(MaxNumDLLs, sizeof(DllInfo*));
| ^~~~~~~~~~
Rdynload.c: In function ‘Rf_registerRoutines’:
Rdynload.c:466:65: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
466 | R_CMethodDef *cRoutines = n_c ? (R_CMethodDef*) R_alloc(n_c + 1, sizeof(R_CMethodDef)) : NULL;
| ~~~~^~~
Rdynload.c:467:80: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
467 | R_CallMethodDef *callRoutines = n_call ? (R_CallMethodDef*) R_alloc(n_call + 1, sizeof(R_CallMethodDef)) : NULL;
| ~~~~~~~^~~
Rdynload.c:468:83: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
468 | R_FortranMethodDef *fortranRoutines = n_f ? (R_FortranMethodDef*) R_alloc(n_f + 1, sizeof(R_FortranMethodDef)) : NULL;
| ~~~~^~~
Rdynload.c:469:88: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
469 | R_ExternalMethodDef *externalRoutines = n_ext ? (R_ExternalMethodDef*) R_alloc(n_c + 1, sizeof(R_ExternalMethodDef)) : NULL;
| ~~~~^~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c agrep.c -o agrep.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c altclasses.c -o altclasses.o
In file included from agrep.c:39:
agrep.c: In function ‘adist_full’:
../../src/include/R_ext/RS.h:56:75: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
56 | #define R_Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (R_SIZE_T)((n) * sizeof(t)) )
| ^
agrep.c:410:11: note: in expansion of macro ‘R_Realloc’
410 | buf = R_Realloc(buf, need , char);
| ^~~~~~~~~
In file included from ../../src/include/Defn.h:104,
from agrep.c:29:
agrep.c: In function ‘do_aregexec’:
agrep.c:884:42: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
884 | PROTECT(matchpos = allocVector(INTSXP, nmatch));
| ^~~~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
agrep.c:885:42: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
885 | PROTECT(matchlen = allocVector(INTSXP, nmatch));
| ^~~~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
altclasses.c: In function ‘compact_intseq_Sum’:
altclasses.c:274:17: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
274 | tmp = (size / 2.0) * (n1 + n1 + inc * (size - 1));
| ^
altclasses.c:274:24: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
274 | tmp = (size / 2.0) * (n1 + n1 + inc * (size - 1));
| ^
altclasses.c: In function ‘compact_realseq_Dataptr’:
altclasses.c:418:16: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
418 | data[i] = n1 + i;
| ^
altclasses.c:423:16: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
423 | data[i] = n1 - i;
| ^
altclasses.c: In function ‘compact_realseq_Elt’:
altclasses.c:449:18: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
449 | return n1 + inc * i;
| ^
altclasses.c: In function ‘compact_realseq_Get_region’:
altclasses.c:467:18: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
467 | buf[k] = n1 + k + i;
| ^
altclasses.c:467:22: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
467 | buf[k] = n1 + k + i;
| ^
altclasses.c:472:18: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
472 | buf[k] = n1 - k - i;
| ^
altclasses.c:472:22: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
472 | buf[k] = n1 - k - i;
| ^
altclasses.c: In function ‘new_compact_realseq’:
altclasses.c:560:21: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
560 | REAL(info)[0] = n;
| ^
altclasses.c: In function ‘R_compact_intrange’:
altclasses.c:583:32: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
583 | return new_compact_realseq(n, n1, n1 <= n2 ? 1 : -1);
| ^~
altclasses.c: In function ‘ExpandDeferredStringElt’:
altclasses.c:694:39: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
694 | memset(STDVEC_DATAPTR(val), 0, n * sizeof(SEXP));
| ^
altclasses.c: In function ‘make_mmap_state’:
altclasses.c:933:17: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
933 | dsizes[0] = size;
| ^~~~
altclasses.c:935:30: warning: conversion from ‘long unsigned int’ to ‘double’ may change value [-Wconversion]
935 | case INTSXP: dsizes[1] = size / sizeof(int); break;
| ^~~~
altclasses.c:936:31: warning: conversion from ‘long unsigned int’ to ‘double’ may change value [-Wconversion]
936 | case REALSXP: dsizes[1] = size / sizeof(double); break;
| ^~~~
altclasses.c:937:63: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
937 | default: error("mmap for %s not supported yet", type2char(type));
| ^~~~
altclasses.c: In function ‘make_mmap’:
altclasses.c:996:63: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
996 | default: error("mmap for %s not supported yet", type2char(type));
| ^~~~
altclasses.c: In function ‘mmap_Unserialize’:
altclasses.c:1118:21: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1118 | return allocVector(type, 0);
| ^~~~
altclasses.c: In function ‘mmap_Length’:
altclasses.c:955:31: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
955 | #define MMAP_STATE_LENGTH(x) ((size_t) REAL_ELT(CADR(x), 1))
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
altclasses.c:1010:24: note: in expansion of macro ‘MMAP_STATE_LENGTH’
1010 | #define MMAP_LENGTH(x) MMAP_STATE_LENGTH(MMAP_STATE(x))
| ^~~~~~~~~~~~~~~~~
altclasses.c:1141:12: note: in expansion of macro ‘MMAP_LENGTH’
1141 | return MMAP_LENGTH(x);
| ^~~~~~~~~~~
altclasses.c: In function ‘mmap_file’:
altclasses.c:1330:25: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘__off_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1330 | void *p = mmap(0, sb.st_size, pflags, MAP_SHARED, fd, 0);
| ~~^~~~~~~~
altclasses.c:1335:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘__off_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1335 | return make_mmap(p, file, sb.st_size, type, ptrOK, wrtOK, serOK);
| ~~^~~~~~~~
In file included from altclasses.c:24:
altclasses.c: In function ‘make_wrapper’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
altclasses.c:1934:41: note: in expansion of macro ‘UNSET_S4_OBJECT’
1934 | IS_S4_OBJECT(x) ? SET_S4_OBJECT(ans) : UNSET_S4_OBJECT(ans);
| ^~~~~~~~~~~~~~~
altclasses.c: In function ‘R_tryUnwrap’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
altclasses.c:2046:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
2046 | IS_S4_OBJECT(x) ? SET_S4_OBJECT(data) : UNSET_S4_OBJECT(data);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
altclasses.c:2059:6: note: in expansion of macro ‘UNSET_S4_OBJECT’
2059 | UNSET_S4_OBJECT(x);
| ^~~~~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c altrep.c -o altrep.o
altrep.c: In function ‘ALTREP_UNSERIALIZE_EX’:
altrep.c:320:25: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
320 | return allocVector(type, 0);
| ^~~~
altrep.c:332:13: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
332 | type2char(type), type2char(rtype));
| ^~~~
altrep.c:332:30: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
332 | type2char(type), type2char(rtype));
| ^~~~~
In file included from altrep.c:24:
altrep.c: In function ‘altrep_UnserializeEX_default’:
../../src/include/Defn.h:234:45: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
234 | #define SET_OBJECT(x,v) (((x)->sxpinfo.obj)=(v))
| ^
altrep.c:683:5: note: in expansion of macro ‘SET_OBJECT’
683 | SET_OBJECT(val, objf);
| ^~~~~~~~~~
altrep.c: In function ‘altrep_DuplicateEX_default’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
altrep.c:714:45: note: in expansion of macro ‘UNSET_S4_OBJECT’
714 | IS_S4_OBJECT(x) ? SET_S4_OBJECT(ans) : UNSET_S4_OBJECT(ans);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
altrep.c:720:6: note: in expansion of macro ‘UNSET_S4_OBJECT’
720 | UNSET_S4_OBJECT(ans);
| ^~~~~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c apply.c -o apply.o
apply.c: In function ‘do_vapply’:
apply.c:214:28: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
214 | REAL(val), commonLen * sizeof(double)); break;
| ^
apply.c:217:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
217 | INTEGER(val), commonLen * sizeof(int)); break;
| ^
apply.c:220:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
220 | LOGICAL(val), commonLen * sizeof(int)); break;
| ^
apply.c:223:27: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
223 | RAW(val), commonLen * sizeof(Rbyte)); break;
| ^
apply.c:226:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
226 | COMPLEX(val), commonLen * sizeof(Rcomplex)); break;
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c arithmetic.c -o arithmetic.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c array.c -o array.o
In file included from arithmetic.c:55:
arithmetic.c: In function ‘integer_binary’:
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:829:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
829 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:843:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
843 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:857:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
857 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:871:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
871 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:883:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
883 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:898:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
898 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:916:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
916 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
| ^~~~~~~~~~~~~~~~~~
arithmetic.c: In function ‘real_binary’:
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:970:3: note: in expansion of macro ‘R_ITERATE_CHECK’
970 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] + tmp;);
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:974:3: note: in expansion of macro ‘R_ITERATE_CHECK’
974 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = tmp + dy[i];);
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:977:3: note: in expansion of macro ‘R_ITERATE_CHECK’
977 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] + dy[i];);
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:979:3: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
979 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:986:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
986 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:993:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
993 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1004:3: note: in expansion of macro ‘R_ITERATE_CHECK’
1004 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] - tmp;);
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1008:3: note: in expansion of macro ‘R_ITERATE_CHECK’
1008 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = tmp - dy[i];);
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1011:3: note: in expansion of macro ‘R_ITERATE_CHECK’
1011 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] - dy[i];);
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1013:3: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1013 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1020:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1020 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1027:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1027 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1038:3: note: in expansion of macro ‘R_ITERATE_CHECK’
1038 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] * tmp;);
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1042:3: note: in expansion of macro ‘R_ITERATE_CHECK’
1042 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = tmp * dy[i];);
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1045:3: note: in expansion of macro ‘R_ITERATE_CHECK’
1045 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] * dy[i];);
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1047:3: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1047 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1054:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1054 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1061:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1061 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1072:3: note: in expansion of macro ‘R_ITERATE_CHECK’
1072 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] / tmp;);
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1076:3: note: in expansion of macro ‘R_ITERATE_CHECK’
1076 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = tmp / dy[i];);
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1079:3: note: in expansion of macro ‘R_ITERATE_CHECK’
1079 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] / dy[i];);
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1081:3: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1081 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1088:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1088 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1095:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1095 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1106:3: note: in expansion of macro ‘R_ITERATE_CHECK’
1106 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = R_POW(dx[i], tmp););
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1110:3: note: in expansion of macro ‘R_ITERATE_CHECK’
1110 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = R_POW(tmp, dy[i]););
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1113:3: note: in expansion of macro ‘R_ITERATE_CHECK’
1113 | R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = R_POW(dx[i], dy[i]););
| ^~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1115:3: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1115 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1122:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1122 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1129:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1129 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1138:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1138 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1145:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1145 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1152:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1152 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1161:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1161 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1168:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1168 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arithmetic.c:1175:6: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
1175 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
| ^~~~~~~~~~~~~~~~~~
array.c: In function ‘do_matrix’:
array.c:218:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
218 | if (N) memset(RAW(ans), 0, N);
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c attrib.c -o attrib.o
In file included from ../../src/include/Defn.h:104,
from array.c:26:
array.c: In function ‘do_matprod’:
array.c:1417:33: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1417 | x = PROTECT(coerceVector(x, mode));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
array.c:1418:33: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1418 | y = PROTECT(coerceVector(y, mode));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
array.c:1422:28: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1422 | PROTECT(ans = allocMatrix(mode, nrx, ncy));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
array.c:1484:28: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1484 | PROTECT(ans = allocMatrix(mode, ncx, ncy));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
array.c:1524:28: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1524 | PROTECT(ans = allocMatrix(mode, nrx, nry));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
array.c: In function ‘do_colsum’:
array.c:1983:22: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1983 | R_CheckStack2(n * sizeof(LDOUBLE));
| ^
In file included from array.c:26:
array.c:1984:34: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1984 | rans = (LDOUBLE *) alloca(n * sizeof(LDOUBLE));
| ^
../../src/include/Defn.h:2412:38: note: in definition of macro ‘alloca’
2412 | # define alloca(x) __builtin_alloca((x))
| ^
array.c: In function ‘do_backsolve’:
array.c:2303:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2303 | size_t incr = nrr + 1;
| ^~~
array.c:2305:11: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2305 | if (rr[i * incr] == 0.0)
| ^
In file included from attrib.c:25:
attrib.c: In function ‘do_copyDFattr’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
attrib.c:223:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
223 | IS_S4_OBJECT(in) ? SET_S4_OBJECT(out) : UNSET_S4_OBJECT(out);
| ^~~~~~~~~~~~~~~
attrib.c: In function ‘Rf_copyMostAttrib’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
attrib.c:297:47: note: in expansion of macro ‘UNSET_S4_OBJECT’
297 | IS_S4_OBJECT(inp) ? SET_S4_OBJECT(ans) : UNSET_S4_OBJECT(ans);
| ^~~~~~~~~~~~~~~
attrib.c: In function ‘Rf_copyMostAttribNoTs’:
../../src/include/Defn.h:234:45: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
234 | #define SET_OBJECT(x,v) (((x)->sxpinfo.obj)=(v))
| ^
attrib.c:346:5: note: in expansion of macro ‘SET_OBJECT’
346 | SET_OBJECT(ans, is_object);
| ^~~~~~~~~~
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
attrib.c:347:41: note: in expansion of macro ‘UNSET_S4_OBJECT’
347 | is_s4_object ? SET_S4_OBJECT(ans) : UNSET_S4_OBJECT(ans);
| ^~~~~~~~~~~~~~~
attrib.c: In function ‘do_classgets’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
attrib.c:590:7: note: in expansion of macro ‘UNSET_S4_OBJECT’
590 | UNSET_S4_OBJECT(CAR(args));
| ^~~~~~~~~~~~~~~
In file included from ../../src/include/Defn.h:104,
from attrib.c:25:
attrib.c: In function ‘Rf_InitS3DefaultTypes’:
attrib.c:803:35: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
803 | part3 = PROTECT(type2str_nowarn(type));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
attrib.c:816:35: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
816 | part3 = PROTECT(type2str_nowarn(type));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
In file included from attrib.c:25:
attrib.c: In function ‘do_attributes’:
../../src/include/Defn.h:787:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^
attrib.c:1266:2: note: in expansion of macro ‘R_CheckStack’
1266 | R_CheckStack(); /* in case attributes might lead to a cycle */
| ^~~~~~~~~~~~
../../src/include/Defn.h:787:19: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^~~~~~~~~~~
attrib.c:1266:2: note: in expansion of macro ‘R_CheckStack’
1266 | R_CheckStack(); /* in case attributes might lead to a cycle */
| ^~~~~~~~~~~~
In file included from attrib.c:25:
attrib.c: In function ‘do_attributesgets’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
attrib.c:1401:21: note: in expansion of macro ‘UNSET_S4_OBJECT’
1401 | if(nattrs == 0) UNSET_S4_OBJECT(object);
| ^~~~~~~~~~~~~~~
In file included from attrib.c:25:
attrib.c: In function ‘do_attr’:
../../src/include/Defn.h:787:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^
attrib.c:1471:2: note: in expansion of macro ‘R_CheckStack’
1471 | R_CheckStack(); /* in case attributes might lead to a cycle */
| ^~~~~~~~~~~~
../../src/include/Defn.h:787:19: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^~~~~~~~~~~
attrib.c:1471:2: note: in expansion of macro ‘R_CheckStack’
1471 | R_CheckStack(); /* in case attributes might lead to a cycle */
| ^~~~~~~~~~~~
In file included from attrib.c:25:
attrib.c: In function ‘data_part’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
attrib.c:1743:5: note: in expansion of macro ‘UNSET_S4_OBJECT’
1743 | UNSET_S4_OBJECT(val); /* data part must be base vector */
| ^~~~~~~~~~~~~~~
attrib.c: In function ‘R_getS4DataSlot’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
attrib.c:1964:5: note: in expansion of macro ‘UNSET_S4_OBJECT’
1964 | UNSET_S4_OBJECT(obj);
| ^~~~~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c bind.c -o bind.o
In file included from ../../src/include/Defn.h:104,
from bind.c:27:
bind.c: In function ‘do_c_dflt’:
bind.c:848:31: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
848 | PROTECT(ans = allocVector(mode, data.ans_length));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
bind.c: In function ‘do_unlist’:
bind.c:972:31: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
972 | PROTECT(ans = allocVector(mode, data.ans_length));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
bind.c: In function ‘do_bind’:
bind.c:1175:18: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1175 | type2char(mode)); /* mode can only be EXPRSXP here */
| ^~~~
bind.c:1179:24: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1179 | a = cbind(call, args, mode, rho, deparse_level);
| ^~~~
bind.c:1181:24: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1181 | a = rbind(call, args, mode, rho, deparse_level);
| ^~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c builtin.c -o builtin.o
builtin.c: In function ‘cat_newline’:
builtin.c:497:9: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
497 | *width += Rstrlen(STRING_ELT(labels, ntot % lablen), 0) + 1;
| ^~
builtin.c: In function ‘do_cat’:
builtin.c:586:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
586 | pwidth = R_print.width; /* R_MIN_WIDTH_OPT..R_MAX_WIDTH_OPT, >0 */
| ^~~~~~~
builtin.c:595:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
595 | pwidth = ipwidth;
| ^~~~~~~
builtin.c:642:9: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
642 | width += Rstrlen(STRING_ELT(labs, nlines % lablen), 0) + 1;
| ^~
builtin.c:674:35: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
674 | if ((iobj > 0) && (width + w + sepw > pwidth)) {
| ^
builtin.c:680:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
680 | width += (w + sepw);
| ^
builtin.c:692:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
692 | if (width + w + sepw > pwidth) {
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c character.c -o character.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c clippath.c -o clippath.o
character.c: In function ‘R_nchar’:
character.c:265:33: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
265 | R_AllocStringBuffer((nc+1)*sizeof(wchar_t), &cbuff);
| ^
character.c:266:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
266 | mbstowcs(wc, xi, nc + 1);
| ~~~^~~
character.c: In function ‘substr’:
character.c:405:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
405 | str += Mbrtowc(NULL, str, R_MB_CUR_MAX, &mb_st);
| ^~~~~~~~~~~~
character.c:409:38: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
409 | str += (int) Mbrtowc(NULL, str, R_MB_CUR_MAX, &mb_st);
| ^~~~~~~~~~~~
character.c: In function ‘do_startsWith’:
character.c:516:38: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
516 | LOGICAL(ans)[i] = strncmp(x0, y0, ylen) == 0;
| ^~~~
character.c:522:47: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
522 | LOGICAL(ans)[i] = memcmp(x0 + off, y0, ylen) == 0;
| ^~~~
character.c:530:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
530 | cp *x0 = (cp *) R_alloc(n1, sizeof(char *));
| ^~
character.c:531:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
531 | cp *y0 = (cp *) R_alloc(n2, sizeof(char *));
| ^~
character.c:533:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
533 | int *x1 = (int *) R_alloc(n1, sizeof(int));
| ^~
character.c:534:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
534 | int *y1 = (int *) R_alloc(n2, sizeof(int));
| ^~
In file included from character.c:89:
character.c:562:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
562 | memcmp(x0[i1], y0[i2], y1[i2]) == 0;
| ~~^~~~
../../src/include/R_ext/Itermacros.h:83:6: note: in definition of macro ‘MOD_ITERATE2_CORE’
83 | loop_body \
| ^~~~~~~~~
character.c:555:6: note: in expansion of macro ‘MOD_ITERATE2’
555 | MOD_ITERATE2(n, n1, n2, i, i1, i2, {
| ^~~~~~~~~~~~
character.c:574:36: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
574 | memcmp(x0[i1] + off, y0[i2], y1[i2]) == 0;
| ~~^~~~
../../src/include/R_ext/Itermacros.h:83:6: note: in definition of macro ‘MOD_ITERATE2_CORE’
83 | loop_body \
| ^~~~~~~~~
character.c:565:6: note: in expansion of macro ‘MOD_ITERATE2’
565 | MOD_ITERATE2(n, n1, n2, i, i1, i2, {
| ^~~~~~~~~~~~
character.c: In function ‘substrset’:
character.c:609:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
609 | memcpy(buf, str, in);
| ^~
character.c:613:44: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
613 | memcpy(buf + sa - 1, str, (in < out) ? in : out);
| ~~~~~~~~~~~~~~~~^~~~~
character.c:620:29: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
620 | buf += Mbrtowc(NULL, buf, R_MB_CUR_MAX, &mb_st_in);
| ^~~~~~~~~~~~
character.c:625:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
625 | in += (int) Mbrtowc(NULL, str+in, R_MB_CUR_MAX, &mb_st_in);
| ^~~~~~~~~~~~
character.c:626:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
626 | out += (int) Mbrtowc(NULL, buf+out, R_MB_CUR_MAX, &mb_st_out);
| ^~~~~~~~~~~~
character.c:629:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
629 | memcpy(buf, str, in);
| ^~
character.c:633:48: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
633 | memcpy(buf + sa - 1, str, (in < out) ? in : out);
| ~~~~~~~~~~~~~~~~^~~~~
character.c: In function ‘stripchars’:
character.c:762:16: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
762 | if (strlen(s) - nspace <= minlen)
| ^
character.c:772:20: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
772 | if (strlen(s) - nspace <= minlen)
| ^
character.c:780:20: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
780 | if (strlen(s) - nspace <= minlen)
| ^
character.c:788:20: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
788 | if (strlen(s) - nspace <= minlen)
| ^
character.c:795:20: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
795 | if (strlen(s) - nspace <= minlen)
| ^
character.c:805:16: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
805 | if (strlen(s) - nspace <= minlen)
| ^
character.c: In function ‘wstripchars’:
character.c:860:15: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
860 | if (iswspace((int)wc[i])) {
| ^~~~~~~~~~
character.c:863:17: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
863 | if (wcslen(wc) - nspace <= minlen)
| ^
character.c:822:33: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
822 | #define LASTCHARW(i) (!iswspace((int)wc[i-1]) && (!wc[i+1] || iswspace((int)wc[i+1])))
| ^~~~~~~~~~~~
character.c:869:29: note: in expansion of macro ‘LASTCHARW’
869 | if (iswvowel(wc[i]) && LASTCHARW(i))
| ^~~~~~~~~
character.c:822:72: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
822 | #define LASTCHARW(i) (!iswspace((int)wc[i-1]) && (!wc[i+1] || iswspace((int)wc[i+1])))
| ^~~~~~~~~~~~
character.c:869:29: note: in expansion of macro ‘LASTCHARW’
869 | if (iswvowel(wc[i]) && LASTCHARW(i))
| ^~~~~~~~~
character.c:871:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
871 | if (wcslen(wc) - nspace <= minlen)
| ^
character.c:821:33: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
821 | #define FIRSTCHARW(i) (iswspace((int)wc[i-1]))
| ^~~~~~~~~~~~
character.c:876:30: note: in expansion of macro ‘FIRSTCHARW’
876 | if (iswvowel(wc[i]) && !FIRSTCHARW(i))
| ^~~~~~~~~~
character.c:878:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
878 | if (wcslen(wc) - nspace <= minlen)
| ^
character.c:822:33: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
822 | #define LASTCHARW(i) (!iswspace((int)wc[i-1]) && (!wc[i+1] || iswspace((int)wc[i+1])))
| ^~~~~~~~~~~~
character.c:883:33: note: in expansion of macro ‘LASTCHARW’
883 | if (islower((int)wc[i]) && LASTCHARW(i))
| ^~~~~~~~~
character.c:822:72: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
822 | #define LASTCHARW(i) (!iswspace((int)wc[i-1]) && (!wc[i+1] || iswspace((int)wc[i+1])))
| ^~~~~~~~~~~~
character.c:883:33: note: in expansion of macro ‘LASTCHARW’
883 | if (islower((int)wc[i]) && LASTCHARW(i))
| ^~~~~~~~~
character.c:885:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
885 | if (wcslen(wc) - nspace <= minlen)
| ^
character.c:821:33: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
821 | #define FIRSTCHARW(i) (iswspace((int)wc[i-1]))
| ^~~~~~~~~~~~
character.c:890:34: note: in expansion of macro ‘FIRSTCHARW’
890 | if (islower((int)wc[i]) && !FIRSTCHARW(i))
| ^~~~~~~~~~
character.c:892:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
892 | if (wcslen(wc) - nspace <= minlen)
| ^
character.c:821:33: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
821 | #define FIRSTCHARW(i) (iswspace((int)wc[i-1]))
| ^~~~~~~~~~~~
character.c:898:7: note: in expansion of macro ‘FIRSTCHARW’
898 | if (!FIRSTCHARW(i) && !iswspace((int)wc[i]))
| ^~~~~~~~~~
character.c:898:34: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
898 | if (!FIRSTCHARW(i) && !iswspace((int)wc[i]))
| ^~~~~~~~~~
character.c:900:17: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
900 | if (wcslen(wc) - nspace <= minlen)
| ^
character.c:910:16: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
910 | if (iswspace((int)wc[i])) mywcscpy(wc + i, wc + i + 1);
| ^~~~~~~~~~
character.c: In function ‘do_abbrev’:
character.c:958:42: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
958 | R_AllocStringBuffer(sizeof(wchar_t)*(nc+1), &cbuff);
| ^
character.c: In function ‘do_makenames’:
character.c:1005:36: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1005 | used = (int) Mbrtowc(&wc, pp, R_MB_CUR_MAX, &mb_st);
| ^~~~~~~~~~~~
character.c:1009:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1009 | Mbrtowc(&wc, pp, R_MB_CUR_MAX, &mb_st);
| ^~~~~~~~~~~~
character.c:1010:20: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
1010 | if (iswdigit(wc)) need_prefix = TRUE;
| ^~
character.c:1012:27: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
1012 | } else if (!iswalpha(wc)) need_prefix = TRUE;
| ^~
character.c:1031:25: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1031 | mbstowcs(wstr, tmp, nc+1);
| ~~^~
character.c:1035:26: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1035 | else if (!iswalnum((int)*wc)) *wc = L'.';
| ^~~~~~~~
character.c: In function ‘do_tolower’:
character.c:1137:34: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1137 | R_AllocStringBuffer((nc+1)*sizeof(wchar_t), &cbuff);
| ^
character.c:1138:25: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1138 | utf8towcs(wc, xi, nc + 1);
| ~~~^~~
character.c:1139:49: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
1139 | for (j = 0; j < nc; j++) wc[j] = towctrans(wc[j], tr);
| ~~^~~
character.c:1139:37: warning: conversion to ‘wchar_t’ {aka ‘int’} from ‘wint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
1139 | for (j = 0; j < nc; j++) wc[j] = towctrans(wc[j], tr);
| ^~~~~~~~~
character.c:1142:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1142 | wcstoutf8(cbuf, wc, nb);
| ^~
character.c:1147:34: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1147 | R_AllocStringBuffer((nc+1)*sizeof(wchar_t), &cbuff);
| ^
character.c:1148:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1148 | mbstowcs(wc, xi, nc + 1);
| ~~~^~~
character.c:1159:49: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
1159 | for (j = 0; j < nc; j++) wc[j] = towctrans(wc[j], tr);
| ~~^~~
character.c:1159:37: warning: conversion to ‘wchar_t’ {aka ‘int’} from ‘wint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
1159 | for (j = 0; j < nc; j++) wc[j] = towctrans(wc[j], tr);
| ^~~~~~~~~
character.c:1163:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1163 | wcstombs(cbuf, wc, nb + 1);
| ~~~^~~
character.c: In function ‘tr_build_spec’:
character.c:1312:24: warning: conversion to ‘unsigned char’ from ‘char’ may change the sign of the result [-Wsign-conversion]
1312 | _new->u.r.first = s[i];
| ^
character.c:1313:23: warning: conversion to ‘unsigned char’ from ‘char’ may change the sign of the result [-Wsign-conversion]
1313 | _new->u.r.last = s[i + 2];
| ^
character.c:1317:18: warning: conversion to ‘unsigned char’ from ‘char’ may change the sign of the result [-Wsign-conversion]
1317 | _new->u.c = s[i];
| ^
character.c:1326:14: warning: conversion to ‘unsigned char’ from ‘char’ may change the sign of the result [-Wsign-conversion]
1326 | _new->u.c = s[i];
| ^
character.c: In function ‘do_chartr’:
character.c:1501:49: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1501 | wc = (wchar_t *) R_AllocStringBuffer((nc+1)*sizeof(wchar_t), &cbuff);
| ^
character.c:1502:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1502 | utf8towcs(wc, s, nc + 1);
| ~~~^~~
character.c:1507:49: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1507 | wc = (wchar_t *) R_AllocStringBuffer((nc+1)*sizeof(wchar_t), &cbuff);
| ^
character.c:1508:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1508 | utf8towcs(wc, s, nc + 1);
| ~~~^~~
character.c:1513:49: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1513 | wc = (wchar_t *) R_AllocStringBuffer((nc+1)*sizeof(wchar_t), &cbuff);
| ^
character.c:1514:25: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1514 | mbstowcs(wc, s, nc + 1);
| ~~~^~~
character.c:1526:49: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1526 | wc = (wchar_t *) R_AllocStringBuffer((nc+1)*sizeof(wchar_t), &cbuff);
| ^
character.c:1527:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1527 | utf8towcs(wc, s, nc + 1);
| ~~~^~~
character.c:1532:49: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1532 | wc = (wchar_t *) R_AllocStringBuffer((nc+1)*sizeof(wchar_t), &cbuff);
| ^
character.c:1533:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1533 | utf8towcs(wc, s, nc + 1);
| ~~~^~~
character.c:1538:49: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1538 | wc = (wchar_t *) R_AllocStringBuffer((nc+1)*sizeof(wchar_t), &cbuff);
| ^
character.c:1539:25: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1539 | mbstowcs(wc, s, nc + 1);
| ~~~^~~
character.c:1553:42: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1553 | xtable = (xtable_t *) R_alloc(xtable_cnt+1, sizeof(xtable_t));
| ~~~~~~~~~~^~
character.c:1599:46: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1599 | wc = (wchar_t *) R_AllocStringBuffer((nc+1)*sizeof(wchar_t),
| ^
character.c:1601:45: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1601 | if (ienc == CE_UTF8) utf8towcs(wc, xi, nc + 1);
| ~~~^~~
character.c:1602:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1602 | else mbstowcs(wc, xi, nc + 1);
| ~~~^~~
character.c:1604:35: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1604 | BSEARCH(tbl,&wc[j], xtable, xtable_cnt,
| ^~~~~~~~~~
character.c:1422:9: note: in definition of macro ‘BSEARCH’
1422 | u = _nmemb; \
| ^~~~~~
character.c:1611:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1611 | wcstoutf8(cbuf, wc, nb);
| ^~
character.c:1616:29: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1616 | wcstombs(cbuf, wc, nb + 1);
| ~~~^~~
character.c: In function ‘do_strtrim’:
character.c:1726:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1726 | buf = R_AllocStringBuffer(nc, &cbuff);
| ^~
character.c:1731:31: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1731 | nb = (int) Mbrtowc(&wc, p, R_MB_CUR_MAX, &mb_st);
| ^~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c coerce.c -o coerce.o
coerce.c: In function ‘Rf_coerceVector’:
coerce.c:1176:25: warning: conversion to ‘int’ from ‘SEXPTYPE’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
1176 | ans = ALTREP_COERCE(v, type);
| ^~~~
In file included from ../../src/include/IOStuff.h:35,
from ../../src/include/Parse.h:26,
from coerce.c:30:
coerce.c: In function ‘ascommon’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
coerce.c:71:30: note: in expansion of macro ‘UNSET_S4_OBJECT’
71 | if (IS_S4_OBJECT(__x__)) UNSET_S4_OBJECT(__x__); \
| ^~~~~~~~~~~~~~~
coerce.c:1387:6: note: in expansion of macro ‘CLEAR_ATTRIB’
1387 | CLEAR_ATTRIB(v);
| ^~~~~~~~~~~~
coerce.c: In function ‘do_asatomic’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
coerce.c:71:30: note: in expansion of macro ‘UNSET_S4_OBJECT’
71 | if (IS_S4_OBJECT(__x__)) UNSET_S4_OBJECT(__x__); \
| ^~~~~~~~~~~~~~~
coerce.c:1482:2: note: in expansion of macro ‘CLEAR_ATTRIB’
1482 | CLEAR_ATTRIB(ans);
| ^~~~~~~~~~~~
coerce.c:1485:37: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1485 | ans = ascommon(call, CAR(args), type);
| ^~~~
In file included from ../../src/include/IOStuff.h:35,
from ../../src/include/Parse.h:26,
from coerce.c:30:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
coerce.c:71:30: note: in expansion of macro ‘UNSET_S4_OBJECT’
71 | if (IS_S4_OBJECT(__x__)) UNSET_S4_OBJECT(__x__); \
| ^~~~~~~~~~~~~~~
coerce.c:1486:5: note: in expansion of macro ‘CLEAR_ATTRIB’
1486 | CLEAR_ATTRIB(ans);
| ^~~~~~~~~~~~
coerce.c: In function ‘do_asvector’:
coerce.c:1521:2: warning: conversion to ‘int’ from ‘SEXPTYPE’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
1521 | (!strcmp("function", CHAR(STRING_ELT(CADR(args), 0)))) /* ASCII */
| ^
In file included from ../../src/include/IOStuff.h:35,
from ../../src/include/Parse.h:26,
from coerce.c:30:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
coerce.c:71:30: note: in expansion of macro ‘UNSET_S4_OBJECT’
71 | if (IS_S4_OBJECT(__x__)) UNSET_S4_OBJECT(__x__); \
| ^~~~~~~~~~~~~~~
coerce.c:1536:6: note: in expansion of macro ‘CLEAR_ATTRIB’
1536 | CLEAR_ATTRIB(ans);
| ^~~~~~~~~~~~
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
coerce.c:71:30: note: in expansion of macro ‘UNSET_S4_OBJECT’
71 | if (IS_S4_OBJECT(__x__)) UNSET_S4_OBJECT(__x__); \
| ^~~~~~~~~~~~~~~
coerce.c:1547:3: note: in expansion of macro ‘CLEAR_ATTRIB’
1547 | CLEAR_ATTRIB(ans);
| ^~~~~~~~~~~~
coerce.c:1583:29: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1583 | ans = ascommon(call, x, type);
| ^~~~
In file included from ../../src/include/IOStuff.h:35,
from ../../src/include/Parse.h:26,
from coerce.c:30:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
coerce.c:71:30: note: in expansion of macro ‘UNSET_S4_OBJECT’
71 | if (IS_S4_OBJECT(__x__)) UNSET_S4_OBJECT(__x__); \
| ^~~~~~~~~~~~~~~
coerce.c:1592:2: note: in expansion of macro ‘CLEAR_ATTRIB’
1592 | CLEAR_ATTRIB(ans);
| ^~~~~~~~~~~~
coerce.c: In function ‘do_unsetS4’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
coerce.c:2981:3: note: in expansion of macro ‘UNSET_S4_OBJECT’
2981 | UNSET_S4_OBJECT(obj);
| ^~~~~~~~~~~~~~~
coerce.c: In function ‘R_set_class’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
coerce.c:3074:8: note: in expansion of macro ‘UNSET_S4_OBJECT’
3074 | UNSET_S4_OBJECT(obj);
| ^~~~~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c colors.c -o colors.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c complex.c -o complex.o
In file included from complex.c:68:
complex.c: In function ‘complex_binary’:
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
complex.c:193:2: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
193 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
complex.c:201:2: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
201 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
complex.c:209:2: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
209 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
complex.c:215:2: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
215 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
| ^~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
complex.c:221:2: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
221 | MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
| ^~~~~~~~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c connections.c -o connections.o
connections.c: In function ‘buff_seek’:
connections.c:373:43: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
373 | return con->seek(con, where, origin, rw) - unread_len;
| ^
connections.c:380:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
380 | where -= unread_len;
| ^~
connections.c: In function ‘dummy_vfprintf’:
connections.c:517:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
517 | size_t inb = res, onb, ires;
| ^~~
connections.c:536:31: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
536 | con->write(outbuf, 1, ob - outbuf, con);
| ~~~^~~~~~~~
connections.c:540:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
540 | con->write(b, 1, res, con);
| ^~~
connections.c: In function ‘dummy_fgetc’:
connections.c:582:14: warning: conversion to ‘unsigned int’ from ‘short int’ may change the sign of the result [-Wsign-conversion]
582 | for(i = con->inavail; i < 25; i++) {
| ^~~
connections.c:635:19: warning: conversion from ‘int’ to ‘short int’ may change value [-Wconversion]
635 | con->inavail -= (short) 2;
| ^
connections.c:636:48: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘short int’ may change the sign of the result [-Wsign-conversion]
636 | memmove(con->iconvbuff, con->iconvbuff+2, con->inavail);
| ~~~^~~~~~~~~
connections.c:640:19: warning: conversion from ‘int’ to ‘short int’ may change value [-Wconversion]
640 | con->inavail -= (short) 3;
| ^
connections.c:641:48: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘short int’ may change the sign of the result [-Wsign-conversion]
641 | memmove(con->iconvbuff, con->iconvbuff+3, con->inavail);
| ~~~^~~~~~~~~
connections.c:643:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘short int’ may change the sign of the result [-Wsign-conversion]
643 | ib = con->iconvbuff; inb = con->inavail;
| ^~~
connections.c: In function ‘fifo_read’:
connections.c:1272:46: warning: conversion to ‘long unsigned int’ from ‘ssize_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1272 | return read(this->fd, ptr, size * nitems)/size;
| ^
connections.c: In function ‘fifo_write’:
connections.c:1283:47: warning: conversion to ‘long unsigned int’ from ‘ssize_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1283 | return write(this->fd, ptr, size * nitems)/size;
| ^
In file included from connections.c:1813:
gzio.h: In function ‘check_header’:
gzio.h:136:58: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
136 | len = (uInt) fread(s->buffer + len, 1, Z_BUFSIZE >> len, s->file);
| ^
gzio.h:141:30: warning: conversion to ‘int’ from ‘uInt’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
141 | s->transparent = s->stream.avail_in;
| ^
gzio.h: In function ‘R_gzseek’:
gzio.h:501:20: warning: conversion to ‘uInt’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
501 | size = R_gzwrite(file, s->buffer, size);
| ^~~~~~~~~
connections.c: In function ‘gzfile_read’:
connections.c:1918:58: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1918 | return R_gzread(fp, ptr, (unsigned int)(size*nitems))/size;
| ^
connections.c: In function ‘gzfile_write’:
connections.c:1928:66: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1928 | return R_gzwrite(fp, (voidp)ptr, (unsigned int)(size*nitems))/size;
| ^
connections.c: In function ‘bzfile_read’:
connections.c:2073:36: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2073 | next_unused = (char*) malloc(nUnused);
| ^~~~~~~
connections.c:2076:35: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2076 | memcpy(next_unused, unused, nUnused);
| ^~~~~~~
connections.c:2106:18: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2106 | return nread / size;
| ^
connections.c: In function ‘xzfile_open’:
connections.c:2226:27: warning: conversion to ‘uint32_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2226 | uint32_t preset_number = abs(xz->compress);
| ^~~
connections.c: In function ‘clp_open’:
connections.c:2900:35: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2900 | this->buff = (char *) malloc(len + 1);
| ~~~~^~~
connections.c: In function ‘clp_read’:
connections.c:3011:42: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3011 | strncpy(ptr, this->buff + this->pos, used);
| ^~~~
connections.c: In function ‘clp_write’:
connections.c:3050:38: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3050 | memcpy(this->buff + this->pos, ptr, used);
| ^~~~
In file included from connections.c:113:
connections.c: In function ‘raw_init’:
../../src/include/Defn.h:405:20: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
405 | #define XLENGTH(x) XLENGTH_EX(x)
| ^~~~~~~~~~
connections.c:3282:20: note: in expansion of macro ‘XLENGTH’
3282 | this->nbytes = XLENGTH(this->data);
| ^~~~~~~
In file included from ../../src/include/Defn.h:104,
from connections.c:113:
connections.c: In function ‘raw_resize’:
connections.c:3310:39: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
3310 | PROTECT(tmp = allocVector(RAWSXP, nalloc));
| ^~~~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
connections.c: In function ‘raw_write’:
connections.c:3323:44: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
3323 | size_t freespace = XLENGTH(this->data) - this->pos, bytes = size*nitems;
| ^
connections.c: In function ‘do_rawconvalue’:
connections.c:3499:35: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
3499 | ans = allocVector(RAWSXP, this->nbytes); /* later, use TRUELENGTH? */
| ~~~~^~~~~~~~
connections.c: In function ‘text_init’:
connections.c:3555:17: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘char’ may change the sign of the result [-Wsign-conversion]
3555 | this->cur = this->save = 0;
| ^~~~
In file included from ../../src/include/Defn.h:104,
from connections.c:113:
connections.c: In function ‘outtext_close’:
connections.c:3652:40: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
3652 | PROTECT(tmp = xlengthgets(this->data, ++this->len));
| ^~~~~~~~~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
connections.c:3653:32: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
3653 | SET_STRING_ELT(tmp, this->len - 1, mkCharLocal(this->lastline));
| ~~~~~~~~~~^~~
connections.c: In function ‘text_vfprintf’:
connections.c:3697:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3697 | res = vsnprintf(p, buffree, format, aq);
| ^~~~~~~
connections.c:3702:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3702 | size_t sz = res + already + 1;
| ^~~
connections.c:3706:18: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3706 | vsnprintf(p, sz - already, format, ap);
| ^
connections.c:3708:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3708 | #define NBUFSIZE (already + 100*BUFSIZE)
| ~~~~~~~~~^~~~~~~~~~~~~~
connections.c:3710:14: note: in expansion of macro ‘NBUFSIZE’
3710 | b = R_alloc(NBUFSIZE, sizeof(char));
| ^~~~~~~~
connections.c:3708:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3708 | #define NBUFSIZE (already + 100*BUFSIZE)
| ~~~~~~~~~^~~~~~~~~~~~~~
connections.c:3711:29: note: in expansion of macro ‘NBUFSIZE’
3711 | strncpy(b, this->lastline, NBUFSIZE); /* `already` < NBUFSIZE */
| ^~~~~~~~
In file included from ../../src/include/Defn.h:104,
from connections.c:113:
connections.c:3727:44: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
3727 | PROTECT(tmp = xlengthgets(this->data, ++this->len));
| ^~~~~~~~~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
connections.c:3728:36: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
3728 | SET_STRING_ELT(tmp, this->len - 1, mkCharLocal(p));
| ~~~~~~~~~~^~~
In file included from connections.c:113:
connections.c: In function ‘outtext_init’:
../../src/include/Defn.h:401:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
connections.c:3801:17: note: in expansion of macro ‘LENGTH’
3801 | this->len = LENGTH(val);
| ^~~~~~
connections.c: In function ‘do_isopen’:
connections.c:4119:23: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
4119 | case 1: res = res & con->canread; break;
| ^
connections.c:4119:19: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
4119 | case 1: res = res & con->canread; break;
| ^~~
connections.c:4120:23: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
4120 | case 2: res = res & con->canwrite; break;
| ^
connections.c:4120:19: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
4120 | case 2: res = res & con->canwrite; break;
| ^~~
connections.c: In function ‘rawRead’:
connections.c:4653:38: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
4653 | if (size) memcpy(p, bytes + *(np), m*size);
| ~^~~~~
connections.c: In function ‘rawOneString’:
connections.c:4675:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
4675 | buf = R_chk_calloc(nbytes - (*np) + 1, 1);
| ~~~~~~~~~~~~~~~^~~
connections.c:4676:36: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
4676 | memcpy(buf, bytes+(*np), nbytes-(*np));
| ~~~~~~^~~~~~
connections.c: In function ‘do_readbin’:
connections.c:4763:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
4763 | size_t n1 = (n0 < BLOCK) ? n0 : BLOCK;
| ^
connections.c:4764:22: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
4764 | m0 = con->read(pp, size, n1, con);
| ^~~~
connections.c:4764:8: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
4764 | m0 = con->read(pp, size, n1, con);
| ^~~
connections.c:4768:6: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
4768 | n0 -= n1;
| ^~
connections.c:4768:9: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
4768 | n0 -= n1;
| ^~
connections.c:4769:12: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
4769 | pp += n1 * size;
| ^
connections.c:4850:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
4850 | size_t n1 = (n0 < BLOCK) ? n0 : BLOCK;
| ^
connections.c:4851:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
4851 | m0 = con->read(pp, size, n1, con);
| ^~~~
connections.c:4851:12: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
4851 | m0 = con->read(pp, size, n1, con);
| ^~~
connections.c:4855:10: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
4855 | n0 -= n1;
| ^~
connections.c:4855:13: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
4855 | n0 -= n1;
| ^~
connections.c:4856:16: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
4856 | pp += n1 * size;
| ^
connections.c:4880:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
4880 | : (int) con->read((char*) &u, size, 1, con);
| ^~~~
connections.c:4913:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
4913 | : (int) con->read((char*) &u, size, 1, con);
| ^~~~
In file included from ../../src/include/Defn.h:104,
from connections.c:113:
connections.c: In function ‘do_writebin’:
connections.c:5007:40: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
5007 | PROTECT(ans = allocVector(RAWSXP, outlen));
| ^~~~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
connections.c:5064:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5064 | char *buf = R_chk_calloc(len, size);
| ^~~
connections.c:5064:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5064 | char *buf = R_chk_calloc(len, size);
| ^~~~
connections.c:5071:37: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5071 | memcpy(buf, INTEGER(object), size * len);
| ~~~~~^~~~~
connections.c:5078:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5078 | memcpy(buf + j, &l1, size);
| ^~~~
connections.c:5096:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5096 | memcpy(buf + j, &s1, size);
| ^~~~
connections.c:5112:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5112 | memcpy(buf, REAL(object), size * len);
| ~~~~~^~~~~
connections.c:5118:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5118 | memcpy(buf+j, &f1, size);
| ^~~~
connections.c:5131:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5131 | memcpy(buf+j, &ld1, size);
| ^~~~
connections.c:5141:40: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5141 | memcpy(buf, COMPLEX(object), size * len);
| ~~~~~^~~~~
connections.c:5144:31: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5144 | memcpy(buf, RAW(object), len); /* size = 1 */
| ^~~
connections.c:5162:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5162 | memcpy(RAW(ans), buf, size*len);
| ~~~~^~~~
connections.c:5164:38: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | size_t nwrite = con->write(buf, size, len, con);
| ^~~~
connections.c:5164:44: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5164 | size_t nwrite = con->write(buf, size, len, con);
| ^~~
connections.c: In function ‘readFixedString’:
connections.c:5191:32: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
5191 | R_SIZE_T count = R_MB_CUR_MAX * (R_SIZE_T)len +1;
| ^
connections.c:5202:45: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5202 | m = (int) con->read(p, sizeof(char), clen - 1, con);
| ~~~~~^~~
connections.c:5206:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5206 | if((int)mbrtowc(NULL, q, clen, &mb_st) < 0)
| ^~~~
connections.c:5215:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5215 | buf = (char *) R_alloc(len+1, sizeof(char));
| ~~~^~
connections.c:5217:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5217 | memset(buf, 0, len+1);
| ~~~^~
connections.c:5218:41: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5218 | m = (int) con->read(buf, sizeof(char), len, con);
| ^~~
connections.c: In function ‘rawFixedString’:
connections.c:5248:47: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
5248 | char *p = buf = (char *) R_alloc(R_MB_CUR_MAX*(R_SIZE_T)len +1, sizeof(char));
| ^
connections.c:5252:22: warning: conversion to ‘char’ from ‘Rbyte’ {aka ‘unsigned char’} may change the sign of the result [-Wsign-conversion]
5252 | clen = utf8clen(*q);
| ^~
connections.c:5255:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5255 | memcpy(p, q, clen);
| ^~~~
connections.c:5263:25: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5263 | buf = R_chk_calloc(len + 1, 1);
| ~~~~^~~
connections.c:5265:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5265 | memcpy(buf, bytes + (*np), len);
| ^~~
connections.c: In function ‘do_writechar’:
connections.c:5414:28: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
5414 | if (tlen > len) len = tlen;
| ^~~~
connections.c:5420:29: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5420 | buf = (char *) R_alloc(len + slen, sizeof(char));
| ^
connections.c:5424:42: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5424 | dlen += (double)(INTEGER(nchars)[i] + slen);
| ^
connections.c:5459:14: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5459 | if (len + slen)
| ^
connections.c:5460:25: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5460 | memset(buf, '\0', len + slen);
| ^
connections.c:5462:25: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5462 | memcpy(buf, CHAR(si), len);
| ^~~
connections.c:5465:7: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5465 | len += slen;
| ^~
connections.c:5465:10: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
5465 | len += slen;
| ^~~~
connections.c:5468:49: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5468 | size_t nwrite = con->write(buf, sizeof(char), len, con);
| ^~~
connections.c:5485:16: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5485 | lenb += (len - lenc);
| ^
connections.c:5494:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5494 | used = Mbrtowc(NULL, p, R_MB_CUR_MAX, &mb_st);
| ^~~~~~~~~~~~
connections.c:5499:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
5499 | lenb = len;
| ^~~
connections.c: In function ‘Rf_con_pushback’:
connections.c:5544:50: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
5544 | q = (char **) realloc(con->PushBack, (nexists+1)*sizeof(char *));
| ^
connections.c: In function ‘do_pushback’:
connections.c:5586:54: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
5586 | q = (char **) realloc(con->PushBack, (n+nexists)*sizeof(char *));
| ^
connections.c:5588:28: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
5588 | q = (char **) malloc(n*sizeof(char *));
| ^
connections.c:5596:41: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5596 | *q = (char *) malloc(strlen(p) + 1 + newLine);
| ^
connections.c: In function ‘Rf_InitConnections’:
connections.c:5766:55: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
5766 | Connections = (Rconnection *) malloc(NCONNECTIONS * sizeof(Rconnection));
| ^
connections.c: In function ‘gzcon_open’:
connections.c:6199:23: warning: conversion to ‘char’ from ‘unsigned char’ may change the sign of the result [-Wsign-conversion]
6199 | priv->saved[0] = head[0];
| ^~~~
connections.c:6200:23: warning: conversion to ‘char’ from ‘unsigned char’ may change the sign of the result [-Wsign-conversion]
6200 | priv->saved[1] = head[1];
| ^~~~
connections.c: In function ‘gzcon_read’:
connections.c:6336:62: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
6336 | return (nsaved + icon->read((char *) ptr+nsaved, 1, len - nsaved,
| ^
connections.c:6336:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
6336 | return (nsaved + icon->read((char *) ptr+nsaved, 1, len - nsaved,
| ^
In file included from connections.c:113:
connections.c: In function ‘R_compress1’:
../../src/include/Defn.h:401:19: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
connections.c:6613:26: note: in expansion of macro ‘LENGTH’
6613 | unsigned int inlen = LENGTH(in);
| ^~~~~~
connections.c:6620:43: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘uLong’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
6620 | SEXP ans = allocVector(RAWSXP, outlen + 4);
| ~~~~~~~^~~
In file included from connections.c:113:
connections.c: In function ‘R_decompress1’:
../../src/include/Defn.h:401:19: warning: conversion to ‘uLong’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
connections.c:6635:19: note: in expansion of macro ‘LENGTH’
6635 | uLong inlen = LENGTH(in);
| ^~~~~~
connections.c:6644:36: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘uLong’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
6644 | SEXP ans = allocVector(RAWSXP, outlen);
| ^~~~~~
In file included from connections.c:113:
connections.c: In function ‘R_compress2’:
../../src/include/Defn.h:401:19: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
connections.c:6663:13: note: in expansion of macro ‘LENGTH’
6663 | inlen = LENGTH(in);
| ^~~~~~
connections.c: In function ‘R_decompress2’:
../../src/include/Defn.h:401:19: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
connections.c:6697:13: note: in expansion of macro ‘LENGTH’
6697 | inlen = LENGTH(in);
| ^~~~~~
connections.c: In function ‘R_compress3’:
../../src/include/Defn.h:401:19: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
connections.c:6882:13: note: in expansion of macro ‘LENGTH’
6882 | inlen = LENGTH(in);
| ^~~~~~
connections.c: In function ‘R_decompress3’:
../../src/include/Defn.h:401:19: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
connections.c:6922:13: note: in expansion of macro ‘LENGTH’
6922 | inlen = LENGTH(in);
| ^~~~~~
connections.c: In function ‘do_memCompress’:
../../src/include/Defn.h:405:20: warning: conversion to ‘uLong’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
405 | #define XLENGTH(x) XLENGTH_EX(x)
| ^~~~~~~~~~
connections.c:7034:16: note: in expansion of macro ‘XLENGTH’
7034 | uLong inlen = XLENGTH(from),
| ^~~~~~~
connections.c:7039:28: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘uLong’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
7039 | ans = allocVector(RAWSXP, outlen);
| ^~~~~~
In file included from connections.c:113:
../../src/include/Defn.h:401:19: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
connections.c:7049:23: note: in expansion of macro ‘LENGTH’
7049 | unsigned int inlen = LENGTH(from),
| ^~~~~~
../../src/include/Defn.h:405:20: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
405 | #define XLENGTH(x) XLENGTH_EX(x)
| ^~~~~~~~~~
connections.c:7063:17: note: in expansion of macro ‘XLENGTH’
7063 | size_t inlen = XLENGTH(from), outlen;
| ^~~~~~~
connections.c:7091:28: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
7091 | ans = allocVector(RAWSXP, outlen);
| ^~~~~~
In file included from connections.c:113:
../../src/include/Defn.h:405:20: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
405 | #define XLENGTH(x) XLENGTH_EX(x)
| ^~~~~~~~~~
connections.c:7099:17: note: in expansion of macro ‘XLENGTH’
7099 | size_t inlen = XLENGTH(from);
| ^~~~~~~
connections.c:7106:28: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
7106 | ans = allocVector(RAWSXP, res);
| ^~~
In file included from connections.c:113:
connections.c: In function ‘do_memDecompress’:
../../src/include/Defn.h:401:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connections.c:7146:32: note: in expansion of macro ‘LENGTH’
7146 | ct = comp_type_from_memory(p, LENGTH(from), TRUE, &subtype);
| ^~~~~~
../../src/include/Defn.h:405:20: warning: conversion to ‘uLong’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
405 | #define XLENGTH(x) XLENGTH_EX(x)
| ^~~~~~~~~~
connections.c:7215:16: note: in expansion of macro ‘XLENGTH’
7215 | uLong inlen = XLENGTH(from), outlen = 3*inlen;
| ^~~~~~~
connections.c:7237:28: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘uLong’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
7237 | ans = allocVector(RAWSXP, outlen);
| ^~~~~~
In file included from connections.c:113:
../../src/include/Defn.h:401:19: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
connections.c:7246:23: note: in expansion of macro ‘LENGTH’
7246 | unsigned int inlen = LENGTH(from), outlen;
| ^~~~~~
../../src/include/Defn.h:405:20: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
405 | #define XLENGTH(x) XLENGTH_EX(x)
| ^~~~~~~~~~
connections.c:7271:17: note: in expansion of macro ‘XLENGTH’
7271 | size_t inlen = XLENGTH(from);
| ^~~~~~~
connections.c:7318:28: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
7318 | ans = allocVector(RAWSXP, outlen);
| ^~~~~~
In file included from connections.c:113:
../../src/include/Defn.h:405:20: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
405 | #define XLENGTH(x) XLENGTH_EX(x)
| ^~~~~~~~~~
connections.c:7326:17: note: in expansion of macro ‘XLENGTH’
7326 | size_t inlen = XLENGTH(from), res;
| ^~~~~~~
connections.c:7339:28: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
7339 | ans = allocVector(RAWSXP, res);
| ^~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c context.c -o context.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c cum.c -o cum.o
In file included from context.c:111:
context.c: In function ‘R_run_onexits’:
../../src/include/Defn.h:787:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^
context.c:152:6: note: in expansion of macro ‘R_CheckStack’
152 | R_CheckStack();
| ^~~~~~~~~~~~
../../src/include/Defn.h:787:19: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^~~~~~~~~~~
context.c:152:6: note: in expansion of macro ‘R_CheckStack’
152 | R_CheckStack();
| ^~~~~~~~~~~~
In file included from context.c:111:
context.c: In function ‘Rf_endcontext’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
context.c:312:6: note: in expansion of macro ‘INCREMENT_LINKS’
312 | INCREMENT_LINKS(cptr_retval);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
context.c:318:6: note: in expansion of macro ‘DECREMENT_LINKS’
318 | DECREMENT_LINKS(cptr_retval);
| ^~~~~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dcf.c -o dcf.o
dcf.c: In function ‘Rconn_getline2’:
dcf.c:49:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
49 | char *buf2 = R_alloc(bufsize, sizeof(char));
| ^~~~~~~
dcf.c:50:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
50 | memcpy(buf2, buf, nbuf);
| ^~~~
dcf.c: In function ‘do_readDCF’:
dcf.c:111:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
111 | buf = (char *) malloc(buflen);
| ^~~~~~
dcf.c:185:38: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
185 | char *tmp = (char *) realloc(buf, need);
| ^~~~
dcf.c:213:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
213 | line, whatlen) == 0) {
| ^~~~~~~
dcf.c:266:42: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
266 | char *tmp = (char *) realloc(buf, need);
| ^~~~
dcf.c:273:44: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
273 | strncpy(buf, line, Rf_strchr(line, ':') - line);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c datetime.c -o datetime.o
In file included from datetime.c:185:
Rstrptime.h: In function ‘Rwcsncasecmp’:
Rstrptime.h:213:29: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
213 | if(*b == L'\0' || towlower(*a) != towlower(*b)) return 1;
| ^~
Rstrptime.h:213:45: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
213 | if(*b == L'\0' || towlower(*a) != towlower(*b)) return 1;
| ^~
Rstrptime.h: In function ‘w_strptime_internal’:
Rstrptime.h:249:16: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘const int’} may change the sign of the result [-Wsign-conversion]
249 | if (iswspace (*fmt))
| ^~~~
Rstrptime.h:251:23: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
251 | while (iswspace (*rp))
| ^~~
Rstrptime.h:386:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
386 | while (iswspace (*rp))
| ^~~
datetime.c: In function ‘do_formatPOSIXlt’:
datetime.c:1390:33: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
1390 | snprintf(p2, sizeof(buf2) - (p2 - buf2), "%0*.*f",
| ^
datetime.c:1421:33: warning: format not a string literal, format string not checked [-Wformat-nonliteral]
1421 | res = strftime(buff, 2049, buf2, &tm);
| ^~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c debug.c -o debug.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c deparse.c -o deparse.o
deparse.c: In function ‘deparse1line_ex’:
deparse.c:345:28: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
345 | buf = R_alloc((size_t) len+lines, sizeof(char));
| ^
deparse.c: In function ‘deparse2buff’:
deparse.c:1248:49: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1248 | if ((parens = needsparens(fop, CAR(s), 1, prevLeft)))
| ^~~~~~~~
deparse.c:1306:49: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1306 | if ((parens = needsparens(fop, CAR(s), 1, prevLeft)))
| ^~~~~~~~
deparse.c:1308:17: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1308 | d->left = parens ? 0 : fop.precedence;
| ^~~~~~
deparse.c:1315:50: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1315 | if ((parens = needsparens(fop, CADR(s), 0, prevLeft)))
| ^~~~~~~~
deparse.c:1327:49: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1327 | if ((parens = needsparens(fop, CAR(s), 1, prevLeft)))
| ^~~~~~~~
deparse.c:1329:17: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1329 | d->left = parens ? 0 : fop.precedence;
| ^~~~~~
deparse.c:1339:47: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1339 | if ((parens = needsparens(fop, CADR(s), 0, prevLeft)))
| ^~~~~~~~
deparse.c:1349:49: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1349 | if ((parens = needsparens(fop, CAR(s), 1, prevLeft)))
| ^~~~~~~~
deparse.c:1351:17: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1351 | d->left = parens ? 0 : fop.precedence;
| ^~~~~~
deparse.c:1360:50: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1360 | if ((parens = needsparens(fop, CADR(s), 0, prevLeft)))
| ^~~~~~~~
deparse.c:1373:49: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1373 | if ((parens = needsparens(fop, CAR(s), 1, prevLeft)))
| ^~~~~~~~
deparse.c:1375:17: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1375 | d->left = parens ? 0 : fop.precedence;
| ^~~~~~
deparse.c:1381:50: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1381 | if ((parens = needsparens(fop, CADR(s), 0, prevLeft)))
| ^~~~~~~~
deparse.c:1391:49: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1391 | if ((parens = needsparens(fop, CAR(s), 0, prevLeft)))
| ^~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c devices.c -o devices.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dotcode.c -o dotcode.o
dotcode.c: In function ‘do_dotcall’:
dotcode.c:1439:35: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1439 | SEXP *cargscp = (SEXP *) R_alloc(nargs, sizeof(SEXP));
| ^~~~~
dotcode.c: In function ‘do_dotCode’:
dotcode.c:1722:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1722 | cargs = (void**) R_alloc(nargs, sizeof(void*));
| ^~~~~
dotcode.c:1723:41: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1723 | if (copy) cargs0 = (void**) R_alloc(nargs, sizeof(void*));
| ^~~~~
dotcode.c:1735:34: warning: conversion to ‘int’ from ‘R_NativePrimitiveArgType’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
1735 | int nprotect = 0, targetType = checkTypes ? checkTypes[na] : 0;
| ^~~~~~~~~~
In file included from ../../src/include/Defn.h:104,
from dotcode.c:27:
dotcode.c:1748:34: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1748 | PROTECT(s = coerceVector(s, targetType));
| ^~~~~~~~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
dotcode.c:1769:25: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1769 | char *ptr = R_alloc(n * sizeof(Rbyte) + 2 * NG, 1);
| ^
dotcode.c:1770:23: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1770 | memset(ptr, FILL, n * sizeof(Rbyte) + 2 * NG);
| ^
dotcode.c:1772:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1772 | if (n) memcpy(ptr, RAW(s), n);
| ^
dotcode.c:1777:36: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1777 | if (n) memcpy(RAW(ss), RAW(s), n * sizeof(Rbyte));
| ^
dotcode.c:1794:25: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1794 | char *ptr = R_alloc(n * sizeof(int) + 2 * NG, 1);
| ^
dotcode.c:1795:23: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1795 | memset(ptr, FILL, n * sizeof(int) + 2 * NG);
| ^
dotcode.c:1797:36: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1797 | if (n) memcpy(ptr, INTEGER(s), n * sizeof(int));
| ^
dotcode.c:1801:44: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1801 | if (n) memcpy(INTEGER(ss), INTEGER(s), n * sizeof(int));
| ^
dotcode.c:1817:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1817 | float *sptr = (float*) R_alloc(n, sizeof(float));
| ^
dotcode.c:1824:25: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1824 | char *ptr = R_alloc(n * sizeof(double) + 2 * NG, 1);
| ^
dotcode.c:1825:23: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1825 | memset(ptr, FILL, n * sizeof(double) + 2 * NG);
| ^
dotcode.c:1827:33: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1827 | if (n) memcpy(ptr, REAL(s), n * sizeof(double));
| ^
dotcode.c:1831:38: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1831 | if (n) memcpy(REAL(ss), REAL(s), n * sizeof(double));
| ^
dotcode.c:1847:25: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1847 | char *ptr = R_alloc(n * sizeof(Rcomplex) + 2 * NG, 1);
| ^
dotcode.c:1848:23: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1848 | memset(ptr, FILL, n * sizeof(Rcomplex) + 2 * NG);
| ^
dotcode.c:1850:36: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1850 | if (n) memcpy(ptr, COMPLEX(s), n * sizeof(Rcomplex));
| ^
dotcode.c:1854:44: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1854 | if (n) memcpy(COMPLEX(ss), COMPLEX(s), n * sizeof(Rcomplex));
| ^
dotcode.c:1874:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1874 | char **cptr = (char**) R_alloc(n, sizeof(char*)),
| ^
dotcode.c:1875:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1875 | **cptr0 = (char**) R_alloc(n, sizeof(char*));
| ^
dotcode.c:1890:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1890 | char **cptr = (char**) R_alloc(n, sizeof(char*));
| ^
dotcode.c:2564:32: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
2564 | if (n) memcpy(RAW(s), ptr, n * sizeof(Rbyte));
| ^
dotcode.c:2565:12: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
2565 | ptr += n * sizeof(Rbyte);
| ^
dotcode.c:2583:36: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
2583 | if (n) memcpy(INTEGER(s), ptr, n * sizeof(int));
| ^
dotcode.c:2584:12: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
2584 | ptr += n * sizeof(int);
| ^
dotcode.c:2607:12: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
2607 | ptr += n * sizeof(int);
| ^
dotcode.c:2637:37: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
2637 | if (n) memcpy(REAL(s), ptr, n * sizeof(double));
| ^
dotcode.c:2638:16: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
2638 | ptr += n * sizeof(double);
| ^
dotcode.c:2665:34: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
2665 | if (n) memcpy(COMPLEX(s), p, n * sizeof(Rcomplex));
| ^
dotcode.c:2666:12: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
2666 | ptr += n * sizeof(Rcomplex);
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dounzip.c -o dounzip.o
dounzip.c: In function ‘setFileTime’:
dounzip.c:88:17: warning: conversion to ‘int’ from ‘uInt’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
88 | dt.tm_sec = tmu_date.tm_sec;
| ^~~~~~~~
dounzip.c:89:17: warning: conversion to ‘int’ from ‘uInt’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
89 | dt.tm_min = tmu_date.tm_min;
| ^~~~~~~~
dounzip.c:90:18: warning: conversion to ‘int’ from ‘uInt’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
90 | dt.tm_hour = tmu_date.tm_hour;
| ^~~~~~~~
dounzip.c:91:18: warning: conversion to ‘int’ from ‘uInt’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
91 | dt.tm_mday = tmu_date.tm_mday;
| ^~~~~~~~
dounzip.c:92:17: warning: conversion to ‘int’ from ‘uInt’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
92 | dt.tm_mon = tmu_date.tm_mon;
| ^~~~~~~~
dounzip.c:94:15: warning: conversion to ‘int’ from ‘uInt’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
94 | dt.tm_year = tmu_date.tm_year - 1900;
| ^~~~~~~~
dounzip.c:96:15: warning: conversion to ‘int’ from ‘uInt’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
96 | dt.tm_year = tmu_date.tm_year;
| ^~~~~~~~
dounzip.c: In function ‘extract_one’:
dounzip.c:194:22: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
194 | if (fwrite(buf, err, 1, fout) != 1) { err = -200; break; }
| ^~~
dounzip.c: In function ‘ziplist’:
dounzip.c:296:24: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘uLong’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
296 | SET_STRING_ELT(names, i, mkChar(filename_inzip));
| ^
dounzip.c:297:21: warning: conversion from ‘ZPOS64_T’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
297 | REAL(lengths)[i] = file_info.uncompressed_size;
| ^~~~~~~~~
dounzip.c:304:24: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘uLong’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
304 | SET_STRING_ELT(dates, i, mkChar(date));
| ^
dounzip.c: In function ‘Runzip’:
dounzip.c:342:35: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
342 | topics = (const char **) R_alloc(ntopics, sizeof(char *));
| ^~~~~~~
dounzip.c: In function ‘unz_read’:
dounzip.c:482:68: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
482 | return unzReadCurrentFile(uf, ptr, (unsigned int)(size*nitems))/size;
| ^
dounzip.c: In function ‘strcmpcasenosensitive_internal’:
dounzip.c:796:12: warning: conversion from ‘int’ to ‘char’ may change value [-Wconversion]
796 | c1 -= 0x20;
| ^~~~
dounzip.c:798:12: warning: conversion from ‘int’ to ‘char’ may change value [-Wconversion]
798 | c2 -= 0x20;
| ^~~~
dounzip.c: In function ‘unz64local_SearchCentralDir’:
dounzip.c:897:23: warning: conversion to ‘ZPOS64_T’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
897 | uPosFound = uReadPos+i;
| ^
dounzip.c: In function ‘unz64local_SearchCentralDir64’:
dounzip.c:961:23: warning: conversion to ‘ZPOS64_T’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
961 | uPosFound = uReadPos+i;
| ^
dounzip.c: In function ‘unz64local_GetCurrentFileInfoInternal’:
dounzip.c:1344:11: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
1344 | lSeek += file_info.size_filename;
| ^~
dounzip.c:1344:14: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
1344 | lSeek += file_info.size_filename;
| ^~~~~~~~~
dounzip.c:1359:8: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
1359 | lSeek -= uSizeRead;
| ^~
dounzip.c:1359:11: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
1359 | lSeek -= uSizeRead;
| ^~~~~~~~~
dounzip.c:1373:36: warning: conversion to ‘ZPOS64_T’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
1373 | if (fseek_func(s->filestream, lSeek, ZLIB_FILEFUNC_SEEK_CUR) == 0)
| ^~~~~
dounzip.c:1383:8: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
1383 | lSeek += file_info.size_file_extra - (uLong)uSizeRead;
| ^~
dounzip.c:1383:11: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
1383 | lSeek += file_info.size_file_extra - (uLong)uSizeRead;
| ^~~~~~~~~
dounzip.c:1386:8: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
1386 | lSeek += file_info.size_file_extra;
| ^~
dounzip.c:1386:11: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
1386 | lSeek += file_info.size_file_extra;
| ^~~~~~~~~
dounzip.c:1394:8: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
1394 | lSeek -= file_info.size_file_extra;
| ^~
dounzip.c:1394:11: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
1394 | lSeek -= file_info.size_file_extra;
| ^~~~~~~~~
dounzip.c:1398:36: warning: conversion to ‘ZPOS64_T’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
1398 | if (fseek_func(s->filestream, lSeek, ZLIB_FILEFUNC_SEEK_CUR) == 0)
| ^~~~~
dounzip.c:1475:36: warning: conversion to ‘ZPOS64_T’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
1475 | if (fseek_func(s->filestream, lSeek, ZLIB_FILEFUNC_SEEK_CUR) == 0)
| ^~~~~
dounzip.c:1484:8: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
1484 | lSeek += file_info.size_file_comment - uSizeRead;
| ^~
dounzip.c:1484:11: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
1484 | lSeek += file_info.size_file_comment - uSizeRead;
| ^~~~~~~~~
dounzip.c:1487:8: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
1487 | lSeek += file_info.size_file_comment;
| ^~
dounzip.c:1487:11: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
1487 | lSeek += file_info.size_file_comment;
| ^~~~~~~~~
dounzip.c: In function ‘unzReadCurrentFile’:
dounzip.c:1982:33: warning: conversion to ‘int’ from ‘uInt’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
1982 | return (iRead == 0) ? UNZ_EOF : iRead;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
dounzip.c:2061:38: warning: conversion to ‘int’ from ‘uInt’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
2061 | return (iRead == 0) ? UNZ_EOF : iRead;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
dounzip.c:2106:33: warning: conversion to ‘int’ from ‘uInt’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
2106 | return (iRead == 0) ? UNZ_EOF : iRead;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
dounzip.c:2113:9: warning: conversion to ‘int’ from ‘uInt’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
2113 | return iRead;
| ^~~~~
dounzip.c: In function ‘ftell_func’:
dounzip.c:2168:17: warning: conversion to ‘ZPOS64_T’ {aka ‘long unsigned int’} from ‘__off_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
2168 | # define f_tell ftello
| ^
dounzip.c:2193:12: note: in expansion of macro ‘f_tell’
2193 | return f_tell((FILE *)stream);
| ^~~~~~
dounzip.c: In function ‘fseek_func’:
dounzip.c:2214:32: warning: conversion to ‘__off_t’ {aka ‘long int’} from ‘ZPOS64_T’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
2214 | if (f_seek((FILE *)stream, offset, fseek_origin) != 0) ret = -1;
| ^~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c dstruct.c -o dstruct.o
In file included from dstruct.c:26:
dstruct.c: In function ‘Rf_mkSYMSXP’:
../../src/include/Defn.h:527:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
527 | #define UNSET_DDVAL_BIT(x) (((x)->sxpinfo.gp) &= ~DDVAL_MASK)
| ^
../../src/include/Defn.h:528:50: note: in expansion of macro ‘UNSET_DDVAL_BIT’
528 | #define SET_DDVAL(x,v) ((v) ? SET_DDVAL_BIT(x) : UNSET_DDVAL_BIT(x)) /* for ..1, ..2 etc */
| ^~~~~~~~~~~~~~~
dstruct.c:157:5: note: in expansion of macro ‘SET_DDVAL’
157 | SET_DDVAL(c, i);
| ^~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c duplicate.c -o duplicate.o
In file included from duplicate.c:26:
duplicate.c: In function ‘duplicate_list’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
duplicate.c:95:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
95 | IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to); \
| ^~~~~~~~~~~~~~~
duplicate.c:271:2: note: in expansion of macro ‘DUPLICATE_ATTRIB’
271 | DUPLICATE_ATTRIB(vp, sp, deep);
| ^~~~~~~~~~~~~~~~
duplicate.c: In function ‘duplicate1’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
duplicate.c:95:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
95 | IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to); \
| ^~~~~~~~~~~~~~~
duplicate.c:306:2: note: in expansion of macro ‘DUPLICATE_ATTRIB’
306 | DUPLICATE_ATTRIB(t, s, deep);
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
duplicate.c:95:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
95 | IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to); \
| ^~~~~~~~~~~~~~~
duplicate.c:320:2: note: in expansion of macro ‘DUPLICATE_ATTRIB’
320 | DUPLICATE_ATTRIB(t, s, deep);
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
duplicate.c:95:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
95 | IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to); \
| ^~~~~~~~~~~~~~~
duplicate.c:327:2: note: in expansion of macro ‘DUPLICATE_ATTRIB’
327 | DUPLICATE_ATTRIB(t, s, deep);
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
duplicate.c:95:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
95 | IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to); \
| ^~~~~~~~~~~~~~~
duplicate.c:340:2: note: in expansion of macro ‘DUPLICATE_ATTRIB’
340 | DUPLICATE_ATTRIB(t, s, deep);
| ^~~~~~~~~~~~~~~~
duplicate.c:79:52: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
79 | else if (__n__) memcpy(fun(to), fun(from), __n__ * sizeof(type)); \
| ^
duplicate.c:344:18: note: in expansion of macro ‘DUPLICATE_ATOMIC_VECTOR’
344 | case LGLSXP: DUPLICATE_ATOMIC_VECTOR(int, LOGICAL, t, s, deep); break;
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from duplicate.c:26:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
duplicate.c:95:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
95 | IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to); \
| ^~~~~~~~~~~~~~~
duplicate.c:80:3: note: in expansion of macro ‘DUPLICATE_ATTRIB’
80 | DUPLICATE_ATTRIB(to, from, deep); \
| ^~~~~~~~~~~~~~~~
duplicate.c:344:18: note: in expansion of macro ‘DUPLICATE_ATOMIC_VECTOR’
344 | case LGLSXP: DUPLICATE_ATOMIC_VECTOR(int, LOGICAL, t, s, deep); break;
| ^~~~~~~~~~~~~~~~~~~~~~~
duplicate.c:79:52: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
79 | else if (__n__) memcpy(fun(to), fun(from), __n__ * sizeof(type)); \
| ^
duplicate.c:345:18: note: in expansion of macro ‘DUPLICATE_ATOMIC_VECTOR’
345 | case INTSXP: DUPLICATE_ATOMIC_VECTOR(int, INTEGER, t, s, deep); break;
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from duplicate.c:26:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
duplicate.c:95:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
95 | IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to); \
| ^~~~~~~~~~~~~~~
duplicate.c:80:3: note: in expansion of macro ‘DUPLICATE_ATTRIB’
80 | DUPLICATE_ATTRIB(to, from, deep); \
| ^~~~~~~~~~~~~~~~
duplicate.c:345:18: note: in expansion of macro ‘DUPLICATE_ATOMIC_VECTOR’
345 | case INTSXP: DUPLICATE_ATOMIC_VECTOR(int, INTEGER, t, s, deep); break;
| ^~~~~~~~~~~~~~~~~~~~~~~
duplicate.c:79:52: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
79 | else if (__n__) memcpy(fun(to), fun(from), __n__ * sizeof(type)); \
| ^
duplicate.c:346:19: note: in expansion of macro ‘DUPLICATE_ATOMIC_VECTOR’
346 | case REALSXP: DUPLICATE_ATOMIC_VECTOR(double, REAL, t, s, deep); break;
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from duplicate.c:26:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
duplicate.c:95:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
95 | IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to); \
| ^~~~~~~~~~~~~~~
duplicate.c:80:3: note: in expansion of macro ‘DUPLICATE_ATTRIB’
80 | DUPLICATE_ATTRIB(to, from, deep); \
| ^~~~~~~~~~~~~~~~
duplicate.c:346:19: note: in expansion of macro ‘DUPLICATE_ATOMIC_VECTOR’
346 | case REALSXP: DUPLICATE_ATOMIC_VECTOR(double, REAL, t, s, deep); break;
| ^~~~~~~~~~~~~~~~~~~~~~~
duplicate.c:79:52: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
79 | else if (__n__) memcpy(fun(to), fun(from), __n__ * sizeof(type)); \
| ^
duplicate.c:347:19: note: in expansion of macro ‘DUPLICATE_ATOMIC_VECTOR’
347 | case CPLXSXP: DUPLICATE_ATOMIC_VECTOR(Rcomplex, COMPLEX, t, s, deep); break;
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from duplicate.c:26:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
duplicate.c:95:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
95 | IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to); \
| ^~~~~~~~~~~~~~~
duplicate.c:80:3: note: in expansion of macro ‘DUPLICATE_ATTRIB’
80 | DUPLICATE_ATTRIB(to, from, deep); \
| ^~~~~~~~~~~~~~~~
duplicate.c:347:19: note: in expansion of macro ‘DUPLICATE_ATOMIC_VECTOR’
347 | case CPLXSXP: DUPLICATE_ATOMIC_VECTOR(Rcomplex, COMPLEX, t, s, deep); break;
| ^~~~~~~~~~~~~~~~~~~~~~~
duplicate.c:79:52: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
79 | else if (__n__) memcpy(fun(to), fun(from), __n__ * sizeof(type)); \
| ^
duplicate.c:348:18: note: in expansion of macro ‘DUPLICATE_ATOMIC_VECTOR’
348 | case RAWSXP: DUPLICATE_ATOMIC_VECTOR(Rbyte, RAW, t, s, deep); break;
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from duplicate.c:26:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
duplicate.c:95:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
95 | IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to); \
| ^~~~~~~~~~~~~~~
duplicate.c:80:3: note: in expansion of macro ‘DUPLICATE_ATTRIB’
80 | DUPLICATE_ATTRIB(to, from, deep); \
| ^~~~~~~~~~~~~~~~
duplicate.c:348:18: note: in expansion of macro ‘DUPLICATE_ATOMIC_VECTOR’
348 | case RAWSXP: DUPLICATE_ATOMIC_VECTOR(Rbyte, RAW, t, s, deep); break;
| ^~~~~~~~~~~~~~~~~~~~~~~
duplicate.c:79:52: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
79 | else if (__n__) memcpy(fun(to), fun(from), __n__ * sizeof(type)); \
| ^
duplicate.c:353:2: note: in expansion of macro ‘DUPLICATE_ATOMIC_VECTOR’
353 | DUPLICATE_ATOMIC_VECTOR(SEXP, STRING_PTR, t, s, deep);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from duplicate.c:26:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
duplicate.c:95:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
95 | IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to); \
| ^~~~~~~~~~~~~~~
duplicate.c:80:3: note: in expansion of macro ‘DUPLICATE_ATTRIB’
80 | DUPLICATE_ATTRIB(to, from, deep); \
| ^~~~~~~~~~~~~~~~
duplicate.c:353:2: note: in expansion of macro ‘DUPLICATE_ATOMIC_VECTOR’
353 | DUPLICATE_ATOMIC_VECTOR(SEXP, STRING_PTR, t, s, deep);
| ^~~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
duplicate.c:95:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
95 | IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to); \
| ^~~~~~~~~~~~~~~
duplicate.c:361:2: note: in expansion of macro ‘DUPLICATE_ATTRIB’
361 | DUPLICATE_ATTRIB(t, s, deep);
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
duplicate.c:370:40: note: in expansion of macro ‘UNSET_S4_OBJECT’
370 | (IS_S4_OBJECT(s) ? SET_S4_OBJECT(t) : UNSET_S4_OBJECT(t));
| ^~~~~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c edit.c -o edit.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c engine.c -o engine.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c envir.c -o envir.o
engine.c: In function ‘CScliplines’:
engine.c:817:29: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
817 | xx = (double *) R_alloc(n, sizeof(double));
| ^
engine.c:818:29: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
818 | yy = (double *) R_alloc(n, sizeof(double));
| ^
engine.c: In function ‘reorderVertices’:
engine.c:1103:43: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1103 | double *xtemp = (double*) R_alloc(n, sizeof(double));
| ^
engine.c:1104:43: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1104 | double *ytemp = (double*) R_alloc(n, sizeof(double));
| ^
engine.c: In function ‘clipPolygon’:
engine.c:1142:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1142 | xc = (double*) R_alloc(n + 1, sizeof(double));
| ~~^~~
engine.c:1143:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1143 | yc = (double*) R_alloc(n + 1, sizeof(double));
| ~~^~~
engine.c:1167:40: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1167 | xc = (double*) R_alloc(npts, sizeof(double));
| ^~~~
engine.c:1168:40: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1168 | yc = (double*) R_alloc(npts, sizeof(double));
| ^~~~
engine.c:1177:38: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1177 | xc = (double*) R_alloc(n + 1, sizeof(double));
| ~~^~~
engine.c:1178:38: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1178 | yc = (double*) R_alloc(n + 1, sizeof(double));
| ~~^~~
engine.c:1197:45: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1197 | xc2 = (double*) R_alloc(npts, sizeof(double));
| ^~~~
engine.c:1198:45: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1198 | yc2 = (double*) R_alloc(npts, sizeof(double));
| ^~~~
engine.c: In function ‘GECircle’:
engine.c:1400:45: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1400 | xc = (double*)R_alloc(result+1, sizeof(double));
| ~~~~~~^~
engine.c:1401:45: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1401 | yc = (double*)R_alloc(result+1, sizeof(double));
| ~~~~~~^~
engine.c: In function ‘VFontFamilyCode’:
engine.c:1732:19: warning: conversion to ‘unsigned int’ from ‘char’ may change the sign of the result [-Wsign-conversion]
1732 | unsigned int j = fontfamily[7]; // protect against signed chars
| ^~~~~~~~~~
engine.c:1733:62: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1733 | if (!strncmp(fontfamily, "Hershey", 7) && j < 9) return 100 + j;
| ~~~~^~~
In file included from engine.c:2035:
xspline.c: In function ‘add_point’:
xspline.c:63:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
63 | tmp_px = (double *) R_alloc(tmp_n, sizeof(double));
| ^~~~~
xspline.c:64:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
64 | tmp_py = (double *) R_alloc(tmp_n, sizeof(double));
| ^~~~~
engine.c: In function ‘GEXspline’:
engine.c:2061:29: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2061 | ys = (double *) R_alloc(n, sizeof(double));
| ^
engine.c: In function ‘GESymbol’:
engine.c:2144:23: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2144 | res = ucstoutf8(str, -pch); // throws error if unsuccessful
| ^~~~
engine.c: In function ‘GEstring_to_pch’:
engine.c:3347:38: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3347 | if ( (int) mbtoucs(&ucs, CHAR(pch), R_MB_CUR_MAX) > 0) ipch = ucs;
| ^~~~~~~~~~~~
engine.c:3347:64: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3347 | if ( (int) mbtoucs(&ucs, CHAR(pch), R_MB_CUR_MAX) > 0) ipch = ucs;
| ^~~
engine.c: In function ‘hexdigit’:
engine.c:3392:51: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3392 | if('0' <= digit && digit <= '9') return digit - '0';
| ~~~~~~^~~~~
engine.c:3393:56: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3393 | if('A' <= digit && digit <= 'F') return 10 + digit - 'A';
| ~~~~~~~~~~~^~~~~
engine.c:3394:56: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3394 | if('a' <= digit && digit <= 'f') return 10 + digit - 'a';
| ~~~~~~~~~~~^~~~~
engine.c:3396:12: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3396 | return digit; /* never occurs (-Wall) */
| ^~~~~
engine.c: In function ‘GE_LTYpar’:
engine.c:3410:21: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3410 | return linetype[i].pattern;
| ~~~~~~~~~~~^~~~~~~~
engine.c:3420:14: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3420 | digit = hexdigit(*p);
| ^~~~~~~~
engine.c:3426:9: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3426 | return code;
| ^~~~
engine.c:3434:23: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3434 | return linetype[code].pattern;
| ~~~~~~~~~~~~~~^~~~~~~~
engine.c:3443:23: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3443 | return linetype[code].pattern;
| ~~~~~~~~~~~~~~^~~~~~~~
envir.c: In function ‘R_Newhashpjw’:
envir.c:232:15: warning: conversion to ‘unsigned int’ from ‘char’ may change the sign of the result [-Wsign-conversion]
232 | h = (h << 4) + (*p);
| ^
envir.c:238:12: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
238 | return h;
| ^
engine.c: In function ‘R_GE_rasterInterpolate’:
engine.c:3597:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3597 | v00r = area00 * R_RED(pixels1);
| ^
engine.c:3597:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3597 | v00r = area00 * R_RED(pixels1);
| ^~~~~~
In file included from envir.c:95:
envir.c: In function ‘R_HashSet’:
engine.c:3598:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3598 | v00g = area00 * R_GREEN(pixels1);
| ^
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
envir.c:263:6: note: in expansion of macro ‘SET_MISSING’
263 | SET_MISSING(chain, 0); /* Over-ride for new value */
| ^~~~~~~~~~~
engine.c:3598:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3598 | v00g = area00 * R_GREEN(pixels1);
| ^~~~~~
engine.c:3599:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3599 | v00b = area00 * R_BLUE(pixels1);
| ^
engine.c:3599:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3599 | v00b = area00 * R_BLUE(pixels1);
| ^~~~~~
engine.c:3600:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3600 | v00a = area00 * R_ALPHA(pixels1);
| ^
engine.c:3600:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3600 | v00a = area00 * R_ALPHA(pixels1);
| ^~~~~~
engine.c:3601:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3601 | v10r = area10 * R_RED(pixels2);
| ^
engine.c:3601:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3601 | v10r = area10 * R_RED(pixels2);
| ^~~~~~
engine.c:3602:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3602 | v10g = area10 * R_GREEN(pixels2);
| ^
engine.c:3602:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3602 | v10g = area10 * R_GREEN(pixels2);
| ^~~~~~
engine.c:3603:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3603 | v10b = area10 * R_BLUE(pixels2);
| ^
engine.c:3603:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3603 | v10b = area10 * R_BLUE(pixels2);
| ^~~~~~
engine.c:3604:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3604 | v10a = area10 * R_ALPHA(pixels2);
| ^
engine.c:3604:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3604 | v10a = area10 * R_ALPHA(pixels2);
| ^~~~~~
engine.c:3605:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3605 | v01r = area01 * R_RED(pixels3);
| ^
engine.c:3605:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3605 | v01r = area01 * R_RED(pixels3);
| ^~~~~~
engine.c:3606:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3606 | v01g = area01 * R_GREEN(pixels3);
| ^
engine.c:3606:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3606 | v01g = area01 * R_GREEN(pixels3);
| ^~~~~~
engine.c:3607:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3607 | v01b = area01 * R_BLUE(pixels3);
| ^
engine.c:3607:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3607 | v01b = area01 * R_BLUE(pixels3);
| ^~~~~~
engine.c:3608:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3608 | v01a = area01 * R_ALPHA(pixels3);
| ^
In file included from envir.c:95:
envir.c: In function ‘R_FlushGlobalCache’:
../../src/include/Defn.h:1232:54: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1232 | #define UNSET_BASE_SYM_CACHED(b) ((b)->sxpinfo.gp &= (~BASE_SYM_CACHED_MASK))
| ^
envir.c:714:2: note: in expansion of macro ‘UNSET_BASE_SYM_CACHED’
714 | UNSET_BASE_SYM_CACHED(sym);
| ^~~~~~~~~~~~~~~~~~~~~
engine.c:3608:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3608 | v01a = area01 * R_ALPHA(pixels3);
| ^~~~~~
engine.c:3609:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3609 | v11r = area11 * R_RED(pixels4);
| ^
envir.c: In function ‘R_AddGlobalCache’:
../../src/include/Defn.h:1232:54: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1232 | #define UNSET_BASE_SYM_CACHED(b) ((b)->sxpinfo.gp &= (~BASE_SYM_CACHED_MASK))
| ^
envir.c:756:2: note: in expansion of macro ‘UNSET_BASE_SYM_CACHED’
756 | UNSET_BASE_SYM_CACHED(symbol);
| ^~~~~~~~~~~~~~~~~~~~~
engine.c:3609:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3609 | v11r = area11 * R_RED(pixels4);
| ^~~~~~
engine.c:3610:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3610 | v11g = area11 * R_GREEN(pixels4);
| ^
engine.c:3610:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3610 | v11g = area11 * R_GREEN(pixels4);
| ^~~~~~
engine.c:3611:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3611 | v11b = area11 * R_BLUE(pixels4);
| ^
engine.c:3611:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3611 | v11b = area11 * R_BLUE(pixels4);
| ^~~~~~
engine.c:3612:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3612 | v11a = area11 * R_ALPHA(pixels4);
| ^
engine.c:3612:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3612 | v11a = area11 * R_ALPHA(pixels4);
| ^~~~~~
engine.c:3616:64: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3616 | (((v00a + v10a + v01a + v11a + 128) << 16) & 0xff000000);
| ^
engine.c:3615:78: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3615 | (((v00b + v10b + v01b + v11b + 128) << 8) & 0x00ff0000) |
| ^
engine.c: In function ‘R_GE_rasterResizeForRotation’:
engine.c:3688:37: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3688 | newRaster[i*wnew + j] = gc->fill;
| ^~
engine.c: In function ‘R_GE_rasterRotate’:
engine.c:3750:32: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3750 | *(dline + j) = gc->fill;
| ^~
engine.c:3760:43: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3760 | rval = ((16 - xf) * (16 - yf) * R_RED(word00) +
| ^
engine.c:3761:36: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3761 | xf * (16 - yf) * R_RED(word10) +
| ^
engine.c:3762:36: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3762 | (16 - xf) * yf * R_RED(word01) +
| ^
engine.c:3763:29: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3763 | xf * yf * R_RED(word11) + 128) / 256;
| ^
engine.c:3760:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3760 | rval = ((16 - xf) * (16 - yf) * R_RED(word00) +
| ^
engine.c:3764:43: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3764 | gval = ((16 - xf) * (16 - yf) * R_GREEN(word00) +
| ^
engine.c:3765:36: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3765 | xf * (16 - yf) * R_GREEN(word10) +
| ^
engine.c:3766:36: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3766 | (16 - xf) * yf * R_GREEN(word01) +
| ^
engine.c:3767:29: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3767 | xf * yf * R_GREEN(word11) + 128) / 256;
| ^
engine.c:3764:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3764 | gval = ((16 - xf) * (16 - yf) * R_GREEN(word00) +
| ^
engine.c:3768:43: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3768 | bval = ((16 - xf) * (16 - yf) * R_BLUE(word00) +
| ^
engine.c:3769:36: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3769 | xf * (16 - yf) * R_BLUE(word10) +
| ^
engine.c:3770:36: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3770 | (16 - xf) * yf * R_BLUE(word01) +
| ^
engine.c:3771:29: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3771 | xf * yf * R_BLUE(word11) + 128) / 256;
| ^
engine.c:3768:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3768 | bval = ((16 - xf) * (16 - yf) * R_BLUE(word00) +
| ^
engine.c:3773:47: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3773 | aval = ((16 - xf) * (16 - yf) * R_ALPHA(word00) +
| ^
engine.c:3774:40: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3774 | xf * (16 - yf) * R_ALPHA(word10) +
| ^
engine.c:3775:40: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3775 | (16 - xf) * yf * R_ALPHA(word01) +
| ^
engine.c:3776:33: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3776 | xf * yf * R_ALPHA(word11) + 128) / 256;
| ^
engine.c:3773:24: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
3773 | aval = ((16 - xf) * (16 - yf) * R_ALPHA(word00) +
| ^
In file included from ../../src/include/R_ext/GraphicsEngine.h:236,
from engine.c:27:
../../src/include/R_ext/GraphicsDevice.h:871:25: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
871 | #define R_RGBA(r,g,b,a) ((r)|((g)<<8)|((b)<<16)|((a)<<24))
| ^
engine.c:3781:28: note: in expansion of macro ‘R_RGBA’
3781 | *(dline + j) = R_RGBA(rval, gval, bval, aval);
| ^~~~~~
In file included from ../../src/include/Defn.h:2375,
from envir.c:95:
envir.c: In function ‘ddfind’:
envir.c:1441:55: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1441 | "the ... list contains fewer than %d elements", i),
| ^
In file included from envir.c:95:
envir.c: In function ‘Rf_defineVar’:
../../src/include/Defn.h:1240:57: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1240 | #define UNSET_NO_SPECIAL_SYMBOLS(b) ((b)->sxpinfo.gp &= (~SPECIAL_SYMBOL_MASK))
| ^
envir.c:1655:6: note: in expansion of macro ‘UNSET_NO_SPECIAL_SYMBOLS’
1655 | UNSET_NO_SPECIAL_SYMBOLS(rho);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from envir.c:95:
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
envir.c:1663:7: note: in expansion of macro ‘SET_MISSING’
1663 | SET_MISSING(frame, 0); /* Over-ride */
| ^~~~~~~~~~~
envir.c: In function ‘setVarInFrame’:
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
envir.c:1785:3: note: in expansion of macro ‘SET_MISSING’
1785 | SET_MISSING(frame, 0); /* same as defineVar */
| ^~~~~~~~~~~
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
envir.c:1801:6: note: in expansion of macro ‘SET_MISSING’
1801 | SET_MISSING(frame, 0); /* same as defineVar */
| ^~~~~~~~~~~
In file included from envir.c:95:
envir.c: In function ‘R_isMissing’:
../../src/include/Defn.h:787:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^
envir.c:2351:5: note: in expansion of macro ‘R_CheckStack’
2351 | R_CheckStack();
| ^~~~~~~~~~~~
../../src/include/Defn.h:787:19: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^~~~~~~~~~~
envir.c:2351:5: note: in expansion of macro ‘R_CheckStack’
2351 | R_CheckStack();
| ^~~~~~~~~~~~
In file included from envir.c:95:
../../src/include/Defn.h:1171:44: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1171 | #define SET_PRSEEN(x,v) (((x)->sxpinfo.gp)=(v))
| ^
envir.c:2402:3: note: in expansion of macro ‘SET_PRSEEN’
2402 | SET_PRSEEN(CAR(vl), oldseen);
| ^~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c errors.c -o errors.o
In file included from envir.c:95:
envir.c: In function ‘do_detach’:
../../src/include/Defn.h:535:46: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
535 | #define SET_ENVFLAGS(x,v) (((x)->sxpinfo.gp)=(v))
| ^
envir.c:655:3: note: in expansion of macro ‘SET_ENVFLAGS’
655 | SET_ENVFLAGS(e, ENVFLAGS(e) & (~ GLOBAL_FRAME_MASK))
| ^~~~~~~~~~~~
envir.c:2687:2: note: in expansion of macro ‘MARK_AS_LOCAL_FRAME’
2687 | MARK_AS_LOCAL_FRAME(s);
| ^~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:535:46: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
535 | #define SET_ENVFLAGS(x,v) (((x)->sxpinfo.gp)=(v))
| ^
envir.c:655:3: note: in expansion of macro ‘SET_ENVFLAGS’
655 | SET_ENVFLAGS(e, ENVFLAGS(e) & (~ GLOBAL_FRAME_MASK))
| ^~~~~~~~~~~~
envir.c:2690:2: note: in expansion of macro ‘MARK_AS_LOCAL_FRAME’
2690 | MARK_AS_LOCAL_FRAME(s); /* was _GLOBAL_ prior to 2.4.0 */
| ^~~~~~~~~~~~~~~~~~~
In file included from envir.c:95:
envir.c: In function ‘R_unLockBinding’:
../../src/include/Defn.h:1228:47: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1228 | #define UNLOCK_BINDING(b) ((b)->sxpinfo.gp &= (~BINDING_LOCK_MASK))
| ^
envir.c:3451:2: note: in expansion of macro ‘UNLOCK_BINDING’
3451 | UNLOCK_BINDING(sym);
| ^~~~~~~~~~~~~~
../../src/include/Defn.h:1228:47: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1228 | #define UNLOCK_BINDING(b) ((b)->sxpinfo.gp &= (~BINDING_LOCK_MASK))
| ^
envir.c:3456:2: note: in expansion of macro ‘UNLOCK_BINDING’
3456 | UNLOCK_BINDING(binding);
| ^~~~~~~~~~~~~~
envir.c: In function ‘char_hash’:
envir.c:4163:21: warning: conversion to ‘unsigned int’ from ‘char’ may change the sign of the result [-Wsign-conversion]
4163 | h = ((h << 5) + h) + (*p);
| ^
envir.c: In function ‘Rf_InitStringHash’:
envir.c:4169:35: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
4169 | R_StringHash = R_NewHashTable(char_hash_size);
| ^~~~~~~~~~~~~~
envir.c: In function ‘R_StringHash_resize’:
envir.c:4193:32: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
4193 | new_table = R_NewHashTable(newsize);
| ^~~~~~~
envir.c: In function ‘Rf_mkCharLenCE’:
envir.c:4328:36: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
4328 | if (len) memcpy(CHAR_RW(c), name, len);
| ^~~
envir.c:4358:40: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
4358 | (!len || (memcmp(CHAR(val), name, len) == 0))) { // called with len = 0
| ^~~
envir.c:4366:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
4366 | if (len) memcpy(CHAR_RW(cval), name, len);
| ^~~
errors.c: In function ‘R_SignalCStackOverflow’:
errors.c:102:45: warning: conversion from ‘uintptr_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
102 | R_CStackLimit = (uintptr_t) (R_CStackLimit / 0.95);
| ^
errors.c: In function ‘R_CheckStack’:
errors.c:117:34: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
117 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy);
| ^
errors.c:117:22: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
117 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy);
| ^~~~~~~~~~~
errors.c: In function ‘R_CheckStack2’:
errors.c:127:34: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
127 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy);
| ^
errors.c:127:22: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
127 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy);
| ^~~~~~~~~~~
errors.c:135:11: warning: conversion to ‘long unsigned int’ from ‘intptr_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
135 | usage += extra;
| ^~
errors.c:135:14: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
135 | usage += extra;
| ^~~~~
In file included from errors.c:25:
errors.c: In function ‘R_CheckUserInterrupt’:
../../src/include/Defn.h:787:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^
errors.c:143:5: note: in expansion of macro ‘R_CheckStack’
143 | R_CheckStack();
| ^~~~~~~~~~~~
../../src/include/Defn.h:787:19: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^~~~~~~~~~~
errors.c:143:5: note: in expansion of macro ‘R_CheckStack’
143 | R_CheckStack();
| ^~~~~~~~~~~~
In file included from errors.c:25:
errors.c: In function ‘onintrEx’:
../../src/include/Defn.h:516:47: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
516 | #define SET_RDEBUG(x,v) (((x)->sxpinfo.debug)=(v))
| ^
errors.c:179:6: note: in expansion of macro ‘SET_RDEBUG’
179 | SET_RDEBUG(rho, dbflag); /* in case browser() has messed with it */
| ^~~~~~~~~~
errors.c: In function ‘Rf_warning’:
errors.c:49:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
49 | #define min(a, b) (a<b?a:b)
| ^
errors.c:403:13: note: in expansion of macro ‘min’
403 | psize = min(BUFSIZE, R_WarnLength+1);
| ^~~
errors.c: In function ‘wd’:
errors.c:432:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
432 | mbstowcs(wc, buf, nc + 1);
| ~~~^~~
errors.c: In function ‘vwarningcall_dflt’:
errors.c:49:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
49 | #define min(a, b) (a<b?a:b)
| ^
errors.c:487:10: note: in expansion of macro ‘min’
487 | psize = min(BUFSIZE, R_WarnLength+1);
| ^~~
errors.c:49:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
49 | #define min(a, b) (a<b?a:b)
| ^
errors.c:498:10: note: in expansion of macro ‘min’
498 | psize = min(BUFSIZE, R_WarnLength+1);
| ^~~
errors.c:49:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
49 | #define min(a, b) (a<b?a:b)
| ^
errors.c:527:14: note: in expansion of macro ‘min’
527 | psize = min(BUFSIZE, R_WarnLength+1);
| ^~~
errors.c:533:16: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
533 | if (nc && nc + (int)strlen(buf) + 8 < BUFSIZE) {
| ^
In file included from ../../src/include/Defn.h:2375,
from errors.c:25:
errors.c: In function ‘Rf_PrintWarnings’:
errors.c:614:9: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
614 | R_CollectWarnings);
| ^~~~~~~~~~~~~~~~~
errors.c:636:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
636 | if (p) msgline1 = (int)(p - msg);
| ^
errors.c:666:25: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
666 | if (p) msgline1 = (int)(p - msg);
| ^
In file included from ../../src/include/Defn.h:2375,
from errors.c:25:
errors.c:678:10: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
678 | R_CollectWarnings),
| ^~~~~~~~~~~~~~~~~
errors.c: In function ‘verrorcall_dflt’:
errors.c:49:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
49 | #define min(a, b) (a<b?a:b)
| ^
errors.c:791:22: note: in expansion of macro ‘min’
791 | size_t msg_len = min(BUFSIZE, R_WarnLength) + 1;
| ^~~
errors.c:839:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
839 | if (p) msgline1 = (int)(p - tmp);
| ^
errors.c: In function ‘Rf_error’:
errors.c:49:25: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
49 | #define min(a, b) (a<b?a:b)
| ~~~~~~^~~
errors.c:955:26: note: in expansion of macro ‘min’
955 | Rvsnprintf_mbcs(buf, min(BUFSIZE, R_WarnLength), format, ap);
| ^~~
In file included from errors.c:25:
errors.c: In function ‘jump_to_top_ex’:
../../src/include/Defn.h:787:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^
errors.c:1015:3: note: in expansion of macro ‘R_CheckStack’
1015 | R_CheckStack();
| ^~~~~~~~~~~~
../../src/include/Defn.h:787:19: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^~~~~~~~~~~
errors.c:1015:3: note: in expansion of macro ‘R_CheckStack’
1015 | R_CheckStack();
| ^~~~~~~~~~~~
errors.c: In function ‘do_gettext’:
errors.c:1231:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1231 | R_CheckStack2(ihead + 1);
| ~~~~~~^~~
In file included from errors.c:25:
errors.c:1232:36: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1232 | head = (char *) alloca(ihead + 1);
../../src/include/Defn.h:2412:38: note: in definition of macro ‘alloca’
2412 | # define alloca(x) __builtin_alloca((x))
| ^
errors.c:1233:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1233 | Rstrncpy(head, tmp, ihead + 1);
| ~~~~~~^~~
errors.c:1243:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1243 | R_CheckStack2(itail + 1);
| ~~~~~~^~~
In file included from errors.c:25:
errors.c:1244:36: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1244 | tail = (char *) alloca(itail + 1);
../../src/include/Defn.h:2412:38: note: in definition of macro ‘alloca’
2412 | # define alloca(x) __builtin_alloca((x))
| ^
errors.c:1246:22: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1246 | tmp[strlen(tmp)-itail] = '\0';
| ^
errors.c:1256:37: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1256 | R_CheckStack2( strlen(tr) + ihead + itail + 1);
| ^
errors.c:1256:45: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1256 | R_CheckStack2( strlen(tr) + ihead + itail + 1);
| ^
In file included from errors.c:25:
errors.c:1257:36: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1257 | tmp = (char *) alloca(strlen(tr) + ihead + itail + 1);
| ^
../../src/include/Defn.h:2412:38: note: in definition of macro ‘alloca’
2412 | # define alloca(x) __builtin_alloca((x))
| ^
errors.c:1257:44: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1257 | tmp = (char *) alloca(strlen(tr) + ihead + itail + 1);
| ^
../../src/include/Defn.h:2412:38: note: in definition of macro ‘alloca’
2412 | # define alloca(x) __builtin_alloca((x))
| ^
In file included from ../../src/include/Defn.h:2375,
from errors.c:25:
errors.c: In function ‘do_ngettext’:
errors.c:1298:9: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1298 | n);
| ^
In file included from errors.c:25:
errors.c: In function ‘R_signalCondition’:
../../src/include/Defn.h:787:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^
errors.c:2668:7: note: in expansion of macro ‘R_CheckStack’
2668 | R_CheckStack();
| ^~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c eval.c -o eval.o
../../src/include/Defn.h:787:19: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^~~~~~~~~~~
errors.c:2668:7: note: in expansion of macro ‘R_CheckStack’
2668 | R_CheckStack();
| ^~~~~~~~~~~~
eval.c: In function ‘getFilenum’:
eval.c:181:55: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
181 | if (R_Srcfiles[fnum] - (char*)RAW(R_Srcfiles_buffer) + len + 1 >
| ^
eval.c: In function ‘pb_uint’:
eval.c:241:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘char’ may change value [-Wconversion]
241 | digits[i++] = num % 10 + '0';
| ^~~
eval.c:251:11: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
251 | pb->left -= j;
| ^~
eval.c: In function ‘pb_int’:
eval.c:267:16: warning: conversion from ‘int64_t’ {aka ‘long int’} to ‘char’ may change value [-Wconversion]
267 | digits[i++] = num % 10 + '0';
| ^~~
eval.c:282:11: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
282 | pb->left -= j;
| ^~
eval.c: In function ‘pb_dbl’:
eval.c:333:11: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
333 | pb->left -= j;
| ^~
eval.c: In function ‘pf_str’:
eval.c:415:8: warning: conversion to ‘long unsigned int’ from ‘ssize_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
415 | wbyte += w;
| ^~
eval.c:417:13: warning: conversion to ‘ssize_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
417 | return wbyte;
| ^~~~~
eval.c: In function ‘ProfileThread’:
eval.c:618:42: warning: conversion from ‘__time_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
618 | until.tv_nsec = (long) (1e9 * (duntil_s - until.tv_sec));
| ^
eval.c: In function ‘R_InitProfiling’:
eval.c:746:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
746 | R_Srcfile_bufcount = numfiles;
| ^~~~~~~~
eval.c:747:58: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
747 | size_t len1 = R_Srcfile_bufcount*sizeof(char *), len2 = bufsize;
| ^~~~~~~
eval.c:748:68: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
748 | R_PreserveObject( R_Srcfiles_buffer = Rf_allocVector(RAWSXP, len1 + len2) );
| ~~~~~^~~~~~
In file included from eval.c:27:
eval.c: In function ‘INCLNK_stack_commit’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:1021:3: note: in expansion of macro ‘INCREMENT_LINKS’
1021 | INCREMENT_LINKS(p->u.sxpval);
| ^~~~~~~~~~~~~~~
eval.c: In function ‘DECLNK_stack’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:1035:3: note: in expansion of macro ‘DECREMENT_LINKS’
1035 | DECREMENT_LINKS(p->u.sxpval);
| ^~~~~~~~~~~~~~~
In file included from eval.c:27:
eval.c: In function ‘Rf_eval’:
../../src/include/Defn.h:787:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^
eval.c:1148:5: note: in expansion of macro ‘R_CheckStack’
1148 | R_CheckStack();
| ^~~~~~~~~~~~
../../src/include/Defn.h:787:19: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^~~~~~~~~~~
eval.c:1148:5: note: in expansion of macro ‘R_CheckStack’
1148 | R_CheckStack();
| ^~~~~~~~~~~~
In file included from eval.c:27:
eval.c: In function ‘R_CheckJIT’:
../../src/include/Defn.h:376:49: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
376 | #define UNSET_MAYBEJIT(x) (((x)->sxpinfo.gp) &= ~MAYBEJIT_MASK)
| ^
eval.c:1601:6: note: in expansion of macro ‘UNSET_MAYBEJIT’
1601 | UNSET_MAYBEJIT(fun);
| ^~~~~~~~~~~~~~
eval.c: In function ‘make_applyClosure_env’:
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
eval.c:2277:6: note: in expansion of macro ‘SET_MISSING’
2277 | SET_MISSING(a, 2);
| ^~~~~~~~~~~
eval.c: In function ‘R_execMethod’:
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
eval.c:2513:6: note: in expansion of macro ‘SET_MISSING’
2513 | SET_MISSING(FRAME(newrho), missing);
| ^~~~~~~~~~~
eval.c: In function ‘replaceCall’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
../../src/include/Defn.h:328:36: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
328 | #define MARK_ASSIGNMENT_CALL(call) SET_ASSIGNMENT_PENDING(call, TRUE)
| ^~~~~~~~~~~~~~~~~~~~~~
eval.c:2635:5: note: in expansion of macro ‘MARK_ASSIGNMENT_CALL’
2635 | MARK_ASSIGNMENT_CALL(tmp);
| ^~~~~~~~~~~~~~~~~~~~
eval.c: In function ‘SET_BINDING_VALUE’:
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
eval.c:2747:3: note: in expansion of macro ‘SET_MISSING’
2747 | SET_MISSING(loc, 0);
| ^~~~~~~~~~~
eval.c: In function ‘do_for’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:2809:5: note: in expansion of macro ‘INCREMENT_LINKS’
2809 | INCREMENT_LINKS(val);
| ^~~~~~~~~~~~~~~
In file included from ../../src/include/Defn.h:104,
from eval.c:27:
eval.c:2844:21: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2844 | ALLOC_LOOP_VAR(v, val_type, vpi);
| ^~~~~~~~
../../src/include/Rinternals.h:398:36: note: in definition of macro ‘REPROTECT’
398 | #define REPROTECT(x,i) R_Reprotect(x,i)
| ^
eval.c:2844:3: note: in expansion of macro ‘ALLOC_LOOP_VAR’
2844 | ALLOC_LOOP_VAR(v, val_type, vpi);
| ^~~~~~~~~~~~~~
eval.c:2848:21: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2848 | ALLOC_LOOP_VAR(v, val_type, vpi);
| ^~~~~~~~
../../src/include/Rinternals.h:398:36: note: in definition of macro ‘REPROTECT’
398 | #define REPROTECT(x,i) R_Reprotect(x,i)
| ^
eval.c:2848:3: note: in expansion of macro ‘ALLOC_LOOP_VAR’
2848 | ALLOC_LOOP_VAR(v, val_type, vpi);
| ^~~~~~~~~~~~~~
eval.c:2852:21: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2852 | ALLOC_LOOP_VAR(v, val_type, vpi);
| ^~~~~~~~
../../src/include/Rinternals.h:398:36: note: in definition of macro ‘REPROTECT’
398 | #define REPROTECT(x,i) R_Reprotect(x,i)
| ^
eval.c:2852:3: note: in expansion of macro ‘ALLOC_LOOP_VAR’
2852 | ALLOC_LOOP_VAR(v, val_type, vpi);
| ^~~~~~~~~~~~~~
eval.c:2856:21: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2856 | ALLOC_LOOP_VAR(v, val_type, vpi);
| ^~~~~~~~
../../src/include/Rinternals.h:398:36: note: in definition of macro ‘REPROTECT’
398 | #define REPROTECT(x,i) R_Reprotect(x,i)
| ^
eval.c:2856:3: note: in expansion of macro ‘ALLOC_LOOP_VAR’
2856 | ALLOC_LOOP_VAR(v, val_type, vpi);
| ^~~~~~~~~~~~~~
eval.c:2860:21: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2860 | ALLOC_LOOP_VAR(v, val_type, vpi);
| ^~~~~~~~
../../src/include/Rinternals.h:398:36: note: in definition of macro ‘REPROTECT’
398 | #define REPROTECT(x,i) R_Reprotect(x,i)
| ^
eval.c:2860:3: note: in expansion of macro ‘ALLOC_LOOP_VAR’
2860 | ALLOC_LOOP_VAR(v, val_type, vpi);
| ^~~~~~~~~~~~~~
eval.c:2864:21: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2864 | ALLOC_LOOP_VAR(v, val_type, vpi);
| ^~~~~~~~
../../src/include/Rinternals.h:398:36: note: in definition of macro ‘REPROTECT’
398 | #define REPROTECT(x,i) R_Reprotect(x,i)
| ^
eval.c:2864:3: note: in expansion of macro ‘ALLOC_LOOP_VAR’
2864 | ALLOC_LOOP_VAR(v, val_type, vpi);
| ^~~~~~~~~~~~~~
In file included from eval.c:27:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:2885:5: note: in expansion of macro ‘DECREMENT_LINKS’
2885 | DECREMENT_LINKS(val);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:516:47: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
516 | #define SET_RDEBUG(x,v) (((x)->sxpinfo.debug)=(v))
| ^
eval.c:2887:5: note: in expansion of macro ‘SET_RDEBUG’
2887 | SET_RDEBUG(rho, dbg);
| ^~~~~~~~~~
eval.c: In function ‘do_while’:
../../src/include/Defn.h:516:47: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
516 | #define SET_RDEBUG(x,v) (((x)->sxpinfo.debug)=(v))
| ^
eval.c:2934:5: note: in expansion of macro ‘SET_RDEBUG’
2934 | SET_RDEBUG(rho, dbg);
| ^~~~~~~~~~
eval.c: In function ‘do_repeat’:
../../src/include/Defn.h:516:47: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
516 | #define SET_RDEBUG(x,v) (((x)->sxpinfo.debug)=(v))
| ^
eval.c:2964:5: note: in expansion of macro ‘SET_RDEBUG’
2964 | SET_RDEBUG(rho, dbg);
| ^~~~~~~~~~
eval.c: In function ‘evalseq’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
eval.c:3193:6: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
3193 | SET_ASSIGNMENT_PENDING(ploc->cell, TRUE);
| ^~~~~~~~~~~~~~~~~~~~~~
eval.c: In function ‘applydefine’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
eval.c:3391:17: note: in expansion of macro ‘INCREMENT_REFCNT’
3391 | if (refrhs) INCREMENT_REFCNT(saverhs);
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
eval.c:3443:5: note: in expansion of macro ‘DECREMENT_REFCNT’
3443 | DECREMENT_REFCNT(CDR(tmploc.cell));
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
eval.c:3516:5: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
3516 | SET_ASSIGNMENT_PENDING(lhsloc.cell, FALSE);
| ^~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
eval.c:3541:17: note: in expansion of macro ‘DECREMENT_REFCNT’
3541 | if (refrhs) DECREMENT_REFCNT(saverhs);
| ^~~~~~~~~~~~~~~~
eval.c: In function ‘Rf_evalList’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:3627:7: note: in expansion of macro ‘INCREMENT_LINKS’
3627 | INCREMENT_LINKS(val);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:3666:6: note: in expansion of macro ‘INCREMENT_LINKS’
3666 | INCREMENT_LINKS(val);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:3679:2: note: in expansion of macro ‘DECREMENT_LINKS’
3679 | DECREMENT_LINKS(CAR(el));
| ^~~~~~~~~~~~~~~
eval.c: In function ‘Rf_evalListKeepMissing’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:3717:7: note: in expansion of macro ‘INCREMENT_LINKS’
3717 | INCREMENT_LINKS(val);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:3740:6: note: in expansion of macro ‘INCREMENT_LINKS’
3740 | INCREMENT_LINKS(val);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:3753:2: note: in expansion of macro ‘DECREMENT_LINKS’
3753 | DECREMENT_LINKS(CAR(el));
| ^~~~~~~~~~~~~~~
eval.c: In function ‘Rf_promiseArgs’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
eval.c:3819:5: note: in expansion of macro ‘DECREMENT_REFCNT’
3819 | DECREMENT_REFCNT(ans);
| ^~~~~~~~~~~~~~~~
eval.c: In function ‘Rf_DispatchOrEval’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:4235:6: note: in expansion of macro ‘INCREMENT_LINKS’
4235 | INCREMENT_LINKS(x);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:4237:6: note: in expansion of macro ‘DECREMENT_LINKS’
4237 | DECREMENT_LINKS(x);
| ^~~~~~~~~~~~~~~
eval.c: In function ‘BCNPOP_ALLOC’:
eval.c:5516:5: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5516 | ((int) (((size) + sizeof(R_bcstack_t) - 1) / sizeof(R_bcstack_t)))
| ^
eval.c:5533:21: note: in expansion of macro ‘NELEMS_FOR_SIZE’
5533 | size_t nelems = NELEMS_FOR_SIZE(size);
| ^~~~~~~~~~~~~~~
In file included from eval.c:27:
eval.c: In function ‘NEW_BNDCELL_DVAL’:
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:507:2: note: in expansion of macro ‘SET_MISSING’
507 | SET_MISSING(cell, 0); \
| ^~~~~~~~~~~
eval.c:5644:5: note: in expansion of macro ‘INIT_BNDCELL’
5644 | INIT_BNDCELL(cell, REALSXP);
| ^~~~~~~~~~~~
eval.c: In function ‘NEW_BNDCELL_IVAL’:
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:507:2: note: in expansion of macro ‘SET_MISSING’
507 | SET_MISSING(cell, 0); \
| ^~~~~~~~~~~
eval.c:5650:5: note: in expansion of macro ‘INIT_BNDCELL’
5650 | INIT_BNDCELL(cell, INTSXP);
| ^~~~~~~~~~~~
eval.c: In function ‘NEW_BNDCELL_LVAL’:
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:507:2: note: in expansion of macro ‘SET_MISSING’
507 | SET_MISSING(cell, 0); \
| ^~~~~~~~~~~
eval.c:5656:5: note: in expansion of macro ‘INIT_BNDCELL’
5656 | INIT_BNDCELL(cell, LGLSXP);
| ^~~~~~~~~~~~
eval.c: In function ‘BUILTIN_CALL_FRAME_ARGS’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:5961:2: note: in expansion of macro ‘DECREMENT_LINKS’
5961 | DECREMENT_LINKS(CAR(a));
| ^~~~~~~~~~~~~~~
eval.c: In function ‘CLOSURE_CALL_FRAME_ARGS’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:5972:2: note: in expansion of macro ‘DECREMENT_LINKS’
5972 | DECREMENT_LINKS(CAR(a));
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
eval.c:5975:6: note: in expansion of macro ‘INCREMENT_REFCNT’
5975 | INCREMENT_REFCNT(CAR(a));
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
eval.c:5976:6: note: in expansion of macro ‘INCREMENT_REFCNT’
5976 | INCREMENT_REFCNT(CDR(a));
| ^~~~~~~~~~~~~~~~
eval.c: In function ‘VECSUBASSIGN_PTR’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
../../src/include/Defn.h:328:36: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
328 | #define MARK_ASSIGNMENT_CALL(call) SET_ASSIGNMENT_PENDING(call, TRUE)
| ^~~~~~~~~~~~~~~~~~~~~~
eval.c:6610:5: note: in expansion of macro ‘MARK_ASSIGNMENT_CALL’
6610 | MARK_ASSIGNMENT_CALL(call);
| ^~~~~~~~~~~~~~~~~~~~
eval.c: In function ‘MATSUBASSIGN_PTR’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
../../src/include/Defn.h:328:36: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
328 | #define MARK_ASSIGNMENT_CALL(call) SET_ASSIGNMENT_PENDING(call, TRUE)
| ^~~~~~~~~~~~~~~~~~~~~~
eval.c:6697:5: note: in expansion of macro ‘MARK_ASSIGNMENT_CALL’
6697 | MARK_ASSIGNMENT_CALL(call);
| ^~~~~~~~~~~~~~~~~~~~
eval.c: In function ‘SUBASSIGN_N_PTR’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
../../src/include/Defn.h:328:36: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
328 | #define MARK_ASSIGNMENT_CALL(call) SET_ASSIGNMENT_PENDING(call, TRUE)
| ^~~~~~~~~~~~~~~~~~~~~~
eval.c:6743:5: note: in expansion of macro ‘MARK_ASSIGNMENT_CALL’
6743 | MARK_ASSIGNMENT_CALL(call);
| ^~~~~~~~~~~~~~~~~~~~
eval.c: In function ‘finish_force_promise’:
../../src/include/Defn.h:463:53: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
463 | #define SET_BNDCELL_TAG(e, v) ((e)->sxpinfo.extra = (v))
| ^
../../src/include/Defn.h:1179:32: note: in expansion of macro ‘SET_BNDCELL_TAG’
1179 | # define SET_PROMISE_TAG(x, v) SET_BNDCELL_TAG(x, v)
| ^~~~~~~~~~~~~~~
eval.c:5848:2: note: in expansion of macro ‘SET_PROMISE_TAG’
5848 | SET_PROMISE_TAG(prom, ubval.tag); \
| ^~~~~~~~~~~~~~~
eval.c:7466:5: note: in expansion of macro ‘SET_PROMISE_VALUE_FROM_STACKVAL’
7466 | SET_PROMISE_VALUE_FROM_STACKVAL(prom, ubval);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eval.c: In function ‘bcEval_loop’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:7672:2: note: in expansion of macro ‘INCREMENT_LINKS’
7672 | INCREMENT_LINKS(seq);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:7806:2: note: in expansion of macro ‘DECREMENT_LINKS’
7806 | DECREMENT_LINKS(seq);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:6023:24: note: in expansion of macro ‘PUSHCALLARG’
6023 | #define PUSHCALLARG_RC PUSHCALLARG
| ^~~~~~~~~~~
eval.c:7971:6: note: in expansion of macro ‘PUSHCALLARG_RC’
7971 | PUSHCALLARG_RC(mkPROMISE(code, rho));
| ^~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:7975:3: note: in expansion of macro ‘PUSHCALLARG’
7975 | PUSHCALLARG(bcEval(code, rho));
| ^~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:7979:3: note: in expansion of macro ‘PUSHCALLARG’
7979 | PUSHCALLARG(eval(code, rho));
| ^~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:7989:4: note: in expansion of macro ‘PUSHCALLARG’
7989 | PUSHCALLARG(R_MissingArg);
| ^~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:8017:8: note: in expansion of macro ‘PUSHCALLARG’
8017 | PUSHCALLARG(val);
| ^~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:8027:21: note: in expansion of macro ‘PUSHCALLARG’
8027 | OP(PUSHARG, 0): PUSHCALLARG(BCNPOP()); NEXT();
| ^~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:8034:2: note: in expansion of macro ‘PUSHCALLARG’
8034 | PUSHCALLARG(value);
| ^~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:8037:25: note: in expansion of macro ‘PUSHCALLARG’
8037 | OP(PUSHNULLARG, 0): PUSHCALLARG(R_NilValue); NEXT();
| ^~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:8038:25: note: in expansion of macro ‘PUSHCALLARG’
8038 | OP(PUSHTRUEARG, 0): PUSHCALLARG(R_TrueValue); NEXT();
| ^~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:8039:26: note: in expansion of macro ‘PUSHCALLARG’
8039 | OP(PUSHFALSEARG, 0): PUSHCALLARG(R_FalseValue); NEXT();
| ^~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
eval.c:8201:18: note: in expansion of macro ‘INCREMENT_REFCNT’
8201 | if (refrhs) INCREMENT_REFCNT(saverhs);
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
eval.c:8217:2: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
8217 | SET_ASSIGNMENT_PENDING(loc.cell, TRUE);
| ^~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
eval.c:8232:2: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
8232 | SET_ASSIGNMENT_PENDING(lhscell, FALSE);
| ^~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
eval.c:8259:18: note: in expansion of macro ‘DECREMENT_REFCNT’
8259 | if (refrhs) DECREMENT_REFCNT(saverhs);
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:6112:5: note: in expansion of macro ‘PUSHCALLARG’
6112 | PUSHCALLARG(value); \
| ^~~~~~~~~~~
eval.c:8264:25: note: in expansion of macro ‘DO_STARTDISPATCH’
8264 | OP(STARTSUBSET, 2): DO_STARTDISPATCH("[");
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
../../src/include/Defn.h:328:36: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
328 | #define MARK_ASSIGNMENT_CALL(call) SET_ASSIGNMENT_PENDING(call, TRUE)
| ^~~~~~~~~~~~~~~~~~~~~~
eval.c:6132:3: note: in expansion of macro ‘MARK_ASSIGNMENT_CALL’
6132 | MARK_ASSIGNMENT_CALL(call); \
| ^~~~~~~~~~~~~~~~~~~~
eval.c:8266:28: note: in expansion of macro ‘DO_START_ASSIGN_DISPATCH’
8266 | OP(STARTSUBASSIGN, 2): DO_START_ASSIGN_DISPATCH("[<-");
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:6150:5: note: in expansion of macro ‘PUSHCALLARG’
6150 | PUSHCALLARG(lhs); \
| ^~~~~~~~~~~
eval.c:8266:28: note: in expansion of macro ‘DO_START_ASSIGN_DISPATCH’
8266 | OP(STARTSUBASSIGN, 2): DO_START_ASSIGN_DISPATCH("[<-");
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
../../src/include/Defn.h:328:36: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
328 | #define MARK_ASSIGNMENT_CALL(call) SET_ASSIGNMENT_PENDING(call, TRUE)
| ^~~~~~~~~~~~~~~~~~~~~~
eval.c:6160:3: note: in expansion of macro ‘MARK_ASSIGNMENT_CALL’
6160 | MARK_ASSIGNMENT_CALL(call); \
| ^~~~~~~~~~~~~~~~~~~~
eval.c:8268:7: note: in expansion of macro ‘DO_DFLT_ASSIGN_DISPATCH’
8268 | DO_DFLT_ASSIGN_DISPATCH(do_subassign_dflt, R_SubassignSym);
| ^~~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:6161:3: note: in expansion of macro ‘PUSHCALLARG’
6161 | PUSHCALLARG(rhs); \
| ^~~~~~~~~~~
eval.c:8268:7: note: in expansion of macro ‘DO_DFLT_ASSIGN_DISPATCH’
8268 | DO_DFLT_ASSIGN_DISPATCH(do_subassign_dflt, R_SubassignSym);
| ^~~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:6112:5: note: in expansion of macro ‘PUSHCALLARG’
6112 | PUSHCALLARG(value); \
| ^~~~~~~~~~~
eval.c:8269:20: note: in expansion of macro ‘DO_STARTDISPATCH’
8269 | OP(STARTC, 2): DO_STARTDISPATCH("c"); /* no longe used */
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:6112:5: note: in expansion of macro ‘PUSHCALLARG’
6112 | PUSHCALLARG(value); \
| ^~~~~~~~~~~
eval.c:8271:26: note: in expansion of macro ‘DO_STARTDISPATCH’
8271 | OP(STARTSUBSET2, 2): DO_STARTDISPATCH("[[");
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
../../src/include/Defn.h:328:36: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
328 | #define MARK_ASSIGNMENT_CALL(call) SET_ASSIGNMENT_PENDING(call, TRUE)
| ^~~~~~~~~~~~~~~~~~~~~~
eval.c:6132:3: note: in expansion of macro ‘MARK_ASSIGNMENT_CALL’
6132 | MARK_ASSIGNMENT_CALL(call); \
| ^~~~~~~~~~~~~~~~~~~~
eval.c:8273:29: note: in expansion of macro ‘DO_START_ASSIGN_DISPATCH’
8273 | OP(STARTSUBASSIGN2, 2): DO_START_ASSIGN_DISPATCH("[[<-");
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:6150:5: note: in expansion of macro ‘PUSHCALLARG’
6150 | PUSHCALLARG(lhs); \
| ^~~~~~~~~~~
eval.c:8273:29: note: in expansion of macro ‘DO_START_ASSIGN_DISPATCH’
8273 | OP(STARTSUBASSIGN2, 2): DO_START_ASSIGN_DISPATCH("[[<-");
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
../../src/include/Defn.h:328:36: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
328 | #define MARK_ASSIGNMENT_CALL(call) SET_ASSIGNMENT_PENDING(call, TRUE)
| ^~~~~~~~~~~~~~~~~~~~~~
eval.c:6160:3: note: in expansion of macro ‘MARK_ASSIGNMENT_CALL’
6160 | MARK_ASSIGNMENT_CALL(call); \
| ^~~~~~~~~~~~~~~~~~~~
eval.c:8275:7: note: in expansion of macro ‘DO_DFLT_ASSIGN_DISPATCH’
8275 | DO_DFLT_ASSIGN_DISPATCH(do_subassign2_dflt, R_Subassign2Sym);
| ^~~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:6161:3: note: in expansion of macro ‘PUSHCALLARG’
6161 | PUSHCALLARG(rhs); \
| ^~~~~~~~~~~
eval.c:8275:7: note: in expansion of macro ‘DO_DFLT_ASSIGN_DISPATCH’
8275 | DO_DFLT_ASSIGN_DISPATCH(do_subassign2_dflt, R_Subassign2Sym);
| ^~~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
../../src/include/Defn.h:328:36: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
328 | #define MARK_ASSIGNMENT_CALL(call) SET_ASSIGNMENT_PENDING(call, TRUE)
| ^~~~~~~~~~~~~~~~~~~~~~
eval.c:8305:2: note: in expansion of macro ‘MARK_ASSIGNMENT_CALL’
8305 | MARK_ASSIGNMENT_CALL(call);
| ^~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
eval.c:8416:2: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
8416 | SET_ASSIGNMENT_PENDING(loc.cell, TRUE);
| ^~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
eval.c:8429:6: note: in expansion of macro ‘INCREMENT_REFCNT’
8429 | INCREMENT_REFCNT(GETSTACK(-1));
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
eval.c:8436:2: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
8436 | SET_ASSIGNMENT_PENDING(lhscell, FALSE);
| ^~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
eval.c:8451:2: note: in expansion of macro ‘DECREMENT_REFCNT’
8451 | DECREMENT_REFCNT(GETSTACK(-1));
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
../../src/include/Defn.h:328:36: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
328 | #define MARK_ASSIGNMENT_CALL(call) SET_ASSIGNMENT_PENDING(call, TRUE)
| ^~~~~~~~~~~~~~~~~~~~~~
eval.c:8462:2: note: in expansion of macro ‘MARK_ASSIGNMENT_CALL’
8462 | MARK_ASSIGNMENT_CALL(call);
| ^~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:8472:4: note: in expansion of macro ‘PUSHCALLARG’
8472 | PUSHCALLARG(rhs);
| ^~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:6017:7: note: in expansion of macro ‘INCREMENT_LINKS’
6017 | else INCREMENT_LINKS(CAR(__cell__)); \
| ^~~~~~~~~~~~~~~
eval.c:6019:24: note: in expansion of macro ‘PUSHCALLARG_EX’
6019 | #define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
| ^~~~~~~~~~~~~~
eval.c:8503:4: note: in expansion of macro ‘PUSHCALLARG’
8503 | PUSHCALLARG(prom);
| ^~~~~~~~~~~
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
../../src/include/Defn.h:328:36: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
328 | #define MARK_ASSIGNMENT_CALL(call) SET_ASSIGNMENT_PENDING(call, TRUE)
| ^~~~~~~~~~~~~~~~~~~~~~
eval.c:6190:2: note: in expansion of macro ‘MARK_ASSIGNMENT_CALL’
6190 | MARK_ASSIGNMENT_CALL(call); \
| ^~~~~~~~~~~~~~~~~~~~
eval.c:8654:30: note: in expansion of macro ‘DO_START_ASSIGN_DISPATCH_N’
8654 | OP(STARTSUBASSIGN_N, 2): DO_START_ASSIGN_DISPATCH_N("[<-");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
../../src/include/Defn.h:328:36: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
328 | #define MARK_ASSIGNMENT_CALL(call) SET_ASSIGNMENT_PENDING(call, TRUE)
| ^~~~~~~~~~~~~~~~~~~~~~
eval.c:6190:2: note: in expansion of macro ‘MARK_ASSIGNMENT_CALL’
6190 | MARK_ASSIGNMENT_CALL(call); \
| ^~~~~~~~~~~~~~~~~~~~
eval.c:8660:31: note: in expansion of macro ‘DO_START_ASSIGN_DISPATCH_N’
8660 | OP(STARTSUBASSIGN2_N, 2): DO_START_ASSIGN_DISPATCH_N("[[<-");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:4933:6: note: in expansion of macro ‘INCREMENT_LINKS’
4933 | INCREMENT_LINKS((s)->u.sxpval); \
| ^~~~~~~~~~~~~~~
eval.c:8675:7: note: in expansion of macro ‘INCLNK_STACK_PTR’
8675 | INCLNK_STACK_PTR(R_BCNodeStackTop - 1);
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:4938:6: note: in expansion of macro ‘DECREMENT_LINKS’
4938 | DECREMENT_LINKS((s)->u.sxpval); \
| ^~~~~~~~~~~~~~~
eval.c:8678:7: note: in expansion of macro ‘DECLNK_STACK_PTR’
8678 | DECLNK_STACK_PTR(R_BCNodeStackTop - 2);
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
eval.c:4938:6: note: in expansion of macro ‘DECREMENT_LINKS’
4938 | DECREMENT_LINKS((s)->u.sxpval); \
| ^~~~~~~~~~~~~~~
eval.c:8682:4: note: in expansion of macro ‘DECLNK_STACK_PTR’
8682 | DECLNK_STACK_PTR(R_BCNodeStackTop - 2 - i);
| ^~~~~~~~~~~~~~~~
eval.c: In function ‘R_bcEncode’:
eval.c:8732:33: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
8732 | memset(INTEGER(code), 0, m * n * sizeof(int));
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c flexiblas.c -o flexiblas.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c format.c -o format.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c gevents.c -o gevents.o
format.c: In function ‘Rf_formatComplex’:
format.c:713:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
713 | *Re = (double *) R_alloc(n, sizeof(double)),
| ^
format.c:714:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
714 | *Im = (double *) R_alloc(n, sizeof(double));
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c gram.c -o gram.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c gram-ex.c -o gram-ex.o
gram.c: In function ‘mbcs_get_next’:
gram.c:395:29: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
395 | res = (int) mbrtowc(wc, s, clen, &mb_st);
| ^~~~
gram.c:402:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
402 | res = (int) mbrtowc(wc, s, clen, &mb_st);
| ^~~~
gram.c: In function ‘finish_mbcs_in_parse_context’:
gram.c:3047:43: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3047 | res = (int) mbrtowc(&wc, buf + i, nbytes - i, &mb_st);
| ~~~~~~~^~~
gram.c:3052:47: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3052 | res = (int) mbrtowc(&wc, buf + i, nbytes - i, &mb_st);
| ~~~~~~~^~~
gram.c: In function ‘SkipSpace’:
gram.c:4811:20: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
4811 | if(! iswblank(wc) ) break;
| ^~
gram.c: In function ‘mkStringUTF8’:
gram.c:5116:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5116 | R_CheckStack2(nb);
| ^~
gram.c:5119:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5119 | memset(s, 0, nb); /* safety */
| ^~
gram.c: In function ‘skipBytesByChar’:
gram.c:5154:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5154 | res += (int) mbrtowc(NULL, c + res, R_MB_CUR_MAX, &mb_st);
| ^~~~~~~~~~~~
gram.c: In function ‘StringValue’:
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5194:5: note: in expansion of macro ‘CTEXT_PUSH’
5194 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5196:2: note: in expansion of macro ‘CTEXT_PUSH’
5196 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5208:6: note: in expansion of macro ‘CTEXT_PUSH’
5208 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5214:7: note: in expansion of macro ‘CTEXT_PUSH’
5214 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5219:4: note: in expansion of macro ‘CTEXT_PUSH’
5219 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5241:7: note: in expansion of macro ‘CTEXT_PUSH’
5241 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5275:7: note: in expansion of macro ‘CTEXT_PUSH’
5275 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5280:7: note: in expansion of macro ‘CTEXT_PUSH’
5280 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5294:20: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
5294 | val = 16*val + ext;
| ^
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5303:12: note: in expansion of macro ‘CTEXT_PUSH’
5303 | else CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5308:14: warning: conversion to ‘ucs_t’ {aka ‘int’} from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
5308 | WTEXT_PUSH(val); /* this assumes wchar_t is Unicode */
| ^~~
gram.c:5103:59: note: in definition of macro ‘WTEXT_PUSH’
5103 | #define WTEXT_PUSH(c) do { if(wcnt < 10000) wcs[wcnt++] = c; } while(0)
| ^
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5322:7: note: in expansion of macro ‘CTEXT_PUSH’
5322 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5327:7: note: in expansion of macro ‘CTEXT_PUSH’
5327 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5341:20: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
5341 | val = 16*val + ext;
| ^
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5350:12: note: in expansion of macro ‘CTEXT_PUSH’
5350 | else CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5370:14: warning: conversion to ‘ucs_t’ {aka ‘int’} from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
5370 | WTEXT_PUSH(val);
| ^~~
gram.c:5103:59: note: in definition of macro ‘WTEXT_PUSH’
5103 | #define WTEXT_PUSH(c) do { if(wcnt < 10000) wcs[wcnt++] = c; } while(0)
| ^
gram.c:5024:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
5024 | size_t nc = bp - stext; \
| ^~
gram.c:5426:3: note: in expansion of macro ‘STEXT_PUSH’
5426 | STEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5429:3: note: in expansion of macro ‘CTEXT_PUSH’
5429 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5024:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
5024 | size_t nc = bp - stext; \
| ^~
gram.c:5436:6: note: in expansion of macro ‘STEXT_PUSH’
5436 | STEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5024:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
5024 | size_t nc = bp - stext; \
| ^~
gram.c:5439:2: note: in expansion of macro ‘STEXT_PUSH’
5439 | STEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5024:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
5024 | size_t nc = bp - stext; \
| ^~
gram.c:5464:5: note: in expansion of macro ‘STEXT_PUSH’
5464 | STEXT_PUSH('\0');
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5472:6: note: in expansion of macro ‘CTEXT_PUSH’
5472 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5473:6: note: in expansion of macro ‘CTEXT_PUSH’
5473 | CTEXT_PUSH('\0');
| ^~~~~~~~~~
gram.c:5498:56: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
5498 | PRESERVE_SV(yylval = mkString2(stext, bp - stext - 1, oct_or_hex));
| ~~~~~~~~~~~^~~
gram.c:350:42: note: in definition of macro ‘PRESERVE_SV’
350 | #define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
| ^
gram.c: In function ‘RawStringValue’:
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5517:5: note: in expansion of macro ‘CTEXT_PUSH’
5517 | CTEXT_PUSH(c0); /* 'r' or 'R' */
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5518:5: note: in expansion of macro ‘CTEXT_PUSH’
5518 | CTEXT_PUSH(c); /* opening quote */
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5522:29: note: in expansion of macro ‘CTEXT_PUSH’
5522 | while (nextchar('-')) { CTEXT_PUSH('-'); ndash++; }
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5525:5: note: in expansion of macro ‘CTEXT_PUSH’
5525 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5548:3: note: in expansion of macro ‘CTEXT_PUSH’
5548 | CTEXT_PUSH(delim);
| ^~~~~~~~~~
gram.c:5024:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
5024 | size_t nc = bp - stext; \
| ^~
gram.c:5549:3: note: in expansion of macro ‘STEXT_PUSH’
5549 | STEXT_PUSH(delim);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5552:7: note: in expansion of macro ‘CTEXT_PUSH’
5552 | CTEXT_PUSH('-');
| ^~~~~~~~~~
gram.c:5024:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
5024 | size_t nc = bp - stext; \
| ^~
gram.c:5553:7: note: in expansion of macro ‘STEXT_PUSH’
5553 | STEXT_PUSH('-');
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5559:2: note: in expansion of macro ‘CTEXT_PUSH’
5559 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5024:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
5024 | size_t nc = bp - stext; \
| ^~
gram.c:5574:3: note: in expansion of macro ‘STEXT_PUSH’
5574 | STEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5577:3: note: in expansion of macro ‘CTEXT_PUSH’
5577 | CTEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5024:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
5024 | size_t nc = bp - stext; \
| ^~
gram.c:5580:6: note: in expansion of macro ‘STEXT_PUSH’
5580 | STEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5024:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
5024 | size_t nc = bp - stext; \
| ^~
gram.c:5583:2: note: in expansion of macro ‘STEXT_PUSH’
5583 | STEXT_PUSH(c);
| ^~~~~~~~~~
gram.c:5024:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
5024 | size_t nc = bp - stext; \
| ^~
gram.c:5605:5: note: in expansion of macro ‘STEXT_PUSH’
5605 | STEXT_PUSH('\0');
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5614:2: note: in expansion of macro ‘CTEXT_PUSH’
5614 | CTEXT_PUSH(delim);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5616:6: note: in expansion of macro ‘CTEXT_PUSH’
5616 | CTEXT_PUSH('-');
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5617:2: note: in expansion of macro ‘CTEXT_PUSH’
5617 | CTEXT_PUSH(quote);
| ^~~~~~~~~~
gram.c:5164:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
5164 | memmove(currtext + 4, currtext + skip, 1000 - skip + 1); \
| ~~~~~~~~~~~~^~~
gram.c:5618:6: note: in expansion of macro ‘CTEXT_PUSH’
5618 | CTEXT_PUSH('\0');
| ^~~~~~~~~~
gram.c:5638:52: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
5638 | PRESERVE_SV(yylval = mkString2(stext, bp - stext - 1, oct_or_hex));
| ~~~~~~~~~~~^~~
gram.c:350:42: note: in definition of macro ‘PRESERVE_SV’
350 | #define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c graphics.c -o graphics.o
gram.c: In function ‘Rf_isValidName’:
gram.c:5678:30: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
5678 | if (wc != L'.' && !iswalpha(wc) ) return 0;
| ^~
gram.c:5685:21: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
5685 | if (!(iswalnum(wc) || wc == L'.' || wc == L'_')) break;
| ^~
gram.c: In function ‘SymbolValue’:
gram.c:5728:19: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
5728 | if(!iswalnum(wc)) break;
| ^~
gram.c: In function ‘token’:
gram.c:5887:15: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
5887 | if (iswalpha(wc)) return SymbolValue(c);
| ^~
gram.c: In function ‘raiseParseError’:
gram.c:6811:54: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
6811 | R_setConditionField(cond, 2, "value", ScalarInteger(*(unsigned int*)value));
| ^~~~~~~~~~~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c grep.c -o grep.o
grep.c: In function ‘setup_jit’:
grep.c:124:46: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
124 | jit_stack = pcre2_jit_stack_create(32*1024, jit_stack_size(), NULL);
| ^~~~~~~~~~~~~~~~
grep.c: In function ‘do_strsplit’:
grep.c:651:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
651 | used = utf8clen(*p);
| ^~~~~~~~
In file included from ../../src/include/Defn.h:104,
from grep.c:64:
grep.c:653:36: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
653 | PROTECT(t = allocVector(STRSXP, ntok));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
grep.c:655:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
655 | used = utf8clen(*p);
| ^~~~~~~~
grep.c:657:26: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
657 | SET_STRING_ELT(t, j, mkCharCE(bf, CE_UTF8));
| ^
grep.c:659:24: warning: conversion to ‘ssize_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
659 | } else if ((nt = mbstowcs(NULL, buf, 0)) < 0) {
| ^~~~~~~~
grep.c:662:11: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘ssize_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
662 | ntok = nt;
| ^~
In file included from ../../src/include/Defn.h:104,
from grep.c:64:
grep.c:664:36: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
664 | PROTECT(t = allocVector(STRSXP, ntok));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
grep.c:667:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
667 | used = mbrtowc(NULL, p, R_MB_CUR_MAX, &mb_st);
| ^~~~~~~~~~~~
grep.c:669:26: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
669 | SET_STRING_ELT(t, j, markKnown(bf, STRING_ELT(x, i)));
| ^
In file included from ../../src/include/Defn.h:104,
from grep.c:64:
grep.c:677:39: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
677 | PROTECT(t = allocVector(STRSXP, ntok));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
grep.c:682:26: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
682 | SET_STRING_ELT(t, j, mkBytesNew(bf, haveBytesInput));
| ^
grep.c:687:26: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
687 | SET_STRING_ELT(t, j, markKnown(bf, STRING_ELT(x, i)));
| ^
grep.c:748:38: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
748 | (slen > 1 && strncmp(bufp, split, slen))) continue;
| ^~~~
grep.c:755:40: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
755 | t = allocVector(STRSXP, ntok + (*bufp ? 1 : 0)));
| ~~~~~^~~~~~~~~~~~~~~~~
grep.c:766:42: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
766 | (slen > 1 && strncmp(bufp, split, slen))) continue;
| ^~~~
grep.c:769:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
769 | memcpy(pt, laststart, bufp - laststart);
| ~~~~~^~~~~~~~~~~
grep.c:777:26: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
777 | SET_STRING_ELT(t, j, mkBytesNew(pt, haveBytesInput));
| ^
grep.c:779:26: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
779 | SET_STRING_ELT(t, j, mkCharCE(pt, CE_UTF8));
| ^
grep.c:781:26: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
781 | SET_STRING_ELT(t, j, markKnown(pt, STRING_ELT(x, i)));
| ^
grep.c:788:22: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
788 | SET_STRING_ELT(t, ntok, mkBytesNew(bufp, haveBytesInput));
| ^~~~
grep.c:790:22: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
790 | SET_STRING_ELT(t, ntok, mkCharCE(bufp, CE_UTF8));
| ^~~~
grep.c:792:22: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
792 | SET_STRING_ELT(t, ntok, markKnown(bufp, STRING_ELT(x, i)));
| ^~~~
grep.c:884:40: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
884 | t = allocVector(STRSXP, ntok + (*bufp ? 1 : 0)));
| ~~~~~^~~~~~~~~~~~~~~~~
grep.c:908:22: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
908 | strncpy(pt, bufp, clen);
| ^~~~
grep.c:913:22: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
913 | SET_STRING_ELT(t, j, mkBytesNew(pt, haveBytesInput));
| ^
grep.c:915:22: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
915 | SET_STRING_ELT(t, j, mkCharCE(pt, CE_UTF8));
| ^
grep.c:917:22: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
917 | SET_STRING_ELT(t, j, markKnown(pt, STRING_ELT(x, i)));
| ^
grep.c:921:22: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
921 | SET_STRING_ELT(t, ntok, mkBytesNew(bufp, haveBytesInput));
| ^~~~
grep.c:923:22: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
923 | SET_STRING_ELT(t, ntok, mkCharCE(bufp, CE_UTF8));
| ^~~~
grep.c:925:22: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
925 | SET_STRING_ELT(t, ntok, markKnown(bufp, STRING_ELT(x, i)));
| ^~~~
grep.c:987:40: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
987 | t = allocVector(STRSXP, ntok + (*wbufp ? 1 : 0)));
| ~~~~~^~~~~~~~~~~~~~~~~~
grep.c:996:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘regoff_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
996 | wcsncpy(wpt, wbufp, regmatch[0].rm_so);
| ~~~~~~~~~~~^~~~~~
grep.c:1005:25: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1005 | SET_STRING_ELT(t, j,
| ^
grep.c:1010:25: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1010 | SET_STRING_ELT(t, ntok,
| ^~~~
grep.c:1093:40: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1093 | t = allocVector(STRSXP, ntok + (*bufp ? 1 : 0)));
| ~~~~~^~~~~~~~~~~~~~~~~
grep.c:1109:37: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘regoff_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
1109 | strncpy(pt, bufp, regmatch[0].rm_so);
| ~~~~~~~~~~~^~~~~~
grep.c:1121:22: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1121 | SET_STRING_ELT(t, j, mkBytesNew(pt, haveBytesInput));
| ^
grep.c:1123:22: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1123 | SET_STRING_ELT(t, j, markKnown(pt, STRING_ELT(x, i)));
| ^
grep.c:1127:22: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1127 | SET_STRING_ELT(t, ntok, mkBytesNew(bufp, haveBytesInput));
| ^~~~
grep.c:1129:22: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1129 | SET_STRING_ELT(t, ntok, markKnown(bufp, STRING_ELT(x, i)));
| ^~~~
grep.c: In function ‘fgrep_one’:
grep.c:1193:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1193 | if (strncmp(pat, target+ib, plen) == 0) {
| ^~~~
grep.c:1197:45: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1197 | used = (int) Mbrtowc(NULL, target+ib, R_MB_CUR_MAX, &mb_st);
| ^~~~~~~~~~~~
grep.c: In function ‘fgrep_one_bytes’:
grep.c:1238:31: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1238 | for (ib = 0, i = 0; ib <= len-patlen; i++) {
| ^
grep.c:1240:44: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1240 | used = (int) Mbrtowc(NULL, target+ib, R_MB_CUR_MAX, &mb_st);
| ^~~~~~~~~~~~
In file included from grep.c:64:
grep.c: In function ‘fgrepraw1’:
../../src/include/Defn.h:401:19: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
grep.c:1503:18: note: in expansion of macro ‘LENGTH’
1503 | R_size_t n = LENGTH(text);
| ^~~~~~
../../src/include/Defn.h:401:19: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
grep.c:1504:21: note: in expansion of macro ‘LENGTH’
1504 | R_size_t ncmp = LENGTH(pat);
| ^~~~~~
In file included from ../../src/include/Defn.h:104,
from grep.c:64:
grep.c: In function ‘do_grepraw’:
../../src/include/Rinternals.h:906:20: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
906 | #define asInteger Rf_asInteger
| ^~~~~~~~~~~~
grep.c:1575:14: note: in expansion of macro ‘asInteger’
1575 | offset = asInteger(CAR(args)); args = CDR(args);
| ^~~~~~~~~
grep.c:1625:7: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1625 | res += LENGTH(pat);
| ^~
grep.c:1627:50: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1627 | memcpy(ansp, RAW(text) + res, LENGTH(text) - res);
| ^
grep.c:1652:10: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1652 | offset += LENGTH(pat);
| ^~
grep.c:1672:13: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1672 | offset = matches[MAX_MATCHES_MINIBUF - 1] + LENGTH(pat) - 1;
| ^~~~~~~
grep.c:1678:15: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1678 | offset += LENGTH(pat);
| ^~
grep.c:1687:40: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1687 | R_size_t elt_size = fmatches[i] - 1 - pos;
| ^
grep.c:1688:30: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1688 | elt = allocVector(RAWSXP, elt_size);
| ^~~~~~~~
grep.c:1689:24: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1689 | SET_VECTOR_ELT(ans, i, elt);
| ^
grep.c:1692:10: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1692 | pos = fmatches[i] - 1 + LENGTH(pat);
| ^~~~~~~~
In file included from grep.c:64:
../../src/include/Defn.h:401:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
grep.c:1698:61: note: in expansion of macro ‘LENGTH’
1698 | memcpy(RAW(elt), RAW(text) + LENGTH(text) - LENGTH(elt), LENGTH(elt));
| ^~~~~~
grep.c:1707:27: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1707 | SET_VECTOR_ELT(ans, i, pat);
| ^
grep.c:1713:56: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1713 | if (nmatches) memcpy(INTEGER(ans), matches, nmatches * sizeof(int));
| ^
grep.c:1721:15: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1721 | offset = matches[MAX_MATCHES_MINIBUF - 1] + LENGTH(pat) - 1; /* matches are 1-based, we are 0-based hence - 1 */
| ^~~~~~~
grep.c:1727:10: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1727 | offset += LENGTH(pat);
| ^~
In file included from grep.c:64:
../../src/include/Defn.h:401:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
grep.c:1736:54: note: in expansion of macro ‘LENGTH’
1736 | rc = tre_regncompb(&reg, (const char*) RAW(pat), LENGTH(pat), cflags);
| ^~~~~~
grep.c:1741:74: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1741 | rc = tre_regnexecb(&reg, (const char*) RAW(text) + offset, LENGTH(text) - offset, 1, &ptag, 0);
| ^
grep.c:1752:35: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘regoff_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
1752 | memcpy(ansp, RAW(text), ptag.rm_so);
| ~~~~^~~~~~
In file included from grep.c:64:
../../src/include/Defn.h:401:19: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘regoff_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
grep.c:1755:9: note: in expansion of macro ‘LENGTH’
1755 | len = LENGTH(text) - ptag.rm_eo;
| ^~~~~~
grep.c:1760:64: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘regoff_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
1760 | memcpy(RAW(ans), RAW(text) + offset + ptag.rm_so, ptag.rm_eo - ptag.rm_so);
| ~~~~~~~~~~~^~~~~~~~~~~~
grep.c:1764:61: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1764 | return (rc == REG_OK) ? ScalarInteger((int)(ptag.rm_so + 1 + offset)) : allocVector(INTSXP, 0);
| ^
grep.c:1776:74: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1776 | rc = tre_regnexecb(&reg, (const char*) RAW(text) + offset, LENGTH(text) - offset, 1, &ptag, eflags);
| ^
grep.c:1788:44: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1788 | res_val[res_ptr++] = (int)(ptag.rm_so + 1 + offset);
| ^
grep.c:1790:9: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘regoff_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
1790 | offset += ptag.rm_eo;
| ^~
grep.c:1796:75: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1796 | rc = tre_regnexecb(&reg, (const char*) RAW(text) + offset, LENGTH(text) - offset, 1, &ptag, eflags);
| ^
grep.c:1809:79: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1809 | R_size_t entry = 0, cptr = 0, clen = (CDR(res_head) == R_NilValue) ? res_ptr : LENGTH(vec);
| ^
grep.c:1815:53: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1815 | SEXP rvec = allocVector(RAWSXP, res_val[cptr] - 1 - inv_start);
| ^
grep.c:1815:53: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1815 | SEXP rvec = allocVector(RAWSXP, res_val[cptr] - 1 - inv_start);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
grep.c:1816:23: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1816 | SET_VECTOR_ELT(ans, entry, rvec);
| ^~~~~
In file included from grep.c:64:
../../src/include/Defn.h:401:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
grep.c:1819:48: note: in expansion of macro ‘LENGTH’
1819 | memcpy(RAW(rvec), RAW(text) + inv_start, LENGTH(rvec));
| ^~~~~~
grep.c:1820:15: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1820 | inv_start = res_val[cptr] - 1 + res_val[cptr + 1];
| ^~~~~~~
grep.c:1823:23: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1823 | SET_VECTOR_ELT(ans, entry, rvec);
| ^~~~~
In file included from grep.c:64:
../../src/include/Defn.h:401:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
grep.c:1826:56: note: in expansion of macro ‘LENGTH’
1826 | memcpy(RAW(rvec), RAW(text) + res_val[cptr] - 1, LENGTH(rvec));
| ^~~~~~
grep.c:1836:50: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1836 | clen = (CDR(res_head) == R_NilValue) ? res_ptr : LENGTH(vec);
| ^
grep.c:1840:51: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1840 | SEXP lvec = allocVector(RAWSXP, LENGTH(text) - inv_start);
| ^
grep.c:1840:51: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1840 | SEXP lvec = allocVector(RAWSXP, LENGTH(text) - inv_start);
In file included from grep.c:64:
../../src/include/Defn.h:401:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
grep.c:1843:44: note: in expansion of macro ‘LENGTH’
1843 | memcpy(RAW(lvec), RAW(text) + inv_start, LENGTH(lvec));
| ^~~~~~
grep.c:1851:61: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1851 | R_size_t len = (CDR(res_head) == R_NilValue) ? res_ptr : LENGTH(vec);
| ^
grep.c: In function ‘R_pcre_string_adj’:
grep.c:1953:24: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1953 | R_CheckStack2((nc+1)*sizeof(wchar_t));
| ^
In file included from grep.c:64:
grep.c:1954:34: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1954 | wc = (wchar_t *) alloca((nc+1)*sizeof(wchar_t));
| ^
../../src/include/Defn.h:2412:38: note: in definition of macro ‘alloca’
2412 | # define alloca(x) __builtin_alloca((x))
| ^
grep.c:1955:25: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1955 | utf8towcs(wc, xi, nc + 1);
| ~~~^~~
grep.c:1956:49: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
1956 | for (j = 0; j < nc; j++) wc[j] = towctrans(wc[j], tr);
| ~~^~~
grep.c:1956:37: warning: conversion to ‘wchar_t’ {aka ‘int’} from ‘wint_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
1956 | for (j = 0; j < nc; j++) wc[j] = towctrans(wc[j], tr);
| ^~~~~~~~~
grep.c:1957:9: warning: conversion to ‘uint64_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1957 | nb = (int) wcstoutf8(NULL, wc, INT_MAX);
| ^
In file included from grep.c:66:
grep.c: In function ‘sub_buffer_expand’:
../../src/include/R_ext/RS.h:56:75: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
56 | #define R_Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (R_SIZE_T)((n) * sizeof(t)) )
| ^
grep.c:2070:14: note: in expansion of macro ‘R_Realloc’
2070 | tmp = R_Realloc(*cbuf, *nns, char);
| ^~~~~~~~~
grep.c: In function ‘wsub_buffer_expand’:
../../src/include/R_ext/RS.h:56:75: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
56 | #define R_Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (R_SIZE_T)((n) * sizeof(t)) )
| ^
grep.c:2081:14: note: in expansion of macro ‘R_Realloc’
2081 | tmp = R_Realloc(*cbuf, *nns, wchar_t);
| ^~~~~~~~~
grep.c: In function ‘do_gsub’:
grep.c:2277:13: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2277 | ss += sst+patlen;
| ^
grep.c:2278:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2278 | slen -= (int)(sst+patlen);
| ^
In file included from grep.c:66:
grep.c:2282:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2282 | cbuf = u = R_Calloc(ns + nr*(replen - patlen) + 1, char);
| ^
../../src/include/R_ext/RS.h:55:58: note: in definition of macro ‘R_Calloc’
55 | #define R_Calloc(n, t) (t *) R_chk_calloc( (R_SIZE_T) (n), sizeof(t) )
| ^
grep.c:2282:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2282 | cbuf = u = R_Calloc(ns + nr*(replen - patlen) + 1, char);
| ^
../../src/include/R_ext/RS.h:55:58: note: in definition of macro ‘R_Calloc’
55 | #define R_Calloc(n, t) (t *) R_chk_calloc( (R_SIZE_T) (n), sizeof(t) )
| ^
grep.c:2286:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2286 | strncpy(u, s, st);
| ^~
grep.c:2288:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2288 | s += st+patlen;
| ^
grep.c:2289:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2289 | slen -= (int)(st+patlen);
| ^
grep.c: In function ‘gregexpr_Regexc’:
grep.c:2590:51: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2590 | INTEGER(matchbuf)[matchIndex] = (int)(offset + st + 1); /* index from one */
| ^
grep.c:2593:10: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2593 | offset += st + 1;
| ^~
grep.c:2595:10: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘regoff_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
2595 | offset += regmatch[0].rm_eo;
| ^~
grep.c: In function ‘gregexpr_fixed’:
grep.c:2658:10: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2658 | curpos += st + 1;
| ^~
grep.c:2660:10: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2660 | curpos += st + patlen;
| ^~
grep.c:2686:48: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2686 | INTEGER(matchbuf)[matchIndex] = (int)(curpos + st + 1);
| ^
grep.c: In function ‘R_pcre2_gregexpr’:
grep.c:2821:48: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2821 | int rc = pcre2_match(re, (PCRE2_SPTR) string, slen, start, eflag,
| ^~~~
grep.c:2821:54: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2821 | int rc = pcre2_match(re, (PCRE2_SPTR) string, slen, start, eflag,
| ^~~~~
grep.c: In function ‘do_regexpr’:
grep.c:3053:34: warning: conversion to ‘uint32_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3053 | mdata = pcre2_match_data_create(ovector_size, NULL);
| ^~~~~~~~~~~~
In file included from ../../src/include/Defn.h:104,
from grep.c:64:
grep.c: In function ‘do_regexec’:
grep.c:3419:42: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
3419 | PROTECT(matchpos = allocVector(INTSXP, nmatch));
| ^~~~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
grep.c:3420:42: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
3420 | PROTECT(matchlen = allocVector(INTSXP, nmatch));
| ^~~~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
grep.c: In function ‘do_pcre_config’:
grep.c:3479:15: warning: conversion to ‘int’ from ‘uint32_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
3479 | lans[0] = res;
| ^~~
grep.c:3481:15: warning: conversion to ‘int’ from ‘uint32_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
3481 | lans[1] = res;
| ^~~
grep.c:3484:15: warning: conversion to ‘int’ from ‘uint32_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
3484 | lans[2] = res;
| ^~~
grep.c:3486:15: warning: conversion to ‘int’ from ‘uint32_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
3486 | lans[3] = res;
| ^~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c identical.c -o identical.o
identical.c: In function ‘R_compute_identical’:
identical.c:234:20: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
234 | xlength(x) * sizeof(int)) == 0 ? TRUE : FALSE;
| ^
identical.c:239:20: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
239 | xlength(x) * sizeof(int)) == 0 ? TRUE : FALSE;
| ^
identical.c:349:20: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
349 | XLENGTH(x) * sizeof(Rbyte)) == 0 ? TRUE : FALSE;
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c inlined.c -o inlined.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c inspect.c -o inspect.o
inspect.c: In function ‘inspect_tree’:
inspect.c:249:44: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
249 | Rprintf("immediate %s: ", sexptype2char(type));
| ^~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c internet.c -o internet.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c iosupport.c -o iosupport.o
iosupport.c: In function ‘R_IoBufferPutc’:
iosupport.c:135:27: warning: conversion to ‘unsigned char’ from ‘char’ may change the sign of the result [-Wsign-conversion]
135 | *(iob->write_ptr)++ = (char) c;
| ^
iosupport.c: In function ‘transferChars’:
iosupport.c:182:23: warning: conversion to ‘unsigned char’ from ‘char’ may change the sign of the result [-Wsign-conversion]
182 | while (*q) *p++ = *q++;
| ^
iosupport.c: In function ‘R_TextBufferInit’:
iosupport.c:216:40: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
216 | txtb->buf = (unsigned char *)R_alloc(l+2, sizeof(char)); /* '\n' and '\0' */
| ~^~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c lapack.c -o lapack.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c list.c -o list.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c localecharset.c -o localecharset.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c logic.c -o logic.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c machine.c -o machine.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c main.c -o main.o
In file included from main.c:34:
main.c: In function ‘Rf_ReplIteration’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
main.c:268:6: note: in expansion of macro ‘INCREMENT_REFCNT’
268 | INCREMENT_REFCNT(value);
| ^~~~~~~~~~~~~~~~
main.c: In function ‘sigactionSegv’:
main.c:512:18: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘uintptr_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
512 | intptr_t diff = (R_CStackDir > 0) ? R_CStackStart - addr:
| ^
main.c:512:18: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘uintptr_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
main.c: In function ‘setup_Rmainloop’:
main.c:875:35: warning: conversion from ‘uintptr_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
875 | R_CStackLimit = (uintptr_t)(0.95 * R_CStackLimit);
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c mapply.c -o mapply.o
mapply.c: In function ‘do_mapply’:
mapply.c:40:47: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
40 | R_xlen_t *lengths = (R_xlen_t *) R_alloc(m, sizeof(R_xlen_t)), longest = 0;
| ^
mapply.c:66:47: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
66 | R_xlen_t *counters = (R_xlen_t *) R_alloc(m, sizeof(R_xlen_t));
| ^
mapply.c:67:34: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
67 | if (m) memset(counters, 0, m * sizeof(R_xlen_t));
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c mask.c -o mask.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c match.c -o match.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c memory.c -o memory.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c names.c -o names.o
In file included from match.c:45:
match.c: In function ‘Rf_matchArgs_NR’:
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
match.c:197:2: note: in expansion of macro ‘SET_MISSING’
197 | SET_MISSING(actuals, 1);
| ^~~~~~~~~~~
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
match.c:239:36: note: in expansion of macro ‘SET_MISSING’
239 | if(CAR(b) != R_MissingArg) SET_MISSING(a, 0);
| ^~~~~~~~~~~
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
match.c:287:32: note: in expansion of macro ‘SET_MISSING’
287 | if (CAR(b) != R_MissingArg) SET_MISSING(a, 0);
| ^~~~~~~~~~~
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
match.c:332:33: note: in expansion of macro ‘SET_MISSING’
332 | if(CAR(b) != R_MissingArg) SET_MISSING(a, 0);
| ^~~~~~~~~~~
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
match.c:342:2: note: in expansion of macro ‘SET_MISSING’
342 | SET_MISSING(dots, 0);
| ^~~~~~~~~~~
match.c: In function ‘Rf_matchArgs_RC’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
match.c:398:6: note: in expansion of macro ‘INCREMENT_REFCNT’
398 | INCREMENT_REFCNT(CAR(a));
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
match.c:399:6: note: in expansion of macro ‘INCREMENT_REFCNT’
399 | INCREMENT_REFCNT(CDR(a));
| ^~~~~~~~~~~~~~~~
memory.c: In function ‘R_GetMaxVSize’:
memory.c:421:23: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
421 | return R_MaxVSize * vsfac;
| ^
memory.c: In function ‘R_SetMaxVSize’:
memory.c:436:11: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
436 | if (size / vsfac >= R_VSize) {
| ^
memory.c:437:30: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
437 | R_MaxVSize = (size + 1) / vsfac;
| ^
memory.c: In function ‘do_maxVSize’:
memory.c:482:36: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
482 | return ScalarReal(R_GetMaxVSize() / MB);
| ^
memory.c: In function ‘do_maxNSize’:
memory.c:503:20: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
503 | return ScalarReal(R_GetMaxNSize());
| ^~~~~~~~~~~~~~~
memory.c: In function ‘GetNewPage’:
memory.c:588:45: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
588 | sizeof(SEXPREC_ALIGN) + NodeClassSize[c] * sizeof(VECREC))
| ^
memory.c:995:17: note: in expansion of macro ‘NODE_SIZE’
995 | node_size = NODE_SIZE(node_class);
| ^~~~~~~~~
memory.c:587:3: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
587 | ((c) == 0 ? sizeof(SEXPREC) : \
| ^
memory.c:995:17: note: in expansion of macro ‘NODE_SIZE’
995 | node_size = NODE_SIZE(node_class);
| ^~~~~~~~~
memory.c:996:54: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
996 | page_count = (R_PAGE_SIZE - sizeof(PAGE_HEADER)) / node_size;
| ^
memory.c:996:18: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
996 | page_count = (R_PAGE_SIZE - sizeof(PAGE_HEADER)) / node_size;
| ^
memory.c:541:53: warning: conversion from ‘int’ to ‘unsigned char:3’ may change value [-Wconversion]
541 | #define SET_NODE_CLASS(s,v) (((s)->sxpinfo.gccls) = (v))
| ^
memory.c:1024:2: note: in expansion of macro ‘SET_NODE_CLASS’
1024 | SET_NODE_CLASS(s, node_class);
| ^~~~~~~~~~~~~~
memory.c: In function ‘ReleasePage’:
memory.c:588:45: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
588 | sizeof(SEXPREC_ALIGN) + NodeClassSize[c] * sizeof(VECREC))
| ^
memory.c:1039:17: note: in expansion of macro ‘NODE_SIZE’
1039 | node_size = NODE_SIZE(node_class);
| ^~~~~~~~~
memory.c:587:3: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
587 | ((c) == 0 ? sizeof(SEXPREC) : \
| ^
memory.c:1039:17: note: in expansion of macro ‘NODE_SIZE’
1039 | node_size = NODE_SIZE(node_class);
| ^~~~~~~~~
memory.c:1040:54: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1040 | page_count = (R_PAGE_SIZE - sizeof(PAGE_HEADER)) / node_size;
| ^
memory.c:1040:18: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
1040 | page_count = (R_PAGE_SIZE - sizeof(PAGE_HEADER)) / node_size;
| ^
memory.c: In function ‘TryToReleasePages’:
memory.c:588:45: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
588 | sizeof(SEXPREC_ALIGN) + NodeClassSize[c] * sizeof(VECREC))
| ^
memory.c:1062:22: note: in expansion of macro ‘NODE_SIZE’
1062 | int node_size = NODE_SIZE(i);
| ^~~~~~~~~
memory.c:587:3: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
587 | ((c) == 0 ? sizeof(SEXPREC) : \
| ^
memory.c:1062:22: note: in expansion of macro ‘NODE_SIZE’
1062 | int node_size = NODE_SIZE(i);
| ^~~~~~~~~
memory.c:1063:59: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1063 | int page_count = (R_PAGE_SIZE - sizeof(PAGE_HEADER)) / node_size;
| ^
memory.c:1063:23: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
1063 | int page_count = (R_PAGE_SIZE - sizeof(PAGE_HEADER)) / node_size;
| ^
In file included from memory.c:84:
memory.c: In function ‘getVecSizeInVEC’:
../../src/include/Defn.h:405:20: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
405 | #define XLENGTH(x) XLENGTH_EX(x)
| ^~~~~~~~~~
memory.c:1114:9: note: in expansion of macro ‘XLENGTH’
1114 | size = XLENGTH(s) + 1;
| ^~~~~~~
../../src/include/Defn.h:405:20: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
405 | #define XLENGTH(x) XLENGTH_EX(x)
| ^~~~~~~~~~
memory.c:1117:9: note: in expansion of macro ‘XLENGTH’
1117 | size = XLENGTH(s);
| ^~~~~~~
memory.c:1121:20: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1121 | size = XLENGTH(s) * sizeof(int);
| ^
memory.c:1124:20: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1124 | size = XLENGTH(s) * sizeof(double);
| ^
memory.c:1127:20: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1127 | size = XLENGTH(s) * sizeof(Rcomplex);
| ^
memory.c:1132:20: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1132 | size = XLENGTH(s) * sizeof(SEXP);
| ^
memory.c: In function ‘AdjustHeapSize’:
memory.c:1181:51: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
1181 | R_size_t R_MinNFree = (R_size_t)(orig_R_NSize * R_MinFreeFrac);
| ^
memory.c:1182:51: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
1182 | R_size_t R_MinVFree = (R_size_t)(orig_R_VSize * R_MinFreeFrac);
| ^
memory.c:1186:44: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
1186 | double node_occup = ((double) NNeeded) / R_NSize;
| ^
memory.c:1187:44: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
1187 | double vect_occup = ((double) VNeeded) / R_VSize;
| ^
memory.c:1191:50: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
1191 | (R_size_t)(R_NGrowIncrMin + R_NGrowIncrFrac * R_NSize);
| ^
memory.c:1204:52: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
1204 | R_size_t next_nsize = (R_size_t) (next_in_use / R_NGrowFrac);
| ^
memory.c:1213:61: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
1213 | R_NSize -= (R_size_t)(R_NShrinkIncrMin + R_NShrinkIncrFrac * R_NSize);
| ^
memory.c:1223:64: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
1223 | R_size_t change = (R_size_t)(R_VGrowIncrMin + R_VGrowIncrFrac * R_VSize);
| ^
memory.c:1228:61: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
1228 | R_VSize -= (R_size_t)(R_VShrinkIncrMin + R_VShrinkIncrFrac * R_VSize);
| ^
memory.c: In function ‘AgeNodeAndChildren’:
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:1259:5: note: in expansion of macro ‘AGE_NODE’
1259 | AGE_NODE(s, gen);
| ^~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:707:5: note: in expansion of macro ‘AGE_NODE’
707 | dc__action__(ATTRIB(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:709:4: note: in expansion of macro ‘AGE_NODE’
709 | dc__action__(TAG(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:710:4: note: in expansion of macro ‘AGE_NODE’
710 | dc__action__(CAR(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:711:4: note: in expansion of macro ‘AGE_NODE’
711 | dc__action__(CDR(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:731:2: note: in expansion of macro ‘AGE_NODE’
731 | dc__str__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
| ^~~~~~~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:739:2: note: in expansion of macro ‘AGE_NODE’
739 | dc__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:743:5: note: in expansion of macro ‘AGE_NODE’
743 | dc__action__(FRAME(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:744:5: note: in expansion of macro ‘AGE_NODE’
744 | dc__action__(ENCLOS(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:745:5: note: in expansion of macro ‘AGE_NODE’
745 | dc__action__(HASHTAB(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:749:5: note: in expansion of macro ‘AGE_NODE’
749 | dc__action__(TAG(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:751:7: note: in expansion of macro ‘AGE_NODE’
751 | dc__action__(CAR0(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:752:5: note: in expansion of macro ‘AGE_NODE’
752 | dc__action__(CDR(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:759:5: note: in expansion of macro ‘AGE_NODE’
759 | dc__action__(TAG(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:760:5: note: in expansion of macro ‘AGE_NODE’
760 | dc__action__(CAR0(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:761:5: note: in expansion of macro ‘AGE_NODE’
761 | dc__action__(CDR(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:764:5: note: in expansion of macro ‘AGE_NODE’
764 | dc__action__(EXTPTR_PROT(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1249:5: note: in expansion of macro ‘SET_NODE_GENERATION’
1249 | SET_NODE_GENERATION(an__n__, an__g__); \
| ^~~~~~~~~~~~~~~~~~~
memory.c:765:5: note: in expansion of macro ‘AGE_NODE’
765 | dc__action__(EXTPTR_TAG(__n__), dc__extra__); \
| ^~~~~~~~~~~~
memory.c:774:5: note: in expansion of macro ‘DO_CHILDREN4’
774 | DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
| ^~~~~~~~~~~~
memory.c:1267:2: note: in expansion of macro ‘DO_CHILDREN’
1267 | DO_CHILDREN(s, AGE_NODE, gen);
| ^~~~~~~~~~~
memory.c: In function ‘SortNodes’:
memory.c:588:45: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
588 | sizeof(SEXPREC_ALIGN) + NodeClassSize[c] * sizeof(VECREC))
| ^
memory.c:1334:18: note: in expansion of macro ‘NODE_SIZE’
1334 | int node_size = NODE_SIZE(i);
| ^~~~~~~~~
memory.c:587:3: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
587 | ((c) == 0 ? sizeof(SEXPREC) : \
| ^
memory.c:1334:18: note: in expansion of macro ‘NODE_SIZE’
1334 | int node_size = NODE_SIZE(i);
| ^~~~~~~~~
memory.c:1335:55: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1335 | int page_count = (R_PAGE_SIZE - sizeof(PAGE_HEADER)) / node_size;
| ^
memory.c:1335:19: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
1335 | int page_count = (R_PAGE_SIZE - sizeof(PAGE_HEADER)) / node_size;
| ^
memory.c: In function ‘NewWeakRef’:
memory.c:1367:56: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1367 | #define CLEAR_READY_TO_FINALIZE(s) ((s)->sxpinfo.gp &= ~READY_TO_FINALIZE_MASK)
| ^
memory.c:1413:2: note: in expansion of macro ‘CLEAR_READY_TO_FINALIZE’
1413 | CLEAR_READY_TO_FINALIZE(w);
| ^~~~~~~~~~~~~~~~~~~~~~~
memory.c:1373:55: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1373 | #define CLEAR_FINALIZE_ON_EXIT(s) ((s)->sxpinfo.gp &= ~FINALIZE_ON_EXIT_MASK)
| ^
memory.c:1417:6: note: in expansion of macro ‘CLEAR_FINALIZE_ON_EXIT’
1417 | CLEAR_FINALIZE_ON_EXIT(w);
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c: In function ‘RunGenCollect’:
memory.c:555:54: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
555 | #define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
| ^
memory.c:1737:7: note: in expansion of macro ‘SET_NODE_GENERATION’
1737 | SET_NODE_GENERATION(s, gen + 1);
| ^~~~~~~~~~~~~~~~~~~
memory.c:1977:24: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1977 | R_SmallVallocSize += R_GenHeap[i].OldCount[gen] * NodeClassSize[i];
| ^~
memory.c:1979:18: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1979 | R_Collected -= R_GenHeap[i].OldCount[gen];
| ^~
memory.c:1984:34: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
1984 | if (R_Collected < R_MinFreeFrac * R_NSize ||
| ^
memory.c:1985:49: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
1985 | VHEAP_FREE() < size_needed + R_MinFreeFrac * R_VSize) {
| ^
memory.c:1985:33: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
1985 | VHEAP_FREE() < size_needed + R_MinFreeFrac * R_VSize) {
| ^
memory.c: In function ‘do_gc’:
memory.c:2138:22: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2138 | REAL(value)[0] = onsize - R_Collected;
| ^~~~~~
memory.c:2139:22: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2139 | REAL(value)[1] = R_VSize - VHEAP_FREE();
| ^~~~~~~
memory.c:2140:22: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2140 | REAL(value)[4] = R_NSize;
| ^~~~~~~
memory.c:2141:22: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2141 | REAL(value)[5] = R_VSize;
| ^~~~~~~
memory.c:2143:35: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2143 | REAL(value)[2] = 0.1*ceil(10. * (onsize - R_Collected)/Mega * sizeof(SEXPREC));
| ^
memory.c:2144:35: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2144 | REAL(value)[3] = 0.1*ceil(10. * (R_VSize - VHEAP_FREE())/Mega * vsfac);
| ^
memory.c:2145:35: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2145 | REAL(value)[6] = 0.1*ceil(10. * R_NSize/Mega * sizeof(SEXPREC));
| ^
memory.c:2146:35: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2146 | REAL(value)[7] = 0.1*ceil(10. * R_VSize/Mega * vsfac);
| ^
memory.c:2148:15: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2148 | 0.1*ceil(10. * R_MaxNSize/Mega * sizeof(SEXPREC)) : NA_REAL;
| ^
memory.c:2150:15: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2150 | 0.1*ceil(10. * R_MaxVSize/Mega * vsfac) : NA_REAL;
| ^
memory.c:2155:23: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2155 | REAL(value)[10] = R_N_maxused;
| ^~~~~~~~~~~
memory.c:2156:23: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2156 | REAL(value)[11] = R_V_maxused;
| ^~~~~~~~~~~
memory.c:2157:36: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2157 | REAL(value)[12] = 0.1*ceil(10. * R_N_maxused/Mega*sizeof(SEXPREC));
| ^
memory.c:2158:36: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2158 | REAL(value)[13] = 0.1*ceil(10. * R_V_maxused/Mega*vsfac);
| ^
memory.c: In function ‘mem_err_heap’:
memory.c:2168:29: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
2168 | double l = R_GetMaxVSize() / 1024.0;
| ^
memory.c: In function ‘Rf_InitMemory’:
memory.c:2222:25: warning: conversion from ‘long int’ to ‘int’ may change value [-Wconversion]
2222 | R_RealPPStackSize = R_PPStackSize + PP_REDZONE_SIZE;
| ^~~~~~~~~~~~~
memory.c:2223:57: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2223 | if (!(R_PPStack = (SEXP *) malloc(R_RealPPStackSize * sizeof(SEXP))))
| ^
memory.c:2230:28: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2230 | R_VSize = (R_VSize + 1)/vsfac;
| ^
memory.c:2231:65: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2231 | if (R_MaxVSize < R_SIZE_T_MAX) R_MaxVSize = (R_MaxVSize + 1)/vsfac;
| ^
memory.c: In function ‘R_alloc’:
memory.c:2322:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2322 | R_size_t size = nelem * eltsize;
| ^
memory.c:2332:31: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
2332 | s = allocVector(RAWSXP, size + 1);
| ~~~~~^~~
memory.c: In function ‘S_alloc’:
memory.c:2382:22: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
2382 | R_size_t size = nelem * eltsize;
| ^~~~~
memory.c:2383:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
2383 | char *p = R_alloc(nelem, eltsize);
| ^~~~~
memory.c: In function ‘S_realloc’:
memory.c:2397:24: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2397 | nold = (size_t)old * size;
| ^
memory.c:2400:36: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2400 | memset(q + nold, 0, (size_t)new*size - nold);
| ^
In file included from memory.c:84:
memory.c: In function ‘Rf_allocSExp’:
../../src/include/Defn.h:235:46: warning: conversion from ‘SEXPTYPE’ {aka ‘unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion]
235 | #define SET_TYPEOF(x,v) (((x)->sxpinfo.type)=(v))
| ^
memory.c:2455:5: note: in expansion of macro ‘SET_TYPEOF’
2455 | SET_TYPEOF(s, t);
| ^~~~~~~~~~
memory.c: In function ‘allocSExpNonCons’:
../../src/include/Defn.h:235:46: warning: conversion from ‘SEXPTYPE’ {aka ‘unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion]
235 | #define SET_TYPEOF(x,v) (((x)->sxpinfo.type)=(v))
| ^
memory.c:2474:5: note: in expansion of macro ‘SET_TYPEOF’
2474 | SET_TYPEOF(s, t);
| ^~~~~~~~~~
memory.c: In function ‘Rf_cons’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:2506:34: note: in expansion of macro ‘INCREMENT_REFCNT’
2506 | CAR0(s) = CHK(car); if (car) INCREMENT_REFCNT(car);
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:2507:33: note: in expansion of macro ‘INCREMENT_REFCNT’
2507 | CDR(s) = CHK(cdr); if (cdr) INCREMENT_REFCNT(cdr);
| ^~~~~~~~~~~~~~~~
memory.c: In function ‘Rf_NewEnvironment’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:2590:32: note: in expansion of macro ‘INCREMENT_REFCNT’
2590 | FRAME(newrho) = valuelist; INCREMENT_REFCNT(valuelist);
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:2591:49: note: in expansion of macro ‘INCREMENT_REFCNT’
2591 | ENCLOS(newrho) = CHK(rho); if (rho != NULL) INCREMENT_REFCNT(rho);
| ^~~~~~~~~~~~~~~~
memory.c: In function ‘Rf_mkPROMISE’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:2635:28: note: in expansion of macro ‘INCREMENT_REFCNT’
2635 | PRCODE(s) = CHK(expr); INCREMENT_REFCNT(expr);
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:2636:26: note: in expansion of macro ‘INCREMENT_REFCNT’
2636 | PRENV(s) = CHK(rho); INCREMENT_REFCNT(rho);
| ^~~~~~~~~~~~~~~~
memory.c: In function ‘Rf_allocVector3’:
memory.c:2708:19: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2708 | alloc_size = NodeClassSize[1];
| ^~~~~~~~~~~~~
memory.c:541:53: warning: conversion from ‘int’ to ‘unsigned char:3’ may change value [-Wconversion]
541 | #define SET_NODE_CLASS(s,v) (((s)->sxpinfo.gccls) = (v))
| ^
memory.c:2728:6: note: in expansion of macro ‘SET_NODE_CLASS’
2728 | SET_NODE_CLASS(s, node_class);
| ^~~~~~~~~~~~~~
In file included from memory.c:84:
../../src/include/Defn.h:235:46: warning: conversion from ‘SEXPTYPE’ {aka ‘unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion]
235 | #define SET_TYPEOF(x,v) (((x)->sxpinfo.type)=(v))
| ^
memory.c:2733:6: note: in expansion of macro ‘SET_TYPEOF’
2733 | SET_TYPEOF(s, type);
| ^~~~~~~~~~
In file included from memory.c:84:
../../src/include/Defn.h:1204:38: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1204 | #define BYTE2VEC(n) (((n)>0)?(((n)-1)/sizeof(VECREC)+1):0)
| ^
memory.c:2750:9: note: in expansion of macro ‘BYTE2VEC’
2750 | size = BYTE2VEC(length);
| ^~~~~~~~
../../src/include/Defn.h:1204:38: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1204 | #define BYTE2VEC(n) (((n)>0)?(((n)-1)/sizeof(VECREC)+1):0)
| ^
memory.c:2759:9: note: in expansion of macro ‘BYTE2VEC’
2759 | size = BYTE2VEC(length + 1);
| ^~~~~~~~
../../src/include/Defn.h:1205:34: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1205 | #define INT2VEC(n) (((n)>0)?(((n)*sizeof(int)-1)/sizeof(VECREC)+1):0)
| ^
memory.c:2772:13: note: in expansion of macro ‘INT2VEC’
2772 | size = INT2VEC(length);
| ^~~~~~~
../../src/include/Defn.h:1206:36: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1206 | #define FLOAT2VEC(n) (((n)>0)?(((n)*sizeof(double)-1)/sizeof(VECREC)+1):0)
| ^
memory.c:2785:13: note: in expansion of macro ‘FLOAT2VEC’
2785 | size = FLOAT2VEC(length);
| ^~~~~~~~~
../../src/include/Defn.h:1207:38: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1207 | #define COMPLEX2VEC(n) (((n)>0)?(((n)*sizeof(Rcomplex)-1)/sizeof(VECREC)+1):0)
| ^
memory.c:2798:13: note: in expansion of macro ‘COMPLEX2VEC’
2798 | size = COMPLEX2VEC(length);
| ^~~~~~~~~~~
../../src/include/Defn.h:1208:34: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1208 | #define PTR2VEC(n) (((n)>0)?(((n)*sizeof(SEXP)-1)/sizeof(VECREC)+1):0)
| ^
memory.c:2813:13: note: in expansion of macro ‘PTR2VEC’
2813 | size = PTR2VEC(length);
| ^~~~~~~
memory.c:2843:19: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2843 | alloc_size = NodeClassSize[1];
| ^~~~~~~~~~~~~
memory.c:2851:20: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2851 | alloc_size = NodeClassSize[i];
| ^~~~~~~~~~~~~
memory.c:541:53: warning: conversion from ‘int’ to ‘unsigned char:3’ may change value [-Wconversion]
541 | #define SET_NODE_CLASS(s,v) (((s)->sxpinfo.gccls) = (v))
| ^
memory.c:2878:6: note: in expansion of macro ‘SET_NODE_CLASS’
2878 | SET_NODE_CLASS(s, node_class);
| ^~~~~~~~~~~~~~
memory.c:541:53: warning: conversion from ‘int’ to ‘unsigned char:3’ may change value [-Wconversion]
541 | #define SET_NODE_CLASS(s,v) (((s)->sxpinfo.gccls) = (v))
| ^
memory.c:2933:6: note: in expansion of macro ‘SET_NODE_CLASS’
2933 | SET_NODE_CLASS(s, node_class);
| ^~~~~~~~~~~~~~
In file included from memory.c:84:
../../src/include/Defn.h:235:46: warning: conversion from ‘SEXPTYPE’ {aka ‘unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion]
235 | #define SET_TYPEOF(x,v) (((x)->sxpinfo.type)=(v))
| ^
memory.c:2940:2: note: in expansion of macro ‘SET_TYPEOF’
2940 | SET_TYPEOF(s, type);
| ^~~~~~~~~~
memory.c: In function ‘R_gc_internal’:
memory.c:3199:47: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
3199 | VHEAP_FREE() < size_needed + R_MinFreeFrac * R_VSize)
| ^
memory.c:3199:31: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
3199 | VHEAP_FREE() < size_needed + R_MinFreeFrac * R_VSize)
| ^
memory.c:3264:11: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
3264 | ncells = onsize - R_Collected;
| ^~~~~~
memory.c:3265:27: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
3265 | nfrac = (100.0 * ncells) / R_NSize;
| ^
memory.c:3270:11: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
3270 | vcells = R_VSize - VHEAP_FREE();
| ^~~~~~~
memory.c:3271:27: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
3271 | vfrac = (100.0 * vcells) / R_VSize;
| ^
memory.c: In function ‘do_memoryprofile’:
memory.c:3348:50: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3348 | SET_STRING_ELT(nms, i, type2str(i > LGLSXP? i+2 : i));
| ~~~~~~~~~~~~~~~~^~~
memory.c:3348:50: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
In file included from ../../src/include/Defn.h:2375,
from memory.c:84:
memory.c: In function ‘R_signal_unprotect_error’:
memory.c:3421:46: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3421 | "unprotect(): only %d protected items", R_PPStackTop),
| ^~~~~~~~~~~~
memory.c: In function ‘R_signal_reprotect_error’:
memory.c:3499:6: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3499 | R_PPStackTop),
| ^~~~~~~~~~~~
memory.c: In function ‘R_PreserveObject’:
memory.c:3624:22: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
3624 | #define PTRHASH(obj) (((R_size_t) (obj)) >> 3)
| ^
memory.c:3640:12: note: in expansion of macro ‘PTRHASH’
3640 | int bin = PTRHASH(object) % PHASH_SIZE;
| ^~~~~~~
memory.c: In function ‘R_ReleaseObject’:
memory.c:3624:22: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
3624 | #define PTRHASH(obj) (((R_size_t) (obj)) >> 3)
| ^
memory.c:3654:12: note: in expansion of macro ‘PTRHASH’
3654 | int bin = PTRHASH(object) % PHASH_SIZE;
| ^~~~~~~
In file included from memory.c:84:
memory.c: In function ‘R_MakeExternalPtr’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:3811:43: note: in expansion of macro ‘INCREMENT_REFCNT’
3811 | EXTPTR_PROT(s) = CHK(prot); if (prot) INCREMENT_REFCNT(prot);
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:3812:40: note: in expansion of macro ‘INCREMENT_REFCNT’
3812 | EXTPTR_TAG(s) = CHK(tag); if (tag) INCREMENT_REFCNT(tag);
| ^~~~~~~~~~~~~~~~
memory.c: In function ‘R_SetExternalPtrTag’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:3854:5: note: in expansion of macro ‘FIX_REFCNT’
3854 | FIX_REFCNT(s, EXTPTR_TAG(s), tag);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:3854:5: note: in expansion of macro ‘FIX_REFCNT’
3854 | FIX_REFCNT(s, EXTPTR_TAG(s), tag);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:3854:5: note: in expansion of macro ‘FIX_REFCNT’
3854 | FIX_REFCNT(s, EXTPTR_TAG(s), tag);
| ^~~~~~~~~~
memory.c: In function ‘R_SetExternalPtrProtected’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:3862:5: note: in expansion of macro ‘FIX_REFCNT’
3862 | FIX_REFCNT(s, EXTPTR_PROT(s), p);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:3862:5: note: in expansion of macro ‘FIX_REFCNT’
3862 | FIX_REFCNT(s, EXTPTR_PROT(s), p);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:3862:5: note: in expansion of macro ‘FIX_REFCNT’
3862 | FIX_REFCNT(s, EXTPTR_PROT(s), p);
| ^~~~~~~~~~
memory.c: In function ‘R_MakeExternalPtrFn’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:3879:43: note: in expansion of macro ‘INCREMENT_REFCNT’
3879 | EXTPTR_PROT(s) = CHK(prot); if (prot) INCREMENT_REFCNT(prot);
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:3880:40: note: in expansion of macro ‘INCREMENT_REFCNT’
3880 | EXTPTR_TAG(s) = CHK(tag); if (tag) INCREMENT_REFCNT(tag);
| ^~~~~~~~~~~~~~~~
memory.c: In function ‘DECREMENT_REFCNT’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:3922:35: note: in expansion of macro ‘DECREMENT_REFCNT’
3922 | void (DECREMENT_REFCNT)(SEXP x) { DECREMENT_REFCNT(CHK(x)); }
| ^~~~~~~~~~~~~~~~
memory.c: In function ‘INCREMENT_REFCNT’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:3924:35: note: in expansion of macro ‘INCREMENT_REFCNT’
3924 | void (INCREMENT_REFCNT)(SEXP x) { INCREMENT_REFCNT(CHK(x)); }
| ^~~~~~~~~~~~~~~~
memory.c: In function ‘SET_ASSIGNMENT_PENDING’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:3933:5: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
3933 | SET_ASSIGNMENT_PENDING(CHK(x), v);
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c: In function ‘MARK_ASSIGNMENT_CALL’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
../../src/include/Defn.h:328:36: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
328 | #define MARK_ASSIGNMENT_CALL(call) SET_ASSIGNMENT_PENDING(call, TRUE)
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:3938:39: note: in expansion of macro ‘MARK_ASSIGNMENT_CALL’
3938 | void (MARK_ASSIGNMENT_CALL)(SEXP x) { MARK_ASSIGNMENT_CALL(CHK(x)); }
| ^~~~~~~~~~~~~~~~~~~~
memory.c: In function ‘SET_ATTRIB’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:3944:5: note: in expansion of macro ‘FIX_REFCNT’
3944 | FIX_REFCNT(x, ATTRIB(x), v);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:3944:5: note: in expansion of macro ‘FIX_REFCNT’
3944 | FIX_REFCNT(x, ATTRIB(x), v);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:3944:5: note: in expansion of macro ‘FIX_REFCNT’
3944 | FIX_REFCNT(x, ATTRIB(x), v);
| ^~~~~~~~~~
memory.c: In function ‘SET_OBJECT’:
../../src/include/Defn.h:234:45: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
234 | #define SET_OBJECT(x,v) (((x)->sxpinfo.obj)=(v))
| ^
memory.c:3948:36: note: in expansion of macro ‘SET_OBJECT’
3948 | void (SET_OBJECT)(SEXP x, int v) { SET_OBJECT(CHK(x), v); }
| ^~~~~~~~~~
memory.c: In function ‘SET_RTRACE’:
../../src/include/Defn.h:237:47: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
237 | #define SET_RTRACE(x,v) (((x)->sxpinfo.trace)=(v))
| ^
memory.c:3956:36: note: in expansion of macro ‘SET_RTRACE’
3956 | void (SET_RTRACE)(SEXP x, int v) { SET_RTRACE(CHK(x), v); }
| ^~~~~~~~~~
memory.c: In function ‘DUPLICATE_ATTRIB’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
memory.c:3961:47: note: in expansion of macro ‘UNSET_S4_OBJECT’
3961 | IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);
| ^~~~~~~~~~~~~~~
memory.c: In function ‘SHALLOW_DUPLICATE_ATTRIB’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
memory.c:3966:47: note: in expansion of macro ‘UNSET_S4_OBJECT’
3966 | IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);
| ^~~~~~~~~~~~~~~
memory.c: In function ‘CLEAR_ATTRIB’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
memory.c:3972:5: note: in expansion of macro ‘UNSET_S4_OBJECT’
3972 | UNSET_S4_OBJECT(x);
| ^~~~~~~~~~~~~~~
memory.c: In function ‘bad_SET_TYPEOF’:
memory.c:3978:18: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3978 | sexptype2char(from), sexptype2char(to));
| ^~~~
memory.c:3978:39: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3978 | sexptype2char(from), sexptype2char(to));
| ^~
memory.c: In function ‘check_SET_TYPEOF’:
memory.c:3985:48: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3985 | sexptype2char(TYPEOF(x)), sexptype2char(v));
| ^
In file included from memory.c:84:
memory.c: In function ‘SET_TYPEOF’:
../../src/include/Defn.h:235:46: warning: conversion from ‘int’ to ‘unsigned char:5’ may change value [-Wconversion]
235 | #define SET_TYPEOF(x,v) (((x)->sxpinfo.type)=(v))
| ^
memory.c:4026:2: note: in expansion of macro ‘SET_TYPEOF’
4026 | SET_TYPEOF(CHK(x), v);
| ^~~~~~~~~~
memory.c: In function ‘ALTREP_SET_TYPEOF’:
../../src/include/Defn.h:235:46: warning: conversion from ‘int’ to ‘unsigned char:5’ may change value [-Wconversion]
235 | #define SET_TYPEOF(x,v) (((x)->sxpinfo.type)=(v))
| ^
memory.c:4031:43: note: in expansion of macro ‘SET_TYPEOF’
4031 | void (ALTREP_SET_TYPEOF)(SEXP x, int v) { SET_TYPEOF(CHK(x), v); }
| ^~~~~~~~~~
memory.c: In function ‘UNSET_S4_OBJECT’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
memory.c:4043:33: note: in expansion of macro ‘UNSET_S4_OBJECT’
4043 | void (UNSET_S4_OBJECT)(SEXP x){ UNSET_S4_OBJECT(CHK(x)); }
| ^~~~~~~~~~~~~~~
memory.c: In function ‘UNSET_MAYBEJIT’:
../../src/include/Defn.h:376:49: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
376 | #define UNSET_MAYBEJIT(x) (((x)->sxpinfo.gp) &= ~MAYBEJIT_MASK)
| ^
memory.c:4050:50: note: in expansion of macro ‘UNSET_MAYBEJIT’
4050 | attribute_hidden void (UNSET_MAYBEJIT)(SEXP x) { UNSET_MAYBEJIT(CHK(x)); }
| ^~~~~~~~~~~~~~
memory.c: In function ‘SET_STRING_ELT’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4288:2: note: in expansion of macro ‘FIX_REFCNT’
4288 | FIX_REFCNT(x, ps[i], v);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4288:2: note: in expansion of macro ‘FIX_REFCNT’
4288 | FIX_REFCNT(x, ps[i], v);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4288:2: note: in expansion of macro ‘FIX_REFCNT’
4288 | FIX_REFCNT(x, ps[i], v);
| ^~~~~~~~~~
memory.c: In function ‘SET_VECTOR_ELT’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4307:9: note: in expansion of macro ‘FIX_REFCNT’
4307 | FIX_REFCNT(x, VECTOR_ELT_0(x, i), v);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4307:9: note: in expansion of macro ‘FIX_REFCNT’
4307 | FIX_REFCNT(x, VECTOR_ELT_0(x, i), v);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4307:9: note: in expansion of macro ‘FIX_REFCNT’
4307 | FIX_REFCNT(x, VECTOR_ELT_0(x, i), v);
| ^~~~~~~~~~
memory.c: In function ‘SET_BNDCELL_TAG’:
../../src/include/Defn.h:463:53: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
463 | #define SET_BNDCELL_TAG(e, v) ((e)->sxpinfo.extra = (v))
| ^
memory.c:4343:46: note: in expansion of macro ‘SET_BNDCELL_TAG’
4343 | void (SET_BNDCELL_TAG)(SEXP cell, int val) { SET_BNDCELL_TAG(cell, val); }
| ^~~~~~~~~~~~~~~
memory.c: In function ‘INIT_BNDCELL’:
../../src/include/Defn.h:463:53: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
463 | #define SET_BNDCELL_TAG(e, v) ((e)->sxpinfo.extra = (v))
| ^
../../src/include/Defn.h:506:2: note: in expansion of macro ‘SET_BNDCELL_TAG’
506 | SET_BNDCELL_TAG(cell, type); \
| ^~~~~~~~~~~~~~~
memory.c:4357:44: note: in expansion of macro ‘INIT_BNDCELL’
4357 | void (INIT_BNDCELL)(SEXP cell, int type) { INIT_BNDCELL(cell, type); }
| ^~~~~~~~~~~~
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:507:2: note: in expansion of macro ‘SET_MISSING’
507 | SET_MISSING(cell, 0); \
| ^~~~~~~~~~~
memory.c:4357:44: note: in expansion of macro ‘INIT_BNDCELL’
4357 | void (INIT_BNDCELL)(SEXP cell, int type) { INIT_BNDCELL(cell, type); }
| ^~~~~~~~~~~~
memory.c: In function ‘SET_PROMISE_TAG’:
../../src/include/Defn.h:463:53: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
463 | #define SET_BNDCELL_TAG(e, v) ((e)->sxpinfo.extra = (v))
| ^
../../src/include/Defn.h:1179:32: note: in expansion of macro ‘SET_BNDCELL_TAG’
1179 | # define SET_PROMISE_TAG(x, v) SET_BNDCELL_TAG(x, v)
| ^~~~~~~~~~~~~~~
memory.c:4361:46: note: in expansion of macro ‘SET_PROMISE_TAG’
4361 | void (SET_PROMISE_TAG)(SEXP cell, int val) { SET_PROMISE_TAG(cell, val); }
| ^~~~~~~~~~~~~~~
memory.c: In function ‘R_args_enable_refcnt’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:4439:6: note: in expansion of macro ‘INCREMENT_REFCNT’
4439 | INCREMENT_REFCNT(CAR(a));
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:4440:6: note: in expansion of macro ‘INCREMENT_REFCNT’
4440 | INCREMENT_REFCNT(CDR(a));
| ^~~~~~~~~~~~~~~~
memory.c: In function ‘R_try_clear_args_refcnt’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:4460:2: note: in expansion of macro ‘DECREMENT_REFCNT’
4460 | DECREMENT_REFCNT(CAR(args));
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:4461:2: note: in expansion of macro ‘DECREMENT_REFCNT’
4461 | DECREMENT_REFCNT(CDR(args));
| ^~~~~~~~~~~~~~~~
memory.c: In function ‘SET_TAG’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4486:5: note: in expansion of macro ‘FIX_REFCNT’
4486 | FIX_REFCNT(x, TAG(x), v);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4486:5: note: in expansion of macro ‘FIX_REFCNT’
4486 | FIX_REFCNT(x, TAG(x), v);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4486:5: note: in expansion of macro ‘FIX_REFCNT’
4486 | FIX_REFCNT(x, TAG(x), v);
| ^~~~~~~~~~
memory.c: In function ‘SETCAR’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1300:5: note: in expansion of macro ‘FIX_REFCNT_EX’
1300 | FIX_REFCNT_EX(x, old, new, TRUE)
| ^~~~~~~~~~~~~
memory.c:4498:5: note: in expansion of macro ‘FIX_BINDING_REFCNT’
4498 | FIX_BINDING_REFCNT(x, CAR(x), y);
| ^~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1300:5: note: in expansion of macro ‘FIX_REFCNT_EX’
1300 | FIX_REFCNT_EX(x, old, new, TRUE)
| ^~~~~~~~~~~~~
memory.c:4498:5: note: in expansion of macro ‘FIX_BINDING_REFCNT’
4498 | FIX_BINDING_REFCNT(x, CAR(x), y);
| ^~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1300:5: note: in expansion of macro ‘FIX_REFCNT_EX’
1300 | FIX_REFCNT_EX(x, old, new, TRUE)
| ^~~~~~~~~~~~~
memory.c:4498:5: note: in expansion of macro ‘FIX_BINDING_REFCNT’
4498 | FIX_BINDING_REFCNT(x, CAR(x), y);
| ^~~~~~~~~~~~~~~~~~
memory.c: In function ‘SETCDR’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4508:5: note: in expansion of macro ‘FIX_REFCNT’
4508 | FIX_REFCNT(x, CDR(x), y);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4508:5: note: in expansion of macro ‘FIX_REFCNT’
4508 | FIX_REFCNT(x, CDR(x), y);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4508:5: note: in expansion of macro ‘FIX_REFCNT’
4508 | FIX_REFCNT(x, CDR(x), y);
| ^~~~~~~~~~
memory.c: In function ‘SETCADR’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4527:5: note: in expansion of macro ‘FIX_REFCNT’
4527 | FIX_REFCNT(cell, CAR(cell), y);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4527:5: note: in expansion of macro ‘FIX_REFCNT’
4527 | FIX_REFCNT(cell, CAR(cell), y);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4527:5: note: in expansion of macro ‘FIX_REFCNT’
4527 | FIX_REFCNT(cell, CAR(cell), y);
| ^~~~~~~~~~
memory.c: In function ‘SETCADDR’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4542:5: note: in expansion of macro ‘FIX_REFCNT’
4542 | FIX_REFCNT(cell, CAR(cell), y);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4542:5: note: in expansion of macro ‘FIX_REFCNT’
4542 | FIX_REFCNT(cell, CAR(cell), y);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4542:5: note: in expansion of macro ‘FIX_REFCNT’
4542 | FIX_REFCNT(cell, CAR(cell), y);
| ^~~~~~~~~~
memory.c: In function ‘SETCADDDR’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4558:5: note: in expansion of macro ‘FIX_REFCNT’
4558 | FIX_REFCNT(cell, CAR(cell), y);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4558:5: note: in expansion of macro ‘FIX_REFCNT’
4558 | FIX_REFCNT(cell, CAR(cell), y);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4558:5: note: in expansion of macro ‘FIX_REFCNT’
4558 | FIX_REFCNT(cell, CAR(cell), y);
| ^~~~~~~~~~
memory.c: In function ‘SETCAD4R’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4577:5: note: in expansion of macro ‘FIX_REFCNT’
4577 | FIX_REFCNT(cell, CAR(cell), y);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4577:5: note: in expansion of macro ‘FIX_REFCNT’
4577 | FIX_REFCNT(cell, CAR(cell), y);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4577:5: note: in expansion of macro ‘FIX_REFCNT’
4577 | FIX_REFCNT(cell, CAR(cell), y);
| ^~~~~~~~~~
memory.c: In function ‘SET_MISSING’:
../../src/include/Defn.h:460:23: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
460 | __x__->sxpinfo.gp = __other_flags__ | __v__; \
| ^~~~~~~~~~~~~~~
memory.c:4588:37: note: in expansion of macro ‘SET_MISSING’
4588 | void (SET_MISSING)(SEXP x, int v) { SET_MISSING(CHKCONS(x), v); }
| ^~~~~~~~~~~
memory.c: In function ‘SET_FORMALS’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4605:38: note: in expansion of macro ‘FIX_REFCNT’
4605 | void (SET_FORMALS)(SEXP x, SEXP v) { FIX_REFCNT(x, FORMALS(x), v); CHECK_OLD_TO_NEW(x, v); FORMALS(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4605:38: note: in expansion of macro ‘FIX_REFCNT’
4605 | void (SET_FORMALS)(SEXP x, SEXP v) { FIX_REFCNT(x, FORMALS(x), v); CHECK_OLD_TO_NEW(x, v); FORMALS(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4605:38: note: in expansion of macro ‘FIX_REFCNT’
4605 | void (SET_FORMALS)(SEXP x, SEXP v) { FIX_REFCNT(x, FORMALS(x), v); CHECK_OLD_TO_NEW(x, v); FORMALS(x) = v; }
| ^~~~~~~~~~
memory.c: In function ‘SET_BODY’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4606:35: note: in expansion of macro ‘FIX_REFCNT’
4606 | void (SET_BODY)(SEXP x, SEXP v) { FIX_REFCNT(x, BODY(x), v); CHECK_OLD_TO_NEW(x, v); BODY(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4606:35: note: in expansion of macro ‘FIX_REFCNT’
4606 | void (SET_BODY)(SEXP x, SEXP v) { FIX_REFCNT(x, BODY(x), v); CHECK_OLD_TO_NEW(x, v); BODY(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4606:35: note: in expansion of macro ‘FIX_REFCNT’
4606 | void (SET_BODY)(SEXP x, SEXP v) { FIX_REFCNT(x, BODY(x), v); CHECK_OLD_TO_NEW(x, v); BODY(x) = v; }
| ^~~~~~~~~~
memory.c: In function ‘SET_CLOENV’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4607:37: note: in expansion of macro ‘FIX_REFCNT’
4607 | void (SET_CLOENV)(SEXP x, SEXP v) { FIX_REFCNT(x, CLOENV(x), v); CHECK_OLD_TO_NEW(x, v); CLOENV(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4607:37: note: in expansion of macro ‘FIX_REFCNT’
4607 | void (SET_CLOENV)(SEXP x, SEXP v) { FIX_REFCNT(x, CLOENV(x), v); CHECK_OLD_TO_NEW(x, v); CLOENV(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4607:37: note: in expansion of macro ‘FIX_REFCNT’
4607 | void (SET_CLOENV)(SEXP x, SEXP v) { FIX_REFCNT(x, CLOENV(x), v); CHECK_OLD_TO_NEW(x, v); CLOENV(x) = v; }
| ^~~~~~~~~~
memory.c: In function ‘SET_RDEBUG’:
../../src/include/Defn.h:516:47: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
516 | #define SET_RDEBUG(x,v) (((x)->sxpinfo.debug)=(v))
| ^
memory.c:4608:36: note: in expansion of macro ‘SET_RDEBUG’
4608 | void (SET_RDEBUG)(SEXP x, int v) { SET_RDEBUG(CHK(x), v); }
| ^~~~~~~~~~
memory.c: In function ‘SET_RSTEP’:
../../src/include/Defn.h:518:46: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
518 | #define SET_RSTEP(x,v) (((x)->sxpinfo.spare)=(v))
| ^
memory.c:4610:35: note: in expansion of macro ‘SET_RSTEP’
4610 | void (SET_RSTEP)(SEXP x, int v) { SET_RSTEP(CHK(x), v); }
| ^~~~~~~~~
memory.c: In function ‘SET_PRINTNAME’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4633:40: note: in expansion of macro ‘FIX_REFCNT’
4633 | void (SET_PRINTNAME)(SEXP x, SEXP v) { FIX_REFCNT(x, PRINTNAME(x), v); CHECK_OLD_TO_NEW(x, v); PRINTNAME(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4633:40: note: in expansion of macro ‘FIX_REFCNT’
4633 | void (SET_PRINTNAME)(SEXP x, SEXP v) { FIX_REFCNT(x, PRINTNAME(x), v); CHECK_OLD_TO_NEW(x, v); PRINTNAME(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4633:40: note: in expansion of macro ‘FIX_REFCNT’
4633 | void (SET_PRINTNAME)(SEXP x, SEXP v) { FIX_REFCNT(x, PRINTNAME(x), v); CHECK_OLD_TO_NEW(x, v); PRINTNAME(x) = v; }
| ^~~~~~~~~~
memory.c: In function ‘SET_SYMVALUE’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1300:5: note: in expansion of macro ‘FIX_REFCNT_EX’
1300 | FIX_REFCNT_EX(x, old, new, TRUE)
| ^~~~~~~~~~~~~
memory.c:4640:5: note: in expansion of macro ‘FIX_BINDING_REFCNT’
4640 | FIX_BINDING_REFCNT(x, SYMVALUE(x), v);
| ^~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1300:5: note: in expansion of macro ‘FIX_REFCNT_EX’
1300 | FIX_REFCNT_EX(x, old, new, TRUE)
| ^~~~~~~~~~~~~
memory.c:4640:5: note: in expansion of macro ‘FIX_BINDING_REFCNT’
4640 | FIX_BINDING_REFCNT(x, SYMVALUE(x), v);
| ^~~~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1300:5: note: in expansion of macro ‘FIX_REFCNT_EX’
1300 | FIX_REFCNT_EX(x, old, new, TRUE)
| ^~~~~~~~~~~~~
memory.c:4640:5: note: in expansion of macro ‘FIX_BINDING_REFCNT’
4640 | FIX_BINDING_REFCNT(x, SYMVALUE(x), v);
| ^~~~~~~~~~~~~~~~~~
memory.c: In function ‘SET_INTERNAL’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4647:5: note: in expansion of macro ‘FIX_REFCNT’
4647 | FIX_REFCNT(x, INTERNAL(x), v);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4647:5: note: in expansion of macro ‘FIX_REFCNT’
4647 | FIX_REFCNT(x, INTERNAL(x), v);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4647:5: note: in expansion of macro ‘FIX_REFCNT’
4647 | FIX_REFCNT(x, INTERNAL(x), v);
| ^~~~~~~~~~
memory.c: In function ‘SET_DDVAL’:
../../src/include/Defn.h:527:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
527 | #define UNSET_DDVAL_BIT(x) (((x)->sxpinfo.gp) &= ~DDVAL_MASK)
| ^
../../src/include/Defn.h:528:50: note: in expansion of macro ‘UNSET_DDVAL_BIT’
528 | #define SET_DDVAL(x,v) ((v) ? SET_DDVAL_BIT(x) : UNSET_DDVAL_BIT(x)) /* for ..1, ..2 etc */
| ^~~~~~~~~~~~~~~
memory.c:4651:52: note: in expansion of macro ‘SET_DDVAL’
4651 | attribute_hidden void (SET_DDVAL)(SEXP x, int v) { SET_DDVAL(CHK(x), v); }
| ^~~~~~~~~
memory.c: In function ‘SET_FRAME’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4665:36: note: in expansion of macro ‘FIX_REFCNT’
4665 | void (SET_FRAME)(SEXP x, SEXP v) { FIX_REFCNT(x, FRAME(x), v); CHECK_OLD_TO_NEW(x, v); FRAME(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4665:36: note: in expansion of macro ‘FIX_REFCNT’
4665 | void (SET_FRAME)(SEXP x, SEXP v) { FIX_REFCNT(x, FRAME(x), v); CHECK_OLD_TO_NEW(x, v); FRAME(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4665:36: note: in expansion of macro ‘FIX_REFCNT’
4665 | void (SET_FRAME)(SEXP x, SEXP v) { FIX_REFCNT(x, FRAME(x), v); CHECK_OLD_TO_NEW(x, v); FRAME(x) = v; }
| ^~~~~~~~~~
memory.c: In function ‘SET_ENCLOS’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4677:5: note: in expansion of macro ‘FIX_REFCNT’
4677 | FIX_REFCNT(x, ENCLOS(x), v);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4677:5: note: in expansion of macro ‘FIX_REFCNT’
4677 | FIX_REFCNT(x, ENCLOS(x), v);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4677:5: note: in expansion of macro ‘FIX_REFCNT’
4677 | FIX_REFCNT(x, ENCLOS(x), v);
| ^~~~~~~~~~
memory.c: In function ‘SET_HASHTAB’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4682:38: note: in expansion of macro ‘FIX_REFCNT’
4682 | void (SET_HASHTAB)(SEXP x, SEXP v) { FIX_REFCNT(x, HASHTAB(x), v); CHECK_OLD_TO_NEW(x, v); HASHTAB(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4682:38: note: in expansion of macro ‘FIX_REFCNT’
4682 | void (SET_HASHTAB)(SEXP x, SEXP v) { FIX_REFCNT(x, HASHTAB(x), v); CHECK_OLD_TO_NEW(x, v); HASHTAB(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4682:38: note: in expansion of macro ‘FIX_REFCNT’
4682 | void (SET_HASHTAB)(SEXP x, SEXP v) { FIX_REFCNT(x, HASHTAB(x), v); CHECK_OLD_TO_NEW(x, v); HASHTAB(x) = v; }
| ^~~~~~~~~~
memory.c: In function ‘SET_ENVFLAGS’:
../../src/include/Defn.h:535:46: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
535 | #define SET_ENVFLAGS(x,v) (((x)->sxpinfo.gp)=(v))
| ^
memory.c:4683:38: note: in expansion of macro ‘SET_ENVFLAGS’
4683 | void (SET_ENVFLAGS)(SEXP x, int v) { SET_ENVFLAGS(x, v); }
| ^~~~~~~~~~~~
memory.c: In function ‘SET_PRENV’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4697:35: note: in expansion of macro ‘FIX_REFCNT’
4697 | void (SET_PRENV)(SEXP x, SEXP v){ FIX_REFCNT(x, PRENV(x), v); CHECK_OLD_TO_NEW(x, v); PRENV(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4697:35: note: in expansion of macro ‘FIX_REFCNT’
4697 | void (SET_PRENV)(SEXP x, SEXP v){ FIX_REFCNT(x, PRENV(x), v); CHECK_OLD_TO_NEW(x, v); PRENV(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4697:35: note: in expansion of macro ‘FIX_REFCNT’
4697 | void (SET_PRENV)(SEXP x, SEXP v){ FIX_REFCNT(x, PRENV(x), v); CHECK_OLD_TO_NEW(x, v); PRENV(x) = v; }
| ^~~~~~~~~~
memory.c: In function ‘SET_PRCODE’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4698:37: note: in expansion of macro ‘FIX_REFCNT’
4698 | void (SET_PRCODE)(SEXP x, SEXP v) { FIX_REFCNT(x, PRCODE(x), v); CHECK_OLD_TO_NEW(x, v); PRCODE(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4698:37: note: in expansion of macro ‘FIX_REFCNT’
4698 | void (SET_PRCODE)(SEXP x, SEXP v) { FIX_REFCNT(x, PRCODE(x), v); CHECK_OLD_TO_NEW(x, v); PRCODE(x) = v; }
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4698:37: note: in expansion of macro ‘FIX_REFCNT’
4698 | void (SET_PRCODE)(SEXP x, SEXP v) { FIX_REFCNT(x, PRCODE(x), v); CHECK_OLD_TO_NEW(x, v); PRCODE(x) = v; }
| ^~~~~~~~~~
In file included from memory.c:84:
memory.c: In function ‘SET_PRSEEN’:
../../src/include/Defn.h:1171:44: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1171 | #define SET_PRSEEN(x,v) (((x)->sxpinfo.gp)=(v))
| ^
memory.c:4699:36: note: in expansion of macro ‘SET_PRSEEN’
4699 | void (SET_PRSEEN)(SEXP x, int v) { SET_PRSEEN(CHK(x), v); }
| ^~~~~~~~~~
In file included from memory.c:84:
memory.c: In function ‘SET_PRVALUE’:
../../src/include/Defn.h:321:29: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
321 | else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK); \
| ^
memory.c:1290:4: note: in expansion of macro ‘SET_ASSIGNMENT_PENDING’
1290 | SET_ASSIGNMENT_PENDING(__x__, FALSE); \
| ^~~~~~~~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4711:5: note: in expansion of macro ‘FIX_REFCNT’
4711 | FIX_REFCNT(x, PRVALUE0(x), v);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
memory.c:1292:4: note: in expansion of macro ‘DECREMENT_REFCNT’
1292 | DECREMENT_REFCNT(__old__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4711:5: note: in expansion of macro ‘FIX_REFCNT’
4711 | FIX_REFCNT(x, PRVALUE0(x), v);
| ^~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
memory.c:1294:16: note: in expansion of macro ‘INCREMENT_REFCNT’
1294 | if (__new__) INCREMENT_REFCNT(__new__); \
| ^~~~~~~~~~~~~~~~
memory.c:1298:33: note: in expansion of macro ‘FIX_REFCNT_EX’
1298 | #define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
| ^~~~~~~~~~~~~
memory.c:4711:5: note: in expansion of macro ‘FIX_REFCNT’
4711 | FIX_REFCNT(x, PRVALUE0(x), v);
| ^~~~~~~~~~
In file included from memory.c:84:
memory.c: In function ‘UNLOCK_BINDING’:
../../src/include/Defn.h:1228:47: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1228 | #define UNLOCK_BINDING(b) ((b)->sxpinfo.gp &= (~BINDING_LOCK_MASK))
| ^
memory.c:4769:49: note: in expansion of macro ‘UNLOCK_BINDING’
4769 | attribute_hidden void (UNLOCK_BINDING)(SEXP b) {UNLOCK_BINDING(CHK(b));}
| ^~~~~~~~~~~~~~
memory.c: In function ‘UNSET_BASE_SYM_CACHED’:
../../src/include/Defn.h:1232:54: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1232 | #define UNSET_BASE_SYM_CACHED(b) ((b)->sxpinfo.gp &= (~BASE_SYM_CACHED_MASK))
| ^
memory.c:4774:40: note: in expansion of macro ‘UNSET_BASE_SYM_CACHED’
4774 | void (UNSET_BASE_SYM_CACHED)(SEXP b) { UNSET_BASE_SYM_CACHED(CHK(b)); }
| ^~~~~~~~~~~~~~~~~~~~~
memory.c: In function ‘UNSET_SPECIAL_SYMBOL’:
../../src/include/Defn.h:1237:53: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1237 | #define UNSET_SPECIAL_SYMBOL(b) ((b)->sxpinfo.gp &= (~SPECIAL_SYMBOL_MASK))
| ^
memory.c:4781:39: note: in expansion of macro ‘UNSET_SPECIAL_SYMBOL’
4781 | void (UNSET_SPECIAL_SYMBOL)(SEXP b) { UNSET_SPECIAL_SYMBOL(CHK(b)); }
| ^~~~~~~~~~~~~~~~~~~~
memory.c: In function ‘UNSET_NO_SPECIAL_SYMBOLS’:
../../src/include/Defn.h:1240:57: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1240 | #define UNSET_NO_SPECIAL_SYMBOLS(b) ((b)->sxpinfo.gp &= (~SPECIAL_SYMBOL_MASK))
| ^
memory.c:4787:43: note: in expansion of macro ‘UNSET_NO_SPECIAL_SYMBOLS’
4787 | void (UNSET_NO_SPECIAL_SYMBOLS)(SEXP b) { UNSET_NO_SPECIAL_SYMBOLS(CHK(b)); }
| ^~~~~~~~~~~~~~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c objects.c -o objects.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c options.c -o options.o
In file included from objects.c:32:
objects.c: In function ‘do_set_prim_method’:
../../src/include/R_ext/RS.h:56:75: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
56 | #define R_Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (R_SIZE_T)((n) * sizeof(t)) )
| ^
objects.c:1465:22: note: in expansion of macro ‘R_Realloc’
1465 | prim_methods = R_Realloc(prim_methods, n, prim_methods_t);
| ^~~~~~~~~
../../src/include/R_ext/RS.h:56:75: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
56 | #define R_Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (R_SIZE_T)((n) * sizeof(t)) )
| ^
objects.c:1466:22: note: in expansion of macro ‘R_Realloc’
1466 | prim_generics = R_Realloc(prim_generics, n, SEXP);
| ^~~~~~~~~
../../src/include/R_ext/RS.h:56:75: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
56 | #define R_Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (R_SIZE_T)((n) * sizeof(t)) )
| ^
objects.c:1467:21: note: in expansion of macro ‘R_Realloc’
1467 | prim_mlist = R_Realloc(prim_mlist, n, SEXP);
| ^~~~~~~~~
In file included from objects.c:30:
objects.c: In function ‘R_possible_dispatch’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
objects.c:1659:7: note: in expansion of macro ‘INCREMENT_REFCNT’
1659 | INCREMENT_REFCNT(CAR(a));
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
objects.c:1663:7: note: in expansion of macro ‘DECREMENT_REFCNT’
1663 | DECREMENT_REFCNT(CAR(a));
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
objects.c:1686:6: note: in expansion of macro ‘INCREMENT_REFCNT’
1686 | INCREMENT_REFCNT(CAR(a));
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
objects.c:1689:6: note: in expansion of macro ‘DECREMENT_REFCNT’
1689 | DECREMENT_REFCNT(CAR(a));
| ^~~~~~~~~~~~~~~~
objects.c: In function ‘Rf_asS4’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
objects.c:1874:2: note: in expansion of macro ‘UNSET_S4_OBJECT’
1874 | UNSET_S4_OBJECT(s);
| ^~~~~~~~~~~~~~~
options.c: In function ‘Rf_InitOptions’:
options.c:420:29: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
420 | SETCAR(v, ScalarInteger(max_contour_segments));
| ^~~~~~~~~~~~~~~~~~~~
options.c: In function ‘do_options’:
options.c:772:26: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
772 | max_contour_segments = k;
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c paste.c -o paste.o
paste.c: In function ‘do_paste’:
paste.c:208:14: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
208 | pwidth += strlen(CHAR (STRING_ELT(VECTOR_ELT(x, j), i % k)));
| ^~
paste.c:208:17: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
208 | pwidth += strlen(CHAR (STRING_ELT(VECTOR_ELT(x, j), i % k)));
| ^~~~~~
paste.c:210:14: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
210 | pwidth += strlen(translateCharUTF8(STRING_ELT(VECTOR_ELT(x, j), i % k)));
| ^~
paste.c:210:17: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
210 | pwidth += strlen(translateCharUTF8(STRING_ELT(VECTOR_ELT(x, j), i % k)));
| ^~~~~~
paste.c:212:14: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
212 | pwidth += strlen(translateChar (STRING_ELT(VECTOR_ELT(x, j), i % k)));
| ^~
paste.c:212:17: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
212 | pwidth += strlen(translateChar (STRING_ELT(VECTOR_ELT(x, j), i % k)));
| ^~~~~~
paste.c:226:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
226 | char *buf = R_AllocStringBuffer(pwidth, &cbuff);
| ^~~~~~
paste.c:288:10: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
288 | pwidth += strlen(translateCharUTF8(STRING_ELT(ans, i)));
| ^~
paste.c:288:13: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
288 | pwidth += strlen(translateCharUTF8(STRING_ELT(ans, i)));
| ^~~~~~
paste.c:291:10: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
291 | pwidth += strlen(CHAR(STRING_ELT(ans, i)));
| ^~
paste.c:291:13: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
291 | pwidth += strlen(CHAR(STRING_ELT(ans, i)));
| ^~~~~~
paste.c:295:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
295 | char *buf = R_AllocStringBuffer(pwidth, &cbuff);
| ^~~~~~
paste.c: In function ‘do_filepath’:
paste.c:412:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
412 | char *buf = R_AllocStringBuffer(pwidth, &cbuff);
| ^~~~~~
paste.c: In function ‘do_format’:
paste.c:628:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
628 | R_CheckStack2(cnt+1);
| ~~~^~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c patterns.c -o patterns.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c platform.c -o platform.o
platform.c: In function ‘do_fileshow’:
platform.c:332:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
332 | f = (const char**) R_alloc(n, sizeof(char*));
| ^
platform.c:333:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
333 | h = (const char**) R_alloc(n, sizeof(char*));
| ^
In file included from platform.c:42:
platform.c: In function ‘R_unlink’:
../../src/include/Defn.h:787:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^
platform.c:1973:5: note: in expansion of macro ‘R_CheckStack’
1973 | R_CheckStack(); // called recursively
| ^~~~~~~~~~~~
../../src/include/Defn.h:787:19: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^~~~~~~~~~~
platform.c:1973:5: note: in expansion of macro ‘R_CheckStack’
1973 | R_CheckStack(); // called recursively
| ^~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c plot.c -o plot.o
platform.c: In function ‘do_copy’:
platform.c:3067:14: warning: conversion to ‘int’ from ‘__mode_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
3067 | int um = umask(0); umask((mode_t) um);
| ^~~~~
platform.c:3074:11: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3074 | len = snprintf(NULL, 0, "%s%s", from, name);
| ^~~~~~~~
platform.c:3088:8: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3088 | len = snprintf(NULL, 0, "%s%s", to, name);
| ^~~~~~~~
platform.c:3120:9: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3120 | len = snprintf(NULL, 0, "%s/%s", name, de->d_name);
| ^~~~~~~~
platform.c:3135:44: warning: conversion to ‘__mode_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3135 | chmod(dest, (mode_t) (perms ? (sb.st_mode & mask): mask));
| ^
platform.c:3135:51: warning: conversion to ‘__mode_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3135 | chmod(dest, (mode_t) (perms ? (sb.st_mode & mask): mask));
| ^
platform.c:3141:8: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3141 | len = snprintf(NULL, 0, "%s%s", to, name);
| ^~~~~~~~
platform.c:3182:35: warning: conversion to ‘__mode_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3182 | if(perms) chmod(dest, sb.st_mode & mask);
| ^
In file included from ../../src/include/Defn.h:104,
from platform.c:42:
platform.c: In function ‘do_sysumask’:
platform.c:3383:33: warning: conversion to ‘int’ from ‘mode_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
3383 | PROTECT(ans = ScalarInteger(res));
| ^~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
platform.c: In function ‘do_Cstack_info’:
platform.c:3429:15: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
3429 | (R_CStackDir * (R_CStackStart - (uintptr_t) &ans));
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c plot3d.c -o plot3d.o
In file included from plot3d.c:38:
contour-common.h: In function ‘contourLines’:
contour-common.h:179:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
179 | segmentDB = (SEGP*)R_alloc(nx*ny, sizeof(SEGP));
| ~~^~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c plotmath.c -o plotmath.o
plotmath.c: In function ‘RenderSymbolStr’:
plotmath.c:985:16: warning: conversion to ‘wint_t’ {aka ‘unsigned int’} from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
985 | if (iswdigit(wc) && font != PlainFont) {
| ^~
plotmath.c:993:25: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
993 | glyphBBox = GlyphBBox((unsigned int) wc, gc, dd);
| ^~~~~~~~~~~~~~~~~
plotmath.c: In function ‘RenderStr’:
plotmath.c:1098:25: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1098 | glyphBBox = GlyphBBox((unsigned int) wc, gc, dd);
| ^~~~~~~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c print.c -o print.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c printarray.c -o printarray.o
print.c: In function ‘PrintGenericVector’:
print.c:84:20: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
84 | #define TAGBUFLEN0 (TAGBUFLEN + 6)
| ^
print.c:556:14: note: in expansion of macro ‘TAGBUFLEN0’
556 | size_t sz = TAGBUFLEN0 * 2 - taglen;
| ^~~~~~~~~~
print.c:583:18: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
583 | if (taglen + strlen(ss) > TAGBUFLEN) {
| ^
print.c: In function ‘printList’:
print.c:84:20: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
84 | #define TAGBUFLEN0 (TAGBUFLEN + 6)
| ^
print.c:728:14: note: in expansion of macro ‘TAGBUFLEN0’
728 | size_t sz = TAGBUFLEN0 * 2 - taglen;
| ^~~~~~~~~~
print.c:733:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
733 | if (taglen + strlen(CHAR(PRINTNAME(TAG(s)))) > TAGBUFLEN) {
| ^
print.c: In function ‘realp0_’:
print.c:1190:30: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1190 | ddata = (double *) malloc(nd*sizeof(double));
| ^
print.c: In function ‘xerbla_’:
print.c:1215:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1215 | strncpy(buf, srname, len);
| ^~~
printarray.c: In function ‘printLogicalMatrix’:
printarray.c:126:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
126 | int *w = (int *) R_alloc(c, sizeof(int)); \
| ^
printarray.c:213:5: note: in expansion of macro ‘_PRINT_INIT_rl_rn’
213 | _PRINT_INIT_rl_rn;
| ^~~~~~~~~~~~~~~~~
printarray.c: In function ‘printIntegerMatrix’:
printarray.c:126:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
126 | int *w = (int *) R_alloc(c, sizeof(int)); \
| ^
printarray.c:226:5: note: in expansion of macro ‘_PRINT_INIT_rl_rn’
226 | _PRINT_INIT_rl_rn;
| ^~~~~~~~~~~~~~~~~
printarray.c: In function ‘printRealMatrix’:
printarray.c:126:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
126 | int *w = (int *) R_alloc(c, sizeof(int)); \
| ^
printarray.c:239:5: note: in expansion of macro ‘_PRINT_INIT_rl_rn’
239 | _PRINT_INIT_rl_rn;
| ^~~~~~~~~~~~~~~~~
printarray.c:241:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
241 | int *d = (int *) R_alloc(c, sizeof(int)),
| ^
printarray.c:242:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
242 | *e = (int *) R_alloc(c, sizeof(int));
| ^
printarray.c: In function ‘printComplexMatrix’:
printarray.c:126:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
126 | int *w = (int *) R_alloc(c, sizeof(int)); \
| ^
printarray.c:256:5: note: in expansion of macro ‘_PRINT_INIT_rl_rn’
256 | _PRINT_INIT_rl_rn;
| ^~~~~~~~~~~~~~~~~
printarray.c:258:31: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
258 | int *dr = (int *) R_alloc(c, sizeof(int)),
| ^
printarray.c:259:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
259 | *er = (int *) R_alloc(c, sizeof(int)),
| ^
printarray.c:260:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
260 | *wr = (int *) R_alloc(c, sizeof(int)),
| ^
printarray.c:261:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
261 | *di = (int *) R_alloc(c, sizeof(int)),
| ^
printarray.c:262:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
262 | *ei = (int *) R_alloc(c, sizeof(int)),
| ^
printarray.c:263:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
263 | *wi = (int *) R_alloc(c, sizeof(int));
| ^
printarray.c: In function ‘printStringMatrix’:
printarray.c:126:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
126 | int *w = (int *) R_alloc(c, sizeof(int)); \
| ^
printarray.c:289:5: note: in expansion of macro ‘_PRINT_INIT_rl_rn’
289 | _PRINT_INIT_rl_rn;
| ^~~~~~~~~~~~~~~~~
printarray.c: In function ‘printRawMatrix’:
printarray.c:126:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
126 | int *w = (int *) R_alloc(c, sizeof(int)); \
| ^
printarray.c:315:5: note: in expansion of macro ‘_PRINT_INIT_rl_rn’
315 | _PRINT_INIT_rl_rn;
| ^~~~~~~~~~~~~~~~~
In file included from ../../src/include/Defn.h:2375,
from printarray.c:35:
printarray.c: In function ‘Rf_printMatrix’:
printarray.c:383:52: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
383 | Rprintf(ngettext(" %d row", " %d rows", r - r_pr), r - r_pr);
| ~~^~~~~~
printarray.c:387:54: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
387 | Rprintf(ngettext(" %d column", " %d columns", c - c_pr), c - c_pr);
| ~~^~~~~~
printarray.c: In function ‘Rf_printArray’:
printarray.c:512:50: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
512 | Rprintf(ngettext(" %d slice", " %d slices", nb - nb_pr), nb - nb_pr);
| ~~~^~~~~~~
printarray.c:514:73: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
514 | if((nr -= nr_last) > 0) Rprintf(ngettext(" %d row", " %d rows", nr), nr);
| ^~
printarray.c:515:73: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
515 | if((nc -= nc_last) > 0) Rprintf(ngettext(" %d column", " %d columns", nc), nc);
| ^~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c printvector.c -o printvector.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c printutils.c -o printutils.o
printutils.c: In function ‘R_Decode2Long’:
printutils.c:93:18: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
93 | R_size_t v = strtol(p, &p, 10);
| ^~~~~~
printutils.c: In function ‘Rf_EncodeReal0’:
printutils.c:214:21: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
214 | snprintf(buff, NB, fmt, x);
| ^~~
printutils.c:218:21: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
218 | snprintf(buff, NB, fmt, x);
| ^~~
printutils.c: In function ‘EncodeRealDrop0’:
printutils.c:262:21: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
262 | snprintf(buff, NB, fmt, x);
| ^~~
printutils.c:266:21: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
266 | snprintf(buff, NB, fmt, x);
| ^~~
printutils.c: In function ‘Rf_EncodeReal2’:
printutils.c:328:25: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
328 | snprintf(buff, NB, fmt, x);
| ^~~
printutils.c:332:25: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
332 | snprintf(buff, NB, fmt, x);
| ^~~
printutils.c:337:21: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
337 | snprintf(buff, NB, fmt, x);
| ^~~
printutils.c: In function ‘Rstrwid’:
printutils.c:408:24: warning: conversion to ‘unsigned char’ from ‘char’ may change the sign of the result [-Wsign-conversion]
408 | unsigned char k = str[i];
| ^~~
printutils.c:427:25: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
427 | (int) mbrtowc(&wc, p, R_MB_CUR_MAX, &mb_st);
| ^~~~~~~~~~~~
In file included from printutils.c:388:
../../src/include/rlocale.h:177:23: warning: conversion to ‘unsigned int’ from ‘R_wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
177 | # define utf8toucs32 Rf_utf8toucs32
| ^~~~~~~~~~~~~~
printutils.c:430:11: note: in expansion of macro ‘utf8toucs32’
430 | k = utf8toucs32(wc, p);
| ^~~~~~~~~~~
printutils.c:432:11: warning: conversion to ‘unsigned int’ from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
432 | k = wc;
| ^~
printutils.c:470:18: warning: conversion to ‘R_wchar_t’ {aka ‘int’} from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
470 | Ri18n_wcwidth(k) :
| ^
printutils.c: In function ‘Rf_EncodeString’:
printutils.c:590:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
590 | char *pp = R_alloc(4*cnt+1, 1), *qq = pp, buf[5];
| ~~~~~^~
printutils.c:684:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
684 | mbrtowc(&wc, p, R_MB_CUR_MAX, &mb_st));
| ^~~~~~~~~~~~
In file included from printutils.c:388:
../../src/include/rlocale.h:177:23: warning: conversion to ‘unsigned int’ from ‘R_wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
177 | # define utf8toucs32 Rf_utf8toucs32
| ^~~~~~~~~~~~~~
printutils.c:691:11: note: in expansion of macro ‘utf8toucs32’
691 | k = utf8toucs32(wc, p);
| ^~~~~~~~~~~
printutils.c:693:11: warning: conversion to ‘unsigned int’ from ‘wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
693 | k = wc;
| ^~
printutils.c:755:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
755 | memcpy(q, buf, j);
| ^
printutils.c: In function ‘REvprintf_internal’:
printutils.c:1051:39: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1051 | malloc_buf = (char *)malloc(size * sizeof(char));
| ^
printutils.c:1053:31: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1053 | res = vsnprintf(malloc_buf, size, format, arg);
| ^~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c qsort.c -o qsort.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c radixsort.c -o radixsort.o
qsort.c: In function ‘do_qsort’:
qsort.c:79:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
79 | if(x_int) R_qsort_int_R(ivx, ix, 1, n);
| ^
qsort.c:80:29: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
80 | else R_qsort_R(vx, ix, 1, n);
| ^
qsort.c:107:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
107 | R_qsort_int(ivx, 1, n);
| ^
qsort.c:109:18: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
109 | R_qsort(vx, 1, n);
| ^
qsort.c: In function ‘qsort3_’:
qsort.c:126:16: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
126 | R_qsort(v, *ii, *jj);
| ^~~
qsort.c:126:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
126 | R_qsort(v, *ii, *jj);
| ^~~
In file included from qsort.c:151:
qsort-body.c: In function ‘R_qsort_R’:
qsort-body.c:69:32: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
69 | ij = (INTt)(i + (INTt)((j - i)*R));
| ^
In file included from qsort.c:156:
qsort-body.c: In function ‘R_qsort_int_R’:
qsort-body.c:69:32: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
69 | ij = (INTt)(i + (INTt)((j - i)*R));
| ^
In file included from qsort.c:166:
qsort-body.c: In function ‘R_qsort’:
qsort-body.c:69:32: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
69 | ij = (INTt)(i + (INTt)((j - i)*R));
| ^
In file included from qsort.c:171:
qsort-body.c: In function ‘R_qsort_int’:
qsort-body.c:69:32: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
69 | ij = (INTt)(i + (INTt)((j - i)*R));
| ^
radixsort.c: In function ‘savetl_init’:
radixsort.c:76:37: warning: conversion to ‘long unsigned int’ from ‘R_len_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
76 | saveds = (SEXP *) malloc(nalloc * sizeof(SEXP));
| ^
radixsort.c:79:41: warning: conversion to ‘long unsigned int’ from ‘R_len_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
79 | savedtl = (R_len_t *) malloc(nalloc * sizeof(R_len_t));
| ^
radixsort.c: In function ‘savetl’:
radixsort.c:107:40: warning: conversion to ‘long unsigned int’ from ‘R_len_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
107 | tmp = (char *) realloc(saveds, nalloc * sizeof(SEXP));
| ^
radixsort.c:113:41: warning: conversion to ‘long unsigned int’ from ‘R_len_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
113 | tmp = (char *) realloc(savedtl, nalloc * sizeof(R_len_t));
| ^
radixsort.c: In function ‘growstack’:
radixsort.c:138:39: warning: conversion to ‘uint64_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
138 | if (newlen > gsmaxalloc) newlen = gsmaxalloc;
| ^~~~~~~~~~
radixsort.c: In function ‘mpush’:
radixsort.c:162:38: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
162 | growstack(((uint64_t)(gsngrp[flip]) + n) * 2);
| ^
radixsort.c: In function ‘icount’:
radixsort.c:280:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
280 | push(counts[napos]);
| ~~~~~~^~~~~~~
radixsort.c:281:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
281 | tmp += counts[napos];
| ^~
radixsort.c:281:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
281 | tmp += counts[napos];
| ^~~~~~
radixsort.c:291:17: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
291 | push(counts[w]);
| ~~~~~~^~~
radixsort.c:292:23: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
292 | counts[w] = (tmp += counts[w]);
| ^~
radixsort.c:292:26: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
292 | counts[w] = (tmp += counts[w]);
| ^~~~~~
radixsort.c:292:18: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
292 | counts[w] = (tmp += counts[w]);
| ^
radixsort.c:297:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
297 | push(counts[napos]);
| ~~~~~~^~~~~~~
radixsort.c:298:30: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
298 | counts[napos] = (tmp += counts[napos]);
| ^~
radixsort.c:298:33: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
298 | counts[napos] = (tmp += counts[napos]);
| ^~~~~~
radixsort.c:298:25: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
298 | counts[napos] = (tmp += counts[napos]);
| ^
radixsort.c:325:36: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
325 | memset(counts, 0, (range + 1) * sizeof(int));
| ^
radixsort.c: In function ‘alloc_otmp’:
radixsort.c:407:36: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
407 | otmp = (int *) realloc(otmp, n * sizeof(int));
| ^
radixsort.c: In function ‘alloc_xtmp’:
radixsort.c:423:39: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
423 | xtmp = (double *) realloc(xtmp, n * sizeof(double));
| ^
radixsort.c: In function ‘iradix’:
radixsort.c:445:40: warning: unsigned conversion from ‘int’ to ‘unsigned int’ changes value from ‘-2147483648’ to ‘2147483648’ [-Wsign-conversion]
445 | thisx = (unsigned int) (icheck(x[i])) - INT_MIN;
| ^
radixsort.c:484:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
484 | shift = radix * 8;
| ^~~~~
radixsort.c:486:12: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
486 | itmp = thiscounts[0];
| ^~~~~~~~~~
radixsort.c:489:13: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
489 | thisgrpn = thiscounts[i];
| ^~~~~~~~~~
radixsort.c:494:22: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
494 | thiscounts[i] = (itmp += thisgrpn);
| ^
radixsort.c:498:41: warning: unsigned conversion from ‘int’ to ‘unsigned int’ changes value from ‘-2147483648’ to ‘2147483648’ [-Wsign-conversion]
498 | thisx = ((unsigned int) (icheck(x[i])) - INT_MIN) >> shift & 0xFF;
| ^
radixsort.c:509:58: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
509 | radix_xsub = (int *) realloc(radix_xsub, maxgrpn * sizeof(double));
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c random.c -o random.o
radixsort.c:513:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
513 | radix_xsuballoc = maxgrpn;
| ^~~~~~~
radixsort.c:526:23: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
526 | thiscounts[256] = n;
| ^
radixsort.c:531:34: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
531 | thisgrpn = thiscounts[i] - itmp;
| ^
radixsort.c:531:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
531 | thisgrpn = thiscounts[i] - itmp;
| ^~~~~~~~~~
radixsort.c:542:16: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
542 | itmp = thiscounts[i];
| ^~~~~~~~~~
radixsort.c: In function ‘iradix_r’:
radixsort.c:575:33: warning: unsigned conversion from ‘int’ to ‘unsigned int’ changes value from ‘-2147483648’ to ‘2147483648’ [-Wsign-conversion]
575 | thisx = (unsigned int) xsub[i] - INT_MIN; // sequential in xsub
| ^
radixsort.c:575:10: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
575 | thisx = (unsigned int) xsub[i] - INT_MIN; // sequential in xsub
| ^
radixsort.c:578:12: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
578 | itmp = thiscounts[0];
| ^~~~~~~~~~
radixsort.c:582:28: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
582 | thiscounts[i] = (itmp += thiscounts[i]);
| ^~
radixsort.c:582:31: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
582 | thiscounts[i] = (itmp += thiscounts[i]);
| ^~~~~~~~~~
radixsort.c:582:22: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
582 | thiscounts[i] = (itmp += thiscounts[i]);
| ^
radixsort.c:584:34: warning: unsigned conversion from ‘int’ to ‘unsigned int’ changes value from ‘-2147483648’ to ‘2147483648’ [-Wsign-conversion]
584 | thisx = ((unsigned int) xsub[i] - INT_MIN) >> shift & 0xFF;
| ^
radixsort.c:585:6: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
585 | j = --thiscounts[thisx];
| ^~
radixsort.c:589:26: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
589 | memcpy(osub, otmp, n * sizeof(int));
| ^
radixsort.c:590:26: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
590 | memcpy(xsub, xtmp, n * sizeof(int));
| ^
radixsort.c:601:23: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
601 | thiscounts[256] = n;
| ^
radixsort.c:606:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
606 | thisgrpn = thiscounts[i] - itmp; // undo cummulate; i.e. diff
| ^
radixsort.c:606:13: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
606 | thisgrpn = thiscounts[i] - itmp; // undo cummulate; i.e. diff
| ^~~~~~~~~~
radixsort.c:612:9: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
612 | itmp = thiscounts[i];
| ^~~~~~~~~~
radixsort.c: In function ‘setNumericRounding’:
radixsort.c:626:14: warning: conversion to ‘long long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
626 | dmask1 = dround ? 1 << (8 * dround - 1) : 0;
| ^~~~~~
radixsort.c: In function ‘dradix’:
radixsort.c:717:12: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
717 | itmp = thiscounts[0];
| ^~~~~~~~~~
radixsort.c:720:13: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
720 | thisgrpn = thiscounts[i];
| ^~~~~~~~~~
radixsort.c:724:22: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
724 | thiscounts[i] = (itmp += thisgrpn);
| ^
radixsort.c:740:61: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
740 | radix_xsub = (double *) realloc(radix_xsub, maxgrpn * sizeof(double));
| ^
radixsort.c:744:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
744 | radix_xsuballoc = maxgrpn;
| ^~~~~~~
radixsort.c:756:23: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
756 | thiscounts[256] = n;
| ^
radixsort.c:761:34: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
761 | thisgrpn = thiscounts[i] - itmp; // undo cummulate; i.e. diff
| ^
radixsort.c:761:20: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
761 | thisgrpn = thiscounts[i] - itmp; // undo cummulate; i.e. diff
| ^~~~~~~~~~
radixsort.c:778:9: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
778 | itmp = thiscounts[i];
| ^~~~~~~~~~
radixsort.c: In function ‘dradix_r’:
radixsort.c:847:12: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
847 | itmp = thiscounts[0];
| ^~~~~~~~~~
radixsort.c:851:28: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
851 | thiscounts[i] = (itmp += thiscounts[i]);
| ^~
radixsort.c:851:31: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
851 | thiscounts[i] = (itmp += thiscounts[i]);
| ^~~~~~~~~~
radixsort.c:851:22: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
851 | thiscounts[i] = (itmp += thiscounts[i]);
| ^
radixsort.c:852:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
852 | p = xsub + (n - 1) * colSize;
| ^
radixsort.c:856:14: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
856 | int j = --thiscounts[*(p + RADIX_BYTE)];
| ^~
radixsort.c:863:14: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
863 | int j = --thiscounts[*(p + RADIX_BYTE)];
| ^~
radixsort.c:869:26: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
869 | memcpy(osub, otmp, n * sizeof(int));
| ^
radixsort.c:870:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
870 | memcpy(xsub, xtmp, n * colSize);
| ^
radixsort.c:882:23: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
882 | thiscounts[256] = n;
| ^
radixsort.c:887:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
887 | thisgrpn = thiscounts[i] - itmp; // undo cummulate; i.e. diff
| ^
radixsort.c:887:13: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
887 | thisgrpn = thiscounts[i] - itmp; // undo cummulate; i.e. diff
| ^~~~~~~~~~
radixsort.c:891:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
891 | dradix_r(xsub + itmp * colSize, osub + itmp, thisgrpn,
| ^
radixsort.c:893:9: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
893 | itmp = thiscounts[i];
| ^~~~~~~~~~
radixsort.c: In function ‘cradix_r’:
radixsort.c:1025:33: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1025 | memcpy(xsub, cradix_xtmp, n * sizeof(SEXP));
| ^
radixsort.c: In function ‘cgroup’:
radixsort.c:1090:38: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1090 | ustr = realloc(ustr, ustr_alloc * sizeof(SEXP));
| ^
radixsort.c: In function ‘alloc_csort_otmp’:
radixsort.c:1126:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1126 | csort_otmp = (int *) realloc(csort_otmp, n * sizeof(int));
| ^
radixsort.c: In function ‘csort_pre’:
radixsort.c:1218:38: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1218 | ustr = realloc(ustr, ustr_alloc * sizeof(SEXP));
| ^
radixsort.c:1243:38: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1243 | cradix_counts_alloc * 256 * sizeof(int));
| ^
radixsort.c:1246:53: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1246 | memset(cradix_counts, 0, cradix_counts_alloc * 256 * sizeof(int));
| ^
radixsort.c:1249:61: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1249 | cradix_xtmp = (SEXP *) realloc(cradix_xtmp, ustr_n * sizeof(SEXP));
| ^
radixsort.c: In function ‘do_radixsort’:
radixsort.c:1707:40: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1707 | xsub = (void *) malloc(maxgrpn * sizeof(double));
| ^
radixsort.c:1712:39: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1712 | newo = (int *) malloc(maxgrpn * sizeof(int));
| ^
radixsort.c:1875:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1875 | memcpy(osub, xsub, thisgrpn * sizeof(int));
| ^
random.c: In function ‘walker_ProbSampleReplace’:
random.c:357:18: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
357 | R_CheckStack2(n *(sizeof(int) + sizeof(double)));
| ^
In file included from random.c:26:
random.c:359:24: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
359 | HL = (int *) alloca(n * sizeof(int));
| ^
../../src/include/Defn.h:2412:38: note: in definition of macro ‘alloca’
2412 | # define alloca(x) __builtin_alloca((x))
| ^
random.c:360:26: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
360 | q = (double *) alloca(n * sizeof(double));
| ^
../../src/include/Defn.h:2412:38: note: in definition of macro ‘alloca’
2412 | # define alloca(x) __builtin_alloca((x))
| ^
random.c: In function ‘do_sample’:
random.c:523:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
523 | double *x = (double *)R_alloc(n, sizeof(double));
| ^
random.c:527:44: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
527 | R_xlen_t j = (R_xlen_t) R_unif_index(n);
| ^
random.c:543:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
543 | int *x = (int *)R_alloc(n, sizeof(int));
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c raw.c -o raw.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c registration.c -o registration.o
raw.c: In function ‘do_charToRaw’:
raw.c:42:54: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
42 | if (nc) memcpy(RAW(ans), CHAR(STRING_ELT(x, 0)), nc);
| ^~
raw.c: In function ‘do_rawShift’:
raw.c:96:22: warning: conversion from ‘int’ to ‘Rbyte’ {aka ‘unsigned char’} may change value [-Wconversion]
96 | RAW(ans)[i] <<= shift;
| ^~~~~
raw.c:99:22: warning: conversion from ‘int’ to ‘Rbyte’ {aka ‘unsigned char’} may change value [-Wconversion]
99 | RAW(ans)[i] >>= (-shift);
| ^
raw.c: In function ‘do_packBits’:
raw.c:218:12: warning: conversion from ‘int’ to ‘Rbyte’ {aka ‘unsigned char’} may change value [-Wconversion]
218 | btmp <<= 1;
| ^
In file included from raw.c:24:
../../src/include/Defn.h:423:17: warning: conversion from ‘int’ to ‘Rbyte’ {aka ‘unsigned char’} may change value [-Wconversion]
423 | #define RAW(x) ((Rbyte *) DATAPTR(x))
| ^
raw.c:220:15: note: in expansion of macro ‘RAW’
220 | btmp |= RAW(x)[8*i + k] & 0x1;
| ^~~
raw.c:225:15: warning: conversion from ‘int’ to ‘Rbyte’ {aka ‘unsigned char’} may change value [-Wconversion]
225 | btmp |= j & 0x1;
| ^
raw.c: In function ‘mbrtoint’:
raw.c:296:4: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
296 | | ((s[1] & 0x3F) << 6) | (s[2] & 0x3F));
| ^
raw.c:297:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
297 | byte = *w;
| ^
raw.c:309:4: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
309 | | ((s[1] & 0x3F) << 12)
| ^
raw.c:310:4: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
310 | | ((s[2] & 0x3F) << 6)
| ^
raw.c:312:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
312 | byte = *w;
| ^
raw.c: In function ‘do_utf8ToInt’:
raw.c:334:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
334 | int *ians = (int *) R_alloc(nc, sizeof(int));
| ^~
raw.c:343:51: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
343 | if (j) memcpy(INTEGER(ans), ians, sizeof(int) * j);
| ^
raw.c: In function ‘inttomb’:
raw.c:354:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
354 | unsigned int cvalue = wc;
| ^~
raw.c:366:32: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
366 | *b = (char)(utf8_table2[i] | cvalue);
| ^
raw.c:367:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
367 | return i + 1;
| ~~^~~
raw.c: In function ‘do_intToUtf8’:
raw.c:446:21: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
446 | unsigned int hi = this - 0xD800, lo = next - 0xDC00;
| ^~~~
raw.c:446:41: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
446 | unsigned int hi = this - 0xD800, lo = next - 0xDC00;
| ^~~~
raw.c:447:10: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
447 | this = 0x10000 + (hi << 10) + lo;
| ^~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c relop.c -o relop.o
In file included from relop.c:30:
relop.c: In function ‘bitwiseShiftL’:
relop.c:834:15: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
834 | NA_INTEGER : ((unsigned int)aa << bb);
| ^
../../src/include/R_ext/Itermacros.h:83:6: note: in definition of macro ‘MOD_ITERATE2_CORE’
83 | loop_body \
| ^~~~~~~~~
relop.c:829:6: note: in expansion of macro ‘MOD_ITERATE2’
829 | MOD_ITERATE2(mn, m, n, i, ia, ib, {
| ^~~~~~~~~~~~
relop.c:832:4: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
832 | (aa == NA_INTEGER || bb == NA_INTEGER ||
| ^
../../src/include/R_ext/Itermacros.h:83:6: note: in definition of macro ‘MOD_ITERATE2_CORE’
83 | loop_body \
| ^~~~~~~~~
relop.c:829:6: note: in expansion of macro ‘MOD_ITERATE2’
829 | MOD_ITERATE2(mn, m, n, i, ia, ib, {
| ^~~~~~~~~~~~
relop.c:832:4: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
832 | (aa == NA_INTEGER || bb == NA_INTEGER ||
| ^
../../src/include/R_ext/Itermacros.h:83:6: note: in definition of macro ‘MOD_ITERATE2_CORE’
83 | loop_body \
| ^~~~~~~~~
relop.c:829:6: note: in expansion of macro ‘MOD_ITERATE2’
829 | MOD_ITERATE2(mn, m, n, i, ia, ib, {
| ^~~~~~~~~~~~
relop.c: In function ‘bitwiseShiftR’:
relop.c:868:15: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
868 | NA_INTEGER : ((unsigned int)aa >> bb);
| ^
../../src/include/R_ext/Itermacros.h:83:6: note: in definition of macro ‘MOD_ITERATE2_CORE’
83 | loop_body \
| ^~~~~~~~~
relop.c:863:6: note: in expansion of macro ‘MOD_ITERATE2’
863 | MOD_ITERATE2(mn, m, n, i, ia, ib, {
| ^~~~~~~~~~~~
relop.c:866:4: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
866 | (aa == NA_INTEGER || bb == NA_INTEGER ||
| ^
../../src/include/R_ext/Itermacros.h:83:6: note: in definition of macro ‘MOD_ITERATE2_CORE’
83 | loop_body \
| ^~~~~~~~~
relop.c:863:6: note: in expansion of macro ‘MOD_ITERATE2’
863 | MOD_ITERATE2(mn, m, n, i, ia, ib, {
| ^~~~~~~~~~~~
relop.c:866:4: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
866 | (aa == NA_INTEGER || bb == NA_INTEGER ||
| ^
../../src/include/R_ext/Itermacros.h:83:6: note: in definition of macro ‘MOD_ITERATE2_CORE’
83 | loop_body \
| ^~~~~~~~~
relop.c:863:6: note: in expansion of macro ‘MOD_ITERATE2’
863 | MOD_ITERATE2(mn, m, n, i, ia, ib, {
| ^~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c rlocale.c -o rlocale.o
rlocale.c: In function ‘get_locale_id’:
rlocale.c:211:21: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
211 | for (i = 0, j = (int) strlen(lc_str); i < j && i < sizeof(lc_str); i++)
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c saveload.c -o saveload.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c scan.c -o scan.o
saveload.c: In function ‘RemakeNextSEXP’:
saveload.c:511:11: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
511 | idx = m->InInteger(fp, d);
| ^
saveload.c:512:22: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
512 | type = FixupType(m->InInteger(fp, d), version);
| ^~~~~~~~~~~~~~~~~~~
saveload.c:541:22: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
541 | R_AllocStringBuffer(len, &(d->buffer));
| ^~~
saveload.c: In function ‘RestoreSEXP’:
saveload.c:589:22: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
589 | type = FixupType(m->InInteger(fp, d), version);
| ^~~~~~~~~~~~~~~~~~~
In file included from saveload.c:29:
../../src/include/Defn.h:234:45: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
234 | #define SET_OBJECT(x,v) (((x)->sxpinfo.obj)=(v))
| ^
saveload.c:593:5: note: in expansion of macro ‘SET_OBJECT’
593 | SET_OBJECT(s, m->InInteger(fp, d));
| ^~~~~~~~~~
saveload.c:619:22: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
619 | R_AllocStringBuffer(len, &(d->buffer));
| ^~~
saveload.c: In function ‘DataLoad’:
saveload.c:685:49: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
685 | node.OldOffset = (int*)R_alloc(node.NSymbol + node.NSave, sizeof(int));
| ~~~~~~~~~~~~~^~~~~~~~~~~~
saveload.c: In function ‘NewLoadSpecialHook’:
saveload.c:795:5: warning: unsigned conversion from ‘int’ to ‘SEXPTYPE’ {aka ‘unsigned int’} changes value from ‘-1’ to ‘4294967295’ [-Wsign-conversion]
795 | case -1: return R_NilValue;
| ^~~~
saveload.c:796:5: warning: unsigned conversion from ‘int’ to ‘SEXPTYPE’ {aka ‘unsigned int’} changes value from ‘-2’ to ‘4294967294’ [-Wsign-conversion]
796 | case -2: return R_GlobalEnv;
| ^~~~
saveload.c:797:5: warning: unsigned conversion from ‘int’ to ‘SEXPTYPE’ {aka ‘unsigned int’} changes value from ‘-3’ to ‘4294967293’ [-Wsign-conversion]
797 | case -3: return R_UnboundValue;
| ^~~~
saveload.c:798:5: warning: unsigned conversion from ‘int’ to ‘SEXPTYPE’ {aka ‘unsigned int’} changes value from ‘-4’ to ‘4294967292’ [-Wsign-conversion]
798 | case -4: return R_MissingArg;
| ^~~~
saveload.c: In function ‘HashAdd’:
saveload.c:860:33: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
860 | R_size_t pos = PTRHASH(obj) % HASH_TABLE_SIZE(ht);
| ^
In file included from ../../src/include/Defn.h:104,
from saveload.c:29:
saveload.c:863:43: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
863 | SEXP cell = CONS(val, HASH_BUCKET(ht, pos));
| ^~~
../../src/include/Rinternals.h:322:34: note: in definition of macro ‘CONS’
322 | #define CONS(a, b) Rf_cons((a), (b)) /* data lists */
| ^
saveload.c:863:27: note: in expansion of macro ‘HASH_BUCKET’
863 | SEXP cell = CONS(val, HASH_BUCKET(ht, pos));
| ^~~~~~~~~~~
saveload.c:866:25: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
866 | SET_HASH_BUCKET(ht, pos, cell);
| ^~~
saveload.c:839:63: note: in definition of macro ‘SET_HASH_BUCKET’
839 | #define SET_HASH_BUCKET(ht, pos, val) SET_VECTOR_ELT(CDR(ht), pos, val)
| ^~~
saveload.c: In function ‘HashGet’:
saveload.c:874:34: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
874 | R_size_t pos = PTRHASH(item) % HASH_TABLE_SIZE(ht);
| ^
saveload.c:876:33: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
876 | for (cell = HASH_BUCKET(ht, pos); cell != R_NilValue; cell = CDR(cell))
| ^~~
saveload.c:838:50: note: in definition of macro ‘HASH_BUCKET’
838 | #define HASH_BUCKET(ht, pos) VECTOR_ELT(CDR(ht), pos)
| ^~~
saveload.c: In function ‘NewReadItem’:
saveload.c:1243:12: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1243 | type = m->InInteger(fp, d);
| ^
In file included from saveload.c:29:
../../src/include/Defn.h:234:45: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
234 | #define SET_OBJECT(x,v) (((x)->sxpinfo.obj)=(v))
| ^
saveload.c:1304:5: note: in expansion of macro ‘SET_OBJECT’
1304 | SET_OBJECT(s, objf);
| ^~~~~~~~~~
saveload.c: In function ‘InStringAscii’:
saveload.c:1450:48: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1450 | if(buf) newbuf = (char *) realloc(buf, nbytes + 1);
| ~~~~~~~^~~
saveload.c:1451:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1451 | else newbuf = (char *) malloc(nbytes + 1);
| ~~~~~~~^~~
saveload.c: In function ‘InStringBinary’:
saveload.c:1590:48: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1590 | if(buf) newbuf = (char *) realloc(buf, nbytes + 1);
| ~~~~~~~^~~
saveload.c:1591:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1591 | else newbuf = (char *) malloc(nbytes + 1);
| ~~~~~~~^~~
saveload.c:1597:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1597 | if (fread(buf, sizeof(char), nbytes, fp) != nbytes)
| ^~~~~~
saveload.c: In function ‘OutStringXdr’:
saveload.c:1676:23: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1676 | OutIntegerXdr(fp, n, d);
| ^
saveload.c: In function ‘InStringXdr’:
saveload.c:1687:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1687 | unsigned int nbytes = InIntegerXdr(fp, d);
| ^~~~~~~~~~~~
saveload.c:1696:11: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1696 | buflen = nbytes + 1;
| ^~~~~~
scan.c: In function ‘strtoraw’:
scan.c:204:18: warning: conversion to ‘unsigned int’ from ‘char’ may change the sign of the result [-Wsign-conversion]
204 | while(Rspace(*p)) p++;
| ^~
scan.c: In function ‘fillBuffer’:
scan.c:360:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
360 | R_AllocStringBuffer(nbuf, buffer);
| ^~~~
scan.c:382:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
382 | R_AllocStringBuffer(nbuf, buffer);
| ^~~~
scan.c:388:23: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
388 | } while (!Rspace(c) && c != R_EOF);
| ^
scan.c:417:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
417 | R_AllocStringBuffer(nbuf, buffer);
| ^~~~
scan.c:430:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
430 | R_AllocStringBuffer(nbuf, buffer);
| ^~~~
scan.c:445:34: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
445 | if (!strip || m > 0 || !Rspace(c)) { /* only lead byte */
| ^
scan.c:448:24: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
448 | R_AllocStringBuffer(nbuf, buffer);
| ^~~~
scan.c:461:50: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
461 | do {c = (int)*--bufp;} while(m-- > mm && Rspace(c));
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c seq.c -o seq.o
seq.c: In function ‘seq_colon’:
seq.c:123:60: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
123 | ans = R_compact_intrange((R_xlen_t) n1, (R_xlen_t)(n1 + n - 1));
| ^
seq.c:125:60: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
125 | ans = R_compact_intrange((R_xlen_t) n1, (R_xlen_t)(n1 - n + 1));
| ^
seq.c: In function ‘rep2’:
seq.c:250:6: warning: conversion from ‘long int’ to ‘double’ may change value [-Wconversion]
250 | sna += (R_xlen_t) REAL(t)[i];
| ^~
seq.c: In function ‘do_rep_int’:
seq.c:376:18: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
376 | if ((double) nc * ns > R_XLEN_T_MAX)
| ^
seq.c: In function ‘do_rep’:
seq.c:743:22: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
743 | if ((double) lx * it * each > R_XLEN_T_MAX)
| ^
seq.c:743:27: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
743 | if ((double) lx * it * each > R_XLEN_T_MAX)
| ^
seq.c:747:27: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
747 | if(nt != (double) lx * each)
| ^
seq.c:754:11: warning: conversion from ‘long int’ to ‘double’ may change value [-Wconversion]
754 | sum += (R_xlen_t) rt;
| ^~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c serialize.c -o serialize.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c sort.c -o sort.o
serialize.c: In function ‘HashAdd’:
serialize.c:650:33: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
650 | R_size_t pos = PTRHASH(obj) % HASH_TABLE_SIZE(ht);
| ^
In file included from ../../src/include/Defn.h:104,
from serialize.c:28:
serialize.c:653:43: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
653 | SEXP cell = CONS(val, HASH_BUCKET(ht, pos));
| ^~~
../../src/include/Rinternals.h:322:34: note: in definition of macro ‘CONS’
322 | #define CONS(a, b) Rf_cons((a), (b)) /* data lists */
| ^
serialize.c:653:27: note: in expansion of macro ‘HASH_BUCKET’
653 | SEXP cell = CONS(val, HASH_BUCKET(ht, pos));
| ^~~~~~~~~~~
serialize.c:656:25: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
656 | SET_HASH_BUCKET(ht, pos, cell);
| ^~~
serialize.c:639:63: note: in definition of macro ‘SET_HASH_BUCKET’
639 | #define SET_HASH_BUCKET(ht, pos, val) SET_VECTOR_ELT(CDR(ht), pos, val)
| ^~~
serialize.c: In function ‘HashGet’:
serialize.c:662:34: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
662 | R_size_t pos = PTRHASH(item) % HASH_TABLE_SIZE(ht);
| ^
serialize.c:664:33: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
664 | for (cell = HASH_BUCKET(ht, pos); cell != R_NilValue; cell = CDR(cell))
| ^~~
serialize.c:638:50: note: in definition of macro ‘HASH_BUCKET’
638 | #define HASH_BUCKET(ht, pos) VECTOR_ELT(CDR(ht), pos)
| ^~~
serialize.c: In function ‘OutIntegerVec’:
serialize.c:907:43: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
907 | xdrmem_create(&xdrs, buf, (int)(this * sizeof(int)), XDR_ENCODE);
| ^
serialize.c:907:32: warning: conversion to ‘u_int’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
907 | xdrmem_create(&xdrs, buf, (int)(this * sizeof(int)), XDR_ENCODE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
serialize.c:912:54: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
912 | stream->OutBytes(stream, buf, (int)(sizeof(int) * this));
| ^
serialize.c:924:27: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
924 | (int)(sizeof(int) * this));
| ^
serialize.c: In function ‘OutRealVec’:
serialize.c:949:43: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
949 | xdrmem_create(&xdrs, buf, (int)(this * sizeof(double)), XDR_ENCODE);
| ^
serialize.c:949:32: warning: conversion to ‘u_int’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
949 | xdrmem_create(&xdrs, buf, (int)(this * sizeof(double)), XDR_ENCODE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
serialize.c:954:57: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
954 | stream->OutBytes(stream, buf, (int)(sizeof(double) * this));
| ^
serialize.c:965:30: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
965 | (int)(sizeof(double) * this));
| ^
serialize.c: In function ‘OutComplexVec’:
serialize.c:991:43: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
991 | xdrmem_create(&xdrs, buf, (int)(this * sizeof(Rcomplex)), XDR_ENCODE);
| ^
serialize.c:991:32: warning: conversion to ‘u_int’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
991 | xdrmem_create(&xdrs, buf, (int)(this * sizeof(Rcomplex)), XDR_ENCODE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
serialize.c:997:59: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
997 | stream->OutBytes(stream, buf, (int)(sizeof(Rcomplex) * this));
| ^
serialize.c:1009:32: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1009 | (int)(sizeof(Rcomplex) * this));
| ^
In file included from serialize.c:28:
serialize.c: In function ‘WriteItem’:
../../src/include/Defn.h:787:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^
serialize.c:1049:5: note: in expansion of macro ‘R_CheckStack’
1049 | R_CheckStack();
| ^~~~~~~~~~~~
../../src/include/Defn.h:787:19: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^~~~~~~~~~~
serialize.c:1049:5: note: in expansion of macro ‘R_CheckStack’
1049 | R_CheckStack();
| ^~~~~~~~~~~~
serialize.c: In function ‘AddCircleHash’:
serialize.c:1265:34: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1265 | R_size_t pos = PTRHASH(item) % LENGTH(table);
| ^
serialize.c:1266:32: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1266 | bucket = VECTOR_ELT(table, pos);
| ^~~
serialize.c:1280:27: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1280 | SET_VECTOR_ELT(table, pos, bucket);
| ^~~
serialize.c: In function ‘InIntegerVec’:
serialize.c:1518:53: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1518 | stream->InBytes(stream, buf, (int)(sizeof(int) * this));
| ^
serialize.c:1519:43: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1519 | xdrmem_create(&xdrs, buf, (int)(this * sizeof(int)), XDR_DECODE);
| ^
serialize.c:1519:32: warning: conversion to ‘u_int’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1519 | xdrmem_create(&xdrs, buf, (int)(this * sizeof(int)), XDR_DECODE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
serialize.c:1533:26: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1533 | (int)(sizeof(int) * this));
| ^
serialize.c: In function ‘InRealVec’:
serialize.c:1554:56: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1554 | stream->InBytes(stream, buf, (int)(sizeof(double) * this));
| ^
serialize.c:1555:43: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1555 | xdrmem_create(&xdrs, buf, (int)(this * sizeof(double)), XDR_DECODE);
| ^
serialize.c:1555:32: warning: conversion to ‘u_int’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1555 | xdrmem_create(&xdrs, buf, (int)(this * sizeof(double)), XDR_DECODE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
serialize.c:1569:29: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1569 | (int)(sizeof(double) * this));
| ^
serialize.c: In function ‘InComplexVec’:
serialize.c:1591:58: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1591 | stream->InBytes(stream, buf, (int)(sizeof(Rcomplex) * this));
| ^
serialize.c:1592:43: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1592 | xdrmem_create(&xdrs, buf, (int)(this * sizeof(Rcomplex)), XDR_DECODE);
| ^
serialize.c:1592:32: warning: conversion to ‘u_int’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1592 | xdrmem_create(&xdrs, buf, (int)(this * sizeof(Rcomplex)), XDR_DECODE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
serialize.c:1608:31: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1608 | (int)(sizeof(Rcomplex) * this));
| ^
serialize.c: In function ‘ReadChar’:
serialize.c:1730:51: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1730 | SEXP ans = ConvertChar(stream->nat2nat_obj, buf, length, enc);
| ^~~~~~
serialize.c:1752:52: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1752 | SEXP ans = ConvertChar(stream->nat2utf8_obj, buf, length, CE_UTF8);
| ^~~~~~
serialize.c: In function ‘ReadLENGTH’:
serialize.c:1769:9: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1769 | len1 = InInteger(stream); /* upper part */
| ^~~~~~~~~
serialize.c:1770:9: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1770 | len2 = InInteger(stream); /* lower part */
| ^~~~~~~~~
In file included from serialize.c:28:
serialize.c: In function ‘ReadItem_Iterative’:
../../src/include/Defn.h:234:45: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
234 | #define SET_OBJECT(x,v) (((x)->sxpinfo.obj)=(v))
| ^
serialize.c:1823:2: note: in expansion of macro ‘SET_OBJECT’
1823 | SET_OBJECT(s, objf);
| ^~~~~~~~~~
In file included from serialize.c:28:
../../src/include/Defn.h:787:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^
serialize.c:1839:2: note: in expansion of macro ‘R_CheckStack’
1839 | R_CheckStack();
| ^~~~~~~~~~~~
../../src/include/Defn.h:787:19: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^~~~~~~~~~~
serialize.c:1839:2: note: in expansion of macro ‘R_CheckStack’
1839 | R_CheckStack();
| ^~~~~~~~~~~~
serialize.c: In function ‘ReadItem_Recursive’:
serialize.c:1990:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1990 | R_CheckStack2(length+1);
| ~~~~~~^~
In file included from serialize.c:28:
../../src/include/Defn.h:234:45: warning: conversion from ‘int’ to ‘unsigned char:1’ may change value [-Wconversion]
234 | #define SET_OBJECT(x,v) (((x)->sxpinfo.obj)=(v))
| ^
serialize.c:2093:2: note: in expansion of macro ‘SET_OBJECT’
2093 | SET_OBJECT(s, objf);
| ^~~~~~~~~~
In file included from ../../src/include/Defn.h:104,
from serialize.c:28:
serialize.c: In function ‘ReadBCLang’:
serialize.c:2148:30: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2148 | PROTECT(ans = allocSExp(type));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
serialize.c: In function ‘OutBytesFile’:
serialize.c:2417:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2417 | size_t out = fwrite(buf, 1, length, fp);
| ^~~~~~
serialize.c: In function ‘InBytesFile’:
serialize.c:2424:31: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2424 | size_t in = fread(buf, 1, length, fp);
| ^~~~~~
serialize.c: In function ‘InBytesConn’:
serialize.c:2494:38: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2494 | if (length != con->read(buf, 1, length, con))
| ^~~~~~
serialize.c: In function ‘OutBytesConn’:
serialize.c:2525:35: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2525 | if (length != con->write(buf, 1, length, con))
| ^~~~~~
serialize.c: In function ‘flush_bcon_buffer’:
serialize.c:2736:47: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2736 | if (R_WriteConnection(bb->con, bb->buf, bb->count) != bb->count)
| ~~^~~~~~~
serialize.c: In function ‘OutCharBB’:
serialize.c:2746:28: warning: conversion to ‘unsigned char’ from ‘char’ may change the sign of the result [-Wsign-conversion]
2746 | bb->buf[bb->count++] = (char) c;
| ^
serialize.c: In function ‘OutBytesBB’:
serialize.c:2756:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2756 | memcpy(bb->buf + bb->count, buf, length);
| ^~~~~~
serialize.c:2759:46: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2759 | else if (R_WriteConnection(bb->con, buf, length) != length)
| ^~~~~~
serialize.c: In function ‘OutCharMem’:
serialize.c:2843:28: warning: conversion to ‘unsigned char’ from ‘char’ may change the sign of the result [-Wsign-conversion]
2843 | mb->buf[mb->count++] = (char) c;
| ^
serialize.c: In function ‘OutBytesMem’:
serialize.c:2857:35: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2857 | memcpy(mb->buf + mb->count, buf, length);
| ^~~~~~
serialize.c: In function ‘InBytesMem’:
serialize.c:2875:35: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2875 | memcpy(buf, mb->buf + mb->count, length);
| ^~~~~~
serialize.c:2876:15: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2876 | mb->count += length;
| ^~
In file included from ../../src/include/Defn.h:104,
from serialize.c:28:
serialize.c: In function ‘CloseMemOutPStream’:
serialize.c:2920:41: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘R_size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
2920 | PROTECT(val = allocVector(RAWSXP, mb->count));
| ~~^~~~~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
In file included from serialize.c:28:
serialize.c: In function ‘R_unserialize’:
../../src/include/Defn.h:405:20: warning: conversion to ‘R_size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
405 | #define XLENGTH(x) XLENGTH_EX(x)
| ^~~~~~~~~~
serialize.c:3000:20: note: in expansion of macro ‘XLENGTH’
3000 | R_size_t length = XLENGTH(icon);
| ^~~~~~~
serialize.c: In function ‘appendRawToFile’:
../../src/include/Defn.h:401:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
serialize.c:3054:11: note: in expansion of macro ‘LENGTH’
3054 | len = LENGTH(bytes);
| ^~~~~~
serialize.c: In function ‘readRawFromFile’:
serialize.c:3129:43: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3129 | memcpy(RAW(val), ptr[icache]+offset, len);
| ^~~
serialize.c:3154:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
3154 | p = (char *) malloc(filelen);
| ^~~~~~~
serialize.c:3164:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
3164 | in = (int) fread(p, 1, filelen, fp);
| ^~~~~~~
serialize.c:3168:34: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3168 | memcpy(RAW(val), p+offset, len);
| ^~~
serialize.c:3178:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3178 | in = (int) fread(RAW(val), 1, len, fp);
| ^~~
serialize.c:3189:36: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3189 | in = (int) fread(RAW(val), 1, len, fp);
| ^~~
serialize.c:3203:35: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3203 | in = (int) fread(RAW(val), 1, len, fp);
| ^~~
sort.c: In function ‘do_psort’:
sort.c:794:40: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
794 | R_xlen_t *l = (R_xlen_t *) R_alloc(nind, sizeof(R_xlen_t));
| ^~~~
sort.c: In function ‘do_order’:
sort.c:1456:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1456 | R_xlen_t *in = (R_xlen_t *) R_alloc(n, sizeof(R_xlen_t));
| ^
sort.c:1460:51: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
1460 | for (R_xlen_t i = 0; i < n; i++) REAL(ans)[i] = in[i] + 1;
| ^~
sort.c:1474:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1474 | R_xlen_t *in = (R_xlen_t *) R_alloc(n, sizeof(R_xlen_t));
| ^
sort.c:1478:51: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
1478 | for (R_xlen_t i = 0; i < n; i++) REAL(ans)[i] = in[i] + 1;
| ^~
sort.c: In function ‘do_rank’:
sort.c:1546:42: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1546 | R_xlen_t *in = (R_xlen_t *) R_alloc(n, sizeof(R_xlen_t));
| ^
sort.c:1555:28: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
1555 | rk[in[k]] = (i + j + 2) / 2.;
| ^
sort.c:1558:44: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
1558 | for (k = i; k <= j; k++) rk[in[k]] = j+1;
| ^
sort.c:1561:44: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
1561 | for (k = i; k <= j; k++) rk[in[k]] = i+1;
| ^
sort.c:1569:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1569 | int *in = (int *) R_alloc(n, sizeof(int));
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c source.c -o source.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c split.c -o split.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c sprintf.c -o sprintf.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c startup.c -o startup.o
sprintf.c: In function ‘do_sprintf’:
sprintf.c:244:33: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
244 | snprintf(bit, MAXLINE+1, fmt, star_arg);
| ^~~
sprintf.c:260:39: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
260 | q += snprintf(q, sizeof(fmt2) - (q - fmt2),
| ^
sprintf.c:368:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
368 | _my_sprintf("NA")
| ^~~~~~~~~~~
sprintf.c:370:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
370 | _my_sprintf(x)
| ^~~~~~~~~~~
sprintf.c:382:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
382 | _my_sprintf("NA")
| ^~~~~~~~~~~
sprintf.c:384:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
384 | _my_sprintf(x)
| ^~~~~~~~~~~
sprintf.c:395:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
395 | _my_sprintf(x)
| ^~~~~~~~~~~
sprintf.c:404:10: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
404 | _my_sprintf(" NA")
| ^~~~~~~~~~~
sprintf.c:406:10: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
406 | _my_sprintf("NA")
| ^~~~~~~~~~~
sprintf.c:409:10: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
409 | _my_sprintf(" NaN")
| ^~~~~~~~~~~
sprintf.c:411:10: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
411 | _my_sprintf("NaN")
| ^~~~~~~~~~~
sprintf.c:414:10: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
414 | _my_sprintf("+Inf")
| ^~~~~~~~~~~
sprintf.c:416:10: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
416 | _my_sprintf(" Inf")
| ^~~~~~~~~~~
sprintf.c:418:10: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
418 | _my_sprintf("Inf")
| ^~~~~~~~~~~
sprintf.c:420:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
420 | _my_sprintf("-Inf")
| ^~~~~~~~~~~
sprintf.c:435:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
435 | _my_sprintf(ss)
| ^~~~~~~~~~~
startup.c: In function ‘R_DefParamsEx’:
startup.c:185:25: warning: conversion from ‘int’ to ‘short int’ may change value [-Wconversion]
185 | Rp->RstartVersion = RstartVersion;
| ^~~~~~~~~~~~~
startup.c: In function ‘SetMaxSize’:
startup.c:339:35: warning: conversion from ‘R_size_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion]
339 | (unsigned long) vsize, R_VSize / Mega);
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c subassign.c -o subassign.o
subassign.c: In function ‘EnlargeVector’:
subassign.c:189:32: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
189 | double expanded_nlen = newlen * expand;
| ^
subassign.c: In function ‘ArrayAssign’:
subassign.c:1183:46: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1183 | const int **subs = (const int**) R_alloc(k, sizeof(int*));
| ^
subassign.c:1184:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1184 | int *indx = (int*) R_alloc(k, sizeof(int));
| ^
subassign.c:1185:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1185 | int *bound = (int*) R_alloc(k, sizeof(int));
| ^
subassign.c:1186:44: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1186 | R_xlen_t *offset = (R_xlen_t*) R_alloc(k, sizeof(R_xlen_t));
| ^
subassign.c: In function ‘listRemove’:
subassign.c:1467:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1467 | indx = (int*) R_alloc(nx, sizeof(int));
| ^~
In file included from subassign.c:87:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
subassign.c:1493:6: note: in expansion of macro ‘DECREMENT_REFCNT’
1493 | DECREMENT_REFCNT(CAR(px));
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
subassign.c:1494:6: note: in expansion of macro ‘DECREMENT_REFCNT’
1494 | DECREMENT_REFCNT(CDR(px));
| ^~~~~~~~~~~~~~~~
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
subassign.c:1502:42: note: in expansion of macro ‘UNSET_S4_OBJECT’
1502 | IS_S4_OBJECT(x) ? SET_S4_OBJECT(val) : UNSET_S4_OBJECT(val);
| ^~~~~~~~~~~~~~~
subassign.c: In function ‘R_DispatchOrEvalSP’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
subassign.c:1547:2: note: in expansion of macro ‘INCREMENT_LINKS’
1547 | INCREMENT_LINKS(x);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
subassign.c:1550:6: note: in expansion of macro ‘DECREMENT_LINKS’
1550 | DECREMENT_LINKS(x);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
subassign.c:1560:15: note: in expansion of macro ‘DECREMENT_LINKS’
1560 | if (prom) DECREMENT_LINKS(PRVALUE(prom));
| ^~~~~~~~~~~~~~~
subassign.c: In function ‘R_subassign3_dflt’:
../../src/include/Defn.h:367:50: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
367 | #define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
| ^
subassign.c:2179:46: note: in expansion of macro ‘UNSET_S4_OBJECT’
2179 | IS_S4_OBJECT(x) ? SET_S4_OBJECT(CDR(x)) : UNSET_S4_OBJECT(CDR(x));
| ^~~~~~~~~~~~~~~
In file included from ../../src/include/Defn.h:104,
from subassign.c:87:
subassign.c:2262:33: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2262 | PROTECT(ans = allocVector(type, nx - 1));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c subscript.c -o subscript.o
subscript.c: In function ‘Rf_strmat2intmat’:
subscript.c:543:29: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
543 | memset(psi, 0, XLENGTH(si) * sizeof(int));
| ^
subscript.c: In function ‘logicalSubscript’:
subscript.c:608:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
608 | double *buf = (double *) R_alloc(nmax, sizeof(double));
| ^~~~
In file included from subscript.c:40:
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
subscript.c:610:6: note: in expansion of macro ‘R_ITERATE_CHECK’
610 | R_ITERATE_CHECK(NINTERRUPT, nmax, i,
| ^~~~~~~~~~~~~~~
subscript.c:619:42: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
619 | memcpy(REAL(indx), buf, sizeof(double) * count);
| ^
In file included from subscript.c:40:
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:100:27: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
100 | #define MOD_ITERATE_CHECK MOD_ITERATE2_CHECK
| ^~~~~~~~~~~~~~~~~~
subscript.c:645:2: note: in expansion of macro ‘MOD_ITERATE_CHECK’
645 | MOD_ITERATE_CHECK(NINTERRUPT, nmax, ns, nmax, i, i1, i2,
| ^~~~~~~~~~~~~~~~~
subscript.c:660:29: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
660 | int *buf = (int *) R_alloc(nmax, sizeof(int));
| ^~~~
In file included from subscript.c:40:
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:55:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
55 | LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
subscript.c:662:2: note: in expansion of macro ‘R_ITERATE_CHECK’
662 | R_ITERATE_CHECK(NINTERRUPT, nmax, i,
| ^~~~~~~~~~~~~~~
subscript.c:671:45: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
671 | memcpy(INTEGER(indx), buf, sizeof(int) * count);
| ^
In file included from subscript.c:40:
../../src/include/R_ext/Itermacros.h:37:5: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
37 | n : __intr_threshold__; \
| ^
../../src/include/R_ext/Itermacros.h:94:2: note: in expansion of macro ‘LOOP_WITH_INTERRUPT_CHECK’
94 | LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../src/include/R_ext/Itermacros.h:100:27: note: in expansion of macro ‘MOD_ITERATE2_CHECK’
100 | #define MOD_ITERATE_CHECK MOD_ITERATE2_CHECK
| ^~~~~~~~~~~~~~~~~~
subscript.c:698:5: note: in expansion of macro ‘MOD_ITERATE_CHECK’
698 | MOD_ITERATE_CHECK(NINTERRUPT, nmax, ns, nmax, i, i1, i2,
| ^~~~~~~~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c subset.c -o subset.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c summary.c -o summary.o
In file included from ../../src/include/Defn.h:104,
from subset.c:41:
subset.c: In function ‘Rf_ExtractSubset’:
subset.c:134:34: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
134 | PROTECT(result = allocVector(mode, n));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
subset.c: In function ‘ArraySubset’:
subset.c:464:45: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
464 | const int **subs = (const int**)R_alloc(k, sizeof(int*));
| ^
subset.c:465:31: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
465 | int *indx = (int*)R_alloc(k, sizeof(int));
| ^
subset.c:466:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
466 | int *bound = (int*)R_alloc(k, sizeof(int));
| ^
subset.c:467:43: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
467 | R_xlen_t *offset = (R_xlen_t*)R_alloc(k, sizeof(R_xlen_t));
| ^
In file included from ../../src/include/Defn.h:104,
from subset.c:41:
subset.c:504:34: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
504 | PROTECT(result = allocVector(mode, n));
| ^~~~
../../src/include/Rinternals.h:388:31: note: in definition of macro ‘PROTECT’
388 | #define PROTECT(s) Rf_protect(s)
| ^
In file included from subset.c:41:
subset.c: In function ‘R_DispatchOrEvalSP’:
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:267:6: note: in expansion of macro ‘SET_REFCNT’
267 | SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:542:2: note: in expansion of macro ‘INCREMENT_REFCNT’
542 | INCREMENT_REFCNT(il__x__); \
| ^~~~~~~~~~~~~~~~
subset.c:659:2: note: in expansion of macro ‘INCREMENT_LINKS’
659 | INCREMENT_LINKS(x);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
subset.c:662:6: note: in expansion of macro ‘DECREMENT_LINKS’
662 | DECREMENT_LINKS(x);
| ^~~~~~~~~~~~~~~
../../src/include/Defn.h:253:39: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
253 | # define SET_REFCNT(x,v) (REFCNT(x) = (v))
| ^
../../src/include/Defn.h:262:6: note: in expansion of macro ‘SET_REFCNT’
262 | SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1); \
| ^~~~~~~~~~
../../src/include/Defn.h:547:2: note: in expansion of macro ‘DECREMENT_REFCNT’
547 | DECREMENT_REFCNT(dl__x__); \
| ^~~~~~~~~~~~~~~~
subset.c:672:15: note: in expansion of macro ‘DECREMENT_LINKS’
672 | if (prom) DECREMENT_LINKS(PRVALUE(prom));
| ^~~~~~~~~~~~~~~
In file included from summary.c:27:
summary.c: In function ‘real_mean’:
summary.c:496:17: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
496 | s += dx[k]/n;
| ^
../../src/include/R_ext/Itermacros.h:223:10: note: in definition of macro ‘ITERATE_BY_REGION_PARTIAL’
223 | expr \
| ^~~~
summary.c:494:2: note: in expansion of macro ‘ITERATE_BY_REGION’
494 | ITERATE_BY_REGION(x, dx, i, nbatch, double, REAL, {
| ^~~~~~~~~~~~~~~~~
summary.c:496:17: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
496 | s += dx[k]/n;
| ^
../../src/include/R_ext/Itermacros.h:195:6: note: in definition of macro ‘ITERATE_BY_REGION_PARTIAL0’
195 | expr \
| ^~~~
../../src/include/R_ext/Itermacros.h:247:2: note: in expansion of macro ‘ITERATE_BY_REGION_PARTIAL’
247 | ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
summary.c:494:2: note: in expansion of macro ‘ITERATE_BY_REGION’
494 | ITERATE_BY_REGION(x, dx, i, nbatch, double, REAL, {
| ^~~~~~~~~~~~~~~~~
summary.c: In function ‘do_which’:
summary.c:1133:38: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1133 | double *buf = (double *) R_alloc(len, sizeof(double));
| ^~~
summary.c:1147:51: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1147 | if(len) memcpy(REAL(ans), buf, sizeof(double) * len);
| ^
summary.c:1152:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1152 | int *buf = (int *) R_alloc(len, sizeof(int));
| ^~~
In file included from summary.c:27:
summary.c:1161:17: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘int’ may change value [-Wconversion]
1161 | ioffset += nb; // move to beginning of next buffer
| ^~
../../src/include/R_ext/Itermacros.h:223:10: note: in definition of macro ‘ITERATE_BY_REGION_PARTIAL’
223 | expr \
| ^~~~
summary.c:1154:5: note: in expansion of macro ‘ITERATE_BY_REGION’
1154 | ITERATE_BY_REGION(v, ptr, idx, nb, int, LOGICAL, {
| ^~~~~~~~~~~~~~~~~
summary.c:1161:17: warning: conversion from ‘R_xlen_t’ {aka ‘long int’} to ‘int’ may change value [-Wconversion]
1161 | ioffset += nb; // move to beginning of next buffer
| ^~
../../src/include/R_ext/Itermacros.h:195:6: note: in definition of macro ‘ITERATE_BY_REGION_PARTIAL0’
195 | expr \
| ^~~~
../../src/include/R_ext/Itermacros.h:247:2: note: in expansion of macro ‘ITERATE_BY_REGION_PARTIAL’
247 | ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~
summary.c:1154:5: note: in expansion of macro ‘ITERATE_BY_REGION’
1154 | ITERATE_BY_REGION(v, ptr, idx, nb, int, LOGICAL, {
| ^~~~~~~~~~~~~~~~~
summary.c:1167:51: warning: conversion to ‘long unsigned int’ from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1167 | if(len) memcpy(INTEGER(ans), buf, sizeof(int) * len);
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c sysutils.c -o sysutils.o
In file included from sysutils.c:31:
sysutils.c: In function ‘do_iconv’:
../../src/include/Defn.h:401:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
sysutils.c:781:12: note: in expansion of macro ‘LENGTH’
781 | inb = LENGTH(si);
| ^~~~~~
In file included from sysutils.c:31:
../../src/include/Defn.h:1884:21: warning: conversion to ‘ssize_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1884 | # define utf8toucs Rf_utf8toucs
| ^~~~~~~~~~~~
sysutils.c:815:22: note: in expansion of macro ‘utf8toucs’
815 | ssize_t clen = utf8toucs(&wc, inbuf);
| ^~~~~~~~~
sysutils.c:822:23: warning: conversion to ‘long unsigned int’ from ‘ssize_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
822 | inbuf += clen; inb -= clen;
| ^~
In file included from sysutils.c:31:
../../src/include/Defn.h:1884:21: warning: conversion to ‘ssize_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1884 | # define utf8toucs Rf_utf8toucs
| ^~~~~~~~~~~~
sysutils.c:845:22: note: in expansion of macro ‘utf8toucs’
845 | ssize_t clen = utf8toucs(&wc, inbuf);
| ^~~~~~~~~
sysutils.c:852:23: warning: conversion to ‘long unsigned int’ from ‘ssize_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
852 | inbuf += clen; inb -= clen;
| ^~
sysutils.c:909:37: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
909 | SEXP el = allocVector(RAWSXP, nout);
| ^~~~
In file included from sysutils.c:31:
sysutils.c: In function ‘translateToNative’:
../../src/include/Defn.h:1884:21: warning: conversion to ‘ssize_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
1884 | # define utf8toucs Rf_utf8toucs
| ^~~~~~~~~~~~
sysutils.c:1761:21: note: in expansion of macro ‘utf8toucs’
1761 | ssize_t clen = utf8toucs(&wc, inbuf);
| ^~~~~~~~~
sysutils.c:1768:22: warning: conversion to ‘long unsigned int’ from ‘ssize_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1768 | inbuf += clen; inb -= clen;
| ^~
In file included from sysutils.c:31:
sysutils.c: In function ‘Rf_wtransChar’:
../../src/include/Defn.h:401:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sysutils.c:2202:29: note: in expansion of macro ‘LENGTH’
2202 | return wfromASCII(CHAR(x), LENGTH(x));
| ^~~~~~
sysutils.c: In function ‘Rf_wtransChar2’:
../../src/include/Defn.h:401:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sysutils.c:2216:29: note: in expansion of macro ‘LENGTH’
2216 | return wfromASCII(CHAR(x), LENGTH(x));
| ^~~~~~
sysutils.c: In function ‘R_tmpnam2’:
sysutils.c:2756:27: warning: conversion to ‘unsigned int’ from ‘__pid_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
2756 | unsigned int n, pid = getpid();
| ^~~~~~
sysutils.c:2771:2: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2771 | snprintf(BUF, SIZE, "%s%s%s%x%x%s", tempdir, filesep, prefix, pid, r1, fileext)
| ^~~~~~~~
sysutils.c:2777:18: note: in expansion of macro ‘TMPNAM2_SNPRINTF’
2777 | size_t needed = TMPNAM2_SNPRINTF(NULL, 0) + 1;
| ^~~~~~~~~~~~~~~~
sysutils.c: In function ‘do_glob’:
sysutils.c:3004:9: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
3004 | n = initialized ? globbuf.gl_pathc : 0;
| ^~~~~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c times.c -o times.o
times.c: In function ‘Rf_TimeToSeed’:
times.c:152:30: warning: conversion to ‘unsigned int’ from ‘__pid_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
152 | unsigned int seed, pid = getpid();
| ^~~~~~
times.c:157:60: warning: conversion to ‘long unsigned int’ from ‘__time_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
157 | seed = (unsigned int)(((uint_least64_t) tp.tv_nsec << 16) ^ tp.tv_sec);
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c unique.c -o unique.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c util.c -o util.o
unique.c: In function ‘vhash_one’:
unique.c:333:56: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
333 | unsigned int key = OBJECT(_this) + 2*TYPEOF(_this) + 100U*(unsigned int) length(_this);
| ^
unique.c:339:13: warning: conversion from ‘hlen’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion]
339 | key ^= lhash(_this, i, d);
| ^~~~~
unique.c:345:13: warning: conversion from ‘hlen’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion]
345 | key ^= ihash(_this, i, d);
| ^~~~~
unique.c:351:13: warning: conversion from ‘hlen’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion]
351 | key ^= rhash(_this, i, d);
| ^~~~~
unique.c:357:13: warning: conversion from ‘hlen’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion]
357 | key ^= chash(_this, i, d);
| ^~~~~
unique.c:363:13: warning: conversion from ‘hlen’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion]
363 | key ^= shash(_this, i, d);
| ^~~~~
unique.c:369:13: warning: conversion from ‘hlen’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion]
369 | key ^= scatter((unsigned int)rawhash(_this, i, d), d);
| ^~~~~~~
In file included from unique.c:28:
../../src/include/Defn.h:787:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^
unique.c:375:2: note: in expansion of macro ‘R_CheckStack’
375 | R_CheckStack();
| ^~~~~~~~~~~~
../../src/include/Defn.h:787:19: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^~~~~~~~~~~
unique.c:375:2: note: in expansion of macro ‘R_CheckStack’
375 | R_CheckStack();
| ^~~~~~~~~~~~
unique.c:377:13: warning: conversion from ‘hlen’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion]
377 | key ^= vhash(_this, i, d);
| ^~~~~
In file included from unique.c:28:
../../src/include/Defn.h:787:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^
unique.c:383:2: note: in expansion of macro ‘R_CheckStack’
383 | R_CheckStack();
| ^~~~~~~~~~~~
../../src/include/Defn.h:787:19: warning: conversion to ‘intptr_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
787 | intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy); \
| ^~~~~~~~~~~
unique.c:383:2: note: in expansion of macro ‘R_CheckStack’
383 | R_CheckStack();
| ^~~~~~~~~~~~
unique.c:387:13: warning: conversion from ‘hlen’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion]
387 | key ^= vhash_one(CAR(next), d);
| ^~~~~~~~~
unique.c:393:9: warning: conversion from ‘hlen’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion]
393 | key ^= vhash_one(BODY_EXPR(_this), d);
| ^~~~~~~~~
unique.c:396:13: warning: conversion from ‘hlen’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion]
396 | key ^= vhash_one(CLOENV(_this), d);
| ^~~~~~~~~
unique.c: In function ‘HashTableSetup’:
unique.c:471:12: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘hlen’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
471 | d->nmax = d->M = 4;
| ^
unique.c:505:12: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘hlen’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
505 | d->nmax = d->M = 256;
| ^
unique.c: In function ‘do_pmatch’:
unique.c:1651:20: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1651 | if (!(((size_t)i * n_target + j) & 0x1fff))
| ^
unique.c:1651:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1651 | if (!(((size_t)i * n_target + j) & 0x1fff))
| ^
unique.c: In function ‘do_makeunique’:
unique.c:2175:14: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2175 | size_t sz = maxlen + (int) strlen(csep)
| ^~~~~~
util.c: In function ‘Rf_InitTypeTables’:
util.c:283:30: warning: conversion to ‘SEXPTYPE’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
283 | int j = findTypeInTypeTable(type);
| ^~~~
util.c: In function ‘Rf_isBlankString’:
util.c:461:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
461 | while( (used = Mbrtowc(&wc, s, R_MB_CUR_MAX, &mb_st)) ) {
| ^~~~~~~~~~~~
util.c: In function ‘utf8toutf16low’:
util.c:1379:47: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1379 | return (unsigned int) LOW_SURROGATE_START | ((s[2] & 0x0F) << 6) | (s[3] & 0x3F);
| ^
util.c:1379:70: warning: conversion to ‘wchar_t’ {aka ‘int’} from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1379 | return (unsigned int) LOW_SURROGATE_START | ((s[2] & 0x0F) << 6) | (s[3] & 0x3F);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
util.c: In function ‘Rwcrtomb32’:
util.c:1553:30: warning: conversion to ‘unsigned int’ from ‘R_wchar_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
1553 | *s = (char) (utf8_table2[i] | cvalue);
| ^
util.c: In function ‘Rf_strchr’:
util.c:1747:37: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1747 | while( (used = Mbrtowc(NULL, p, R_MB_CUR_MAX, &mb_st)) ) {
| ^~~~~~~~~~~~
util.c: In function ‘Rf_strrchr’:
util.c:1762:37: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1762 | while( (used = Mbrtowc(NULL, p, R_MB_CUR_MAX, &mb_st)) ) {
| ^~~~~~~~~~~~
util.c: In function ‘Rf_utf8toAdobeSymbol’:
util.c:2011:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2011 | symbolint = (int *) R_alloc(nc, sizeof(int));
| ^~
util.c: In function ‘Rf_utf8Toutf8NoPUA’:
util.c:2040:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2040 | char *result = R_alloc(nChar, sizeof(char));
| ^~~~~
util.c: In function ‘Rf_utf8ToLatin1AdobeSymbol2utf8’:
util.c:2080:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2080 | utf8str = R_alloc(nc, sizeof(char));
| ^~
util.c:2081:42: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2081 | Rf_AdobeSymbol2utf8(utf8str, latinStr, nc, usePUA);
| ^~
util.c: In function ‘do_tabulate’:
util.c:2810:26: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2810 | if (nb) memset(y, 0, nb * sizeof(double));
| ^
util.c:2818:26: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2818 | if (nb) memset(y, 0, nb * sizeof(int));
| ^
util.c: In function ‘do_formatC’:
util.c:2960:37: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘R_xlen_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
2960 | char **cptr = (char **) R_alloc(n, sizeof(char*));
| ^
util.c:2963:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2963 | cptr[i] = (char *) R_alloc(ix + 1, sizeof(char));
| ~~~^~~
util.c:2964:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2964 | memset(cptr[i], ' ', ix);
| ^~
util.c: In function ‘str_signif’:
util.c:3069:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
3069 | form, width, ((int *)x)[i]);
| ^~~~
util.c:3120:10: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
3120 | f0, dig-1 + -iex, xx);
| ^~
util.c:3147:10: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
3147 | form, width, (iex >= dig) ? (iex+1) : dig, xx);
| ^~~~
util.c:3154:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
3154 | form, width, dig, ((double *)x)[i]);
| ^~~~
util.c: In function ‘Rasprintf_malloc’:
util.c:3287:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
3287 | size_t needed = ret + 1;
| ^~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c version.c -o version.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c g_alab_her.c -o g_alab_her.o
g_alab_her.c: In function ‘_label_width_hershey’:
g_alab_her.c:511:9: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
511 | c &= ~FONT_SPEC; /* extract character proper */
| ^
g_alab_her.c: In function ‘_draw_hershey_string’:
g_alab_her.c:793:9: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
793 | c &= ~FONT_SPEC; /* extract character proper */
| ^
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c g_cntrlify.c -o g_cntrlify.o
g_cntrlify.c: In function ‘_controlify’:
g_cntrlify.c:122:28: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion]
122 | unsigned char jis_row = *src & ~(0x80);
| ^
g_cntrlify.c:123:28: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion]
123 | unsigned char jis_col = *(src + 1) & ~(0x80);
| ^
g_cntrlify.c:227:20: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
227 | dest[j++] = fontword | (unsigned short)_ligature_tbl[i].byte;
| ^~~~~~~~
g_cntrlify.c:263:4: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
263 | fontword | (unsigned short)_raised_char_tbl[i].to;
| ^~~~~~~~
g_cntrlify.c:272:9: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
272 | fontword | (unsigned short)_raised_char_tbl[i].to;
| ^~~~~~~~
g_cntrlify.c:302:16: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
302 | dest[j++] = fontword | (unsigned short)c;
| ^~~~~~~~
g_cntrlify.c:327:20: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
327 | dest[j++] = fontword | (unsigned short)c;
| ^~~~~~~~
g_cntrlify.c:595:5: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
595 | fontword | (unsigned short)_raised_char_tbl[k].to;
| ^~~~~~~~
g_cntrlify.c:605:5: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
605 | fontword | (unsigned short)_raised_char_tbl[k].to;
| ^~~~~~~~
g_cntrlify.c:616:17: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
616 | dest[j++] = fontword | (unsigned short)(_iso_escape_tbl[i].byte);
| ^~~~~~~~
g_cntrlify.c:639:7: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
639 | fontword | (unsigned short)(_special_escape_tbl[i].byte);
| ^~~~~~~~
g_cntrlify.c:643:19: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
643 | dest[j++] = symbol_fontword | (unsigned short)(_special_escape_tbl[i].byte);
| ^~~~~~~~~~~~~~~
g_cntrlify.c:663:15: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
663 | dest[j++] = symbol_fontword | (unsigned short)(_symbol_escape_tbl[i].byte);
| ^~~~~~~~~~~~~~~
g_cntrlify.c:685:16: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
685 | dest[j++] = fontword | (unsigned short)c;
| ^~~~~~~~
g_cntrlify.c:686:16: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
686 | dest[j++] = fontword | (unsigned short)d;
| ^~~~~~~~
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c g_fontdb.c -o g_fontdb.o
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c g_her_glyph.c -o g_her_glyph.o
gfortran -fpic -g -O2 -c xxxpr.f -o xxxpr.o
gcc -shared -fopenmp -L/usr/local/lib -o libR.so CommandLineArgs.o Rdynload.o Renviron.o RNG.o agrep.o altclasses.o altrep.o apply.o arithmetic.o array.o attrib.o bind.o builtin.o character.o clippath.o coerce.o colors.o complex.o connections.o context.o cum.o dcf.o datetime.o debug.o deparse.o devices.o dotcode.o dounzip.o dstruct.o duplicate.o edit.o engine.o envir.o errors.o eval.o flexiblas.o format.o gevents.o gram.o gram-ex.o graphics.o grep.o identical.o inlined.o inspect.o internet.o iosupport.o lapack.o list.o localecharset.o logic.o machine.o main.o mapply.o mask.o match.o memory.o names.o objects.o options.o paste.o patterns.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o qsort.o radixsort.o random.o raw.o registration.o relop.o rlocale.o saveload.o scan.o seq.o serialize.o sort.o source.o split.o sprintf.o startup.o subassign.o subscript.o subset.o summary.o sysutils.o times.o unique.o util.o version.o g_alab_her.o g_cntrlify.o g_fontdb.o g_her_glyph.o xxxpr.o `ls ../unix/*.o ../appl/*.o ../nmath/*.o` ../extra/tre/libtre.a -L"../../lib" -lRblas -lgfortran -lm -lquadmath -lreadline -lpcre2-8 -lzstd -llzma -lbz2 -lz -lrt -ldl -lm -licuuc -licui18n
make[4]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/main'
mkdir -p -- /home/stvjc/SECURE/R-46-sec-src/bin/exec
make[4]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/main'
make[3]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/main'
make[3]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/main'
gcc -I../../src/extra -I. -I../../src/include -I../../src/include -I/usr/local/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c Rmain.c -o Rmain.o
gcc -Wl,--export-dynamic -fopenmp -L"../../lib" -L/usr/local/lib -o R.bin Rmain.o -lR -lRblas
make[4]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/main'
make[4]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/main'
make[3]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/main'
make[2]: Leaving directory '/home/stvjc/SECURE/R-46-sec-src/src/main'
make[2]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/modules'
make[3]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/modules/internet'
make[3]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/modules/lapack'
make[3]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/modules/X11'
making Rhttpd.d from Rhttpd.c
making Rsock.d from Rsock.c
making Lapack.d from Lapack.c
making devX11.d from devX11.c
making internet.d from internet.c
making libcurl.d from libcurl.c
make[4]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/modules/lapack'
gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c Lapack.c -o Lapack.o
making rotated.d from rotated.c
making sock.d from sock.c
making sockconn.d from sockconn.c
gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c ../../main/flexiblas.c -o flexiblas.o
making rbitmap.d from rbitmap.c
make[4]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/modules/internet'
gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -c Rhttpd.c -o Rhttpd.o
make[4]: Entering directory '/home/stvjc/SECURE/R-46-sec-src/src/modules/X11'
gcc -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I. -I../../../src/include -I../../../src/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I../../../src/library/grDevices/src/cairo -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -c devX11.c -o devX11.o
Lapack.c: In function ‘La_svd’:
Lapack.c:122:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
122 | xvals = (double *) R_alloc(n * (size_t) p, sizeof(double));
| ^
In file included from Lapack.h:21,
from Lapack.c:49:
Lapack.c:123:27: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
123 | Memcpy(xvals, REAL(x), n * (size_t) p);
| ^
../../../src/include/R_ext/RS.h:60:55: note: in definition of macro ‘Memcpy’
60 | #define Memcpy(p,q,n) R_chk_memcpy( p, q, (R_SIZE_T)(n) * sizeof(*p) )
| ^
Lapack.c:145:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
145 | double *work = (double *) R_alloc(lwork, sizeof(double));
| ^~~~~
Lapack.c: In function ‘La_rs’:
Lapack.c:190:28: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
190 | rx = (double *) R_alloc(n * (size_t) n, sizeof(double));
| ^
In file included from Lapack.h:21,
from Lapack.c:49:
Lapack.c:191:33: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
191 | Memcpy(rx, REAL(x), (size_t) n * n);
| ^
../../../src/include/R_ext/RS.h:60:55: note: in definition of macro ‘Memcpy’
60 | #define Memcpy(p,q,n) R_chk_memcpy( p, q, (R_SIZE_T)(n) * sizeof(*p) )
| ^
Lapack.c:213:31: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
213 | work = (double *) R_alloc(lwork, sizeof(double));
| ^~~~~
Lapack.c:214:29: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
214 | iwork = (int *) R_alloc(liwork, sizeof(int));
| ^~~~~~
Lapack.c: In function ‘unscramble’:
Lapack.c:244:16: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
244 | size_t N = n;
| ^
Lapack.c:249:17: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
249 | COMPLEX(s)[i+N*j].r = COMPLEX(s)[i+N*j1].r = vecs[i + j * N];
| ^
Lapack.c:249:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
249 | COMPLEX(s)[i+N*j].r = COMPLEX(s)[i+N*j1].r = vecs[i + j * N];
| ^
Lapack.c:249:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
249 | COMPLEX(s)[i+N*j].r = COMPLEX(s)[i+N*j1].r = vecs[i + j * N];
| ^
Lapack.c:249:37: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
249 | COMPLEX(s)[i+N*j].r = COMPLEX(s)[i+N*j1].r = vecs[i + j * N];
| ^
Lapack.c:249:59: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
249 | COMPLEX(s)[i+N*j].r = COMPLEX(s)[i+N*j1].r = vecs[i + j * N];
| ^
Lapack.c:249:55: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
249 | COMPLEX(s)[i+N*j].r = COMPLEX(s)[i+N*j1].r = vecs[i + j * N];
| ^
Lapack.c:250:17: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
250 | COMPLEX(s)[i+N*j1].i = -(COMPLEX(s)[i+N*j].i = vecs[i + j1 * N]);
| ^
Lapack.c:250:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
250 | COMPLEX(s)[i+N*j1].i = -(COMPLEX(s)[i+N*j].i = vecs[i + j1 * N]);
| ^
Lapack.c:250:42: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
250 | COMPLEX(s)[i+N*j1].i = -(COMPLEX(s)[i+N*j].i = vecs[i + j1 * N]);
| ^
Lapack.c:250:40: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
250 | COMPLEX(s)[i+N*j1].i = -(COMPLEX(s)[i+N*j].i = vecs[i + j1 * N]);
| ^
Lapack.c:250:62: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
250 | COMPLEX(s)[i+N*j1].i = -(COMPLEX(s)[i+N*j].i = vecs[i + j1 * N]);
| ^
Lapack.c:250:57: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
250 | COMPLEX(s)[i+N*j1].i = -(COMPLEX(s)[i+N*j].i = vecs[i + j1 * N]);
| ^
Lapack.c:255:17: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
255 | COMPLEX(s)[i+N*j].r = vecs[i + j * N];
| ^
Lapack.c:255:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
255 | COMPLEX(s)[i+N*j].r = vecs[i + j * N];
| ^
Lapack.c:255:36: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
255 | COMPLEX(s)[i+N*j].r = vecs[i + j * N];
| ^
Lapack.c:255:32: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
255 | COMPLEX(s)[i+N*j].r = vecs[i + j * N];
| ^
Lapack.c:256:17: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
256 | COMPLEX(s)[i+N*j].i = 0.0;
| ^
Lapack.c:256:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
256 | COMPLEX(s)[i+N*j].i = 0.0;
| ^
Lapack.c: In function ‘La_rg’:
Lapack.c:281:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
281 | xvals = (double *) R_alloc(n * (size_t)n, sizeof(double));
| ^
In file included from Lapack.h:21,
from Lapack.c:49:
Lapack.c:282:36: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
282 | Memcpy(xvals, REAL(x), (size_t) n * n);
| ^
../../../src/include/R_ext/RS.h:60:55: note: in definition of macro ‘Memcpy’
60 | #define Memcpy(p,q,n) R_chk_memcpy( p, q, (R_SIZE_T)(n) * sizeof(*p) )
| ^
Lapack.c:292:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
292 | right = (double *) R_alloc(n * (size_t)n, sizeof(double));
| ^
Lapack.c:294:29: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
294 | wR = (double *) R_alloc(n, sizeof(double));
| ^
Lapack.c:295:29: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
295 | wI = (double *) R_alloc(n, sizeof(double));
| ^
Lapack.c:303:31: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
303 | work = (double *) R_alloc(lwork, sizeof(double));
| ^~~~~
Lapack.c: In function ‘La_dlange’:
Lapack.c:364:51: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
364 | if(*typNorm == 'I') work = (double *) R_alloc(m, sizeof(double));
| ^
Lapack.c: In function ‘La_dgecon’:
Lapack.c:390:72: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
390 | work = (double *) R_alloc((*typNorm == 'I' && m > 4*(size_t)n) ? m : 4*(size_t)n,
| ^
Lapack.c:392:29: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
392 | iwork = (int *) R_alloc(m, sizeof(int));
| ^
Lapack.c: In function ‘La_dtrcon3’:
Lapack.c:454:40: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
454 | /* iwork: */ (int *) R_alloc(n, sizeof(int)),
| ^
Lapack.c: In function ‘La_dtrcon’:
Lapack.c:489:40: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
489 | /* iwork: */ (int *) R_alloc(n, sizeof(int)),
| ^
Lapack.c: In function ‘La_zgecon’:
Lapack.c:554:44: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
554 | avals = (Rcomplex *) R_alloc((size_t)n * n, sizeof(Rcomplex));
| ^
In file included from Lapack.h:21,
from Lapack.c:49:
Lapack.c:555:42: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
555 | Memcpy(avals, COMPLEX(A), (size_t) n * n);
| ^
../../../src/include/R_ext/RS.h:60:55: note: in definition of macro ‘Memcpy’
60 | #define Memcpy(p,q,n) R_chk_memcpy( p, q, (R_SIZE_T)(n) * sizeof(*p) )
| ^
Lapack.c:557:36: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
557 | /* iwork: */(int *) R_alloc(n, sizeof(int)),
| ^
Lapack.c: In function ‘La_ztrcon’:
Lapack.c:608:42: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
608 | /* rwork: */ (double *) R_alloc(n, sizeof(double)),
| ^
Lapack.c: In function ‘La_ztrcon3’:
Lapack.c:645:42: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
645 | /* rwork: */ (double *) R_alloc(n, sizeof(double)),
| ^
Lapack.c: In function ‘La_solve_cmplx’:
Lapack.c:669:17: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
669 | size_t nl = n;
| ^
In file included from Lapack.h:21,
from Lapack.c:49:
Lapack.c:700:41: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
700 | Memcpy(COMPLEX(B), COMPLEX(Bin), nl * p);
| ^
../../../src/include/R_ext/RS.h:60:55: note: in definition of macro ‘Memcpy’
60 | #define Memcpy(p,q,n) R_chk_memcpy( p, q, (R_SIZE_T)(n) * sizeof(*p) )
| ^
Lapack.c:702:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
702 | ipiv = (int *) R_alloc(n, sizeof(int));
| ^
In file included from Lapack.h:21,
from Lapack.c:49:
Lapack.c: In function ‘La_qr_cmplx’:
Lapack.c:759:48: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
759 | Memcpy(COMPLEX(A), COMPLEX(Ain), (size_t)m * n);
| ^
../../../src/include/R_ext/RS.h:60:55: note: in definition of macro ‘Memcpy’
60 | #define Memcpy(p,q,n) R_chk_memcpy( p, q, (R_SIZE_T)(n) * sizeof(*p) )
| ^
Lapack.c:771:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
771 | work = (Rcomplex *) R_alloc(lwork, sizeof(Rcomplex));
| ^~~~~
Lapack.c: In function ‘qr_coef_cmplx’:
Lapack.c:831:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
831 | work = (Rcomplex *) R_alloc(lwork, sizeof(Rcomplex));
| ^~~~~
Lapack.c: In function ‘qr_qy_cmplx’:
Lapack.c:878:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
878 | work = (Rcomplex *) R_alloc(lwork, sizeof(Rcomplex));
| ^~~~~
Lapack.c: In function ‘La_svd_cmplx’:
Lapack.c:906:46: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
906 | Rcomplex *xvals = (Rcomplex *) R_alloc(n * (size_t) p, sizeof(Rcomplex));
| ^
In file included from Lapack.h:21,
from Lapack.c:49:
Lapack.c:907:33: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
907 | Memcpy(xvals, COMPLEX(x), n * (size_t) p);
| ^
../../../src/include/R_ext/RS.h:60:55: note: in definition of macro ‘Memcpy’
60 | #define Memcpy(p,q,n) R_chk_memcpy( p, q, (R_SIZE_T)(n) * sizeof(*p) )
| ^
Lapack.c:910:18: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
910 | size_t mn0 = (n < p ? n : p), mn1 = (n > p ? n : p), lrwork;
| ^
Lapack.c:910:41: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
910 | size_t mn0 = (n < p ? n : p), mn1 = (n > p ? n : p), lrwork;
| ^
Lapack.c:933:43: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
933 | Rcomplex *work = (Rcomplex *) R_alloc(lwork, sizeof(Rcomplex));
| ^~~~~
In file included from Lapack.h:21,
from Lapack.c:49:
Lapack.c: In function ‘La_rs_cmplx’:
Lapack.c:975:41: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
975 | Memcpy(rx, COMPLEX(xin), (size_t) n * n);
| ^
../../../src/include/R_ext/RS.h:60:55: note: in definition of macro ‘Memcpy’
60 | #define Memcpy(p,q,n) R_chk_memcpy( p, q, (R_SIZE_T)(n) * sizeof(*p) )
| ^
Lapack.c:988:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
988 | work = (Rcomplex *) R_alloc(lwork, sizeof(Rcomplex));
| ^~~~~
Lapack.c: In function ‘La_rg_cmplx’:
Lapack.c:1029:44: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1029 | xvals = (Rcomplex *) R_alloc((size_t)n * n, sizeof(Rcomplex));
| ^
In file included from Lapack.h:21,
from Lapack.c:49:
Lapack.c:1030:42: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1030 | Memcpy(xvals, COMPLEX(x), (size_t) n * n);
| ^
../../../src/include/R_ext/RS.h:60:55: note: in definition of macro ‘Memcpy’
60 | #define Memcpy(p,q,n) R_chk_memcpy( p, q, (R_SIZE_T)(n) * sizeof(*p) )
| ^
Lapack.c:1049:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1049 | work = (Rcomplex *) R_alloc(lwork, sizeof(Rcomplex));
| ^~~~~
Lapack.c: In function ‘La_chol’:
Lapack.c:1089:16: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1089 | size_t N = n;
| ^
Lapack.c:1091:48: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1091 | for (int i = j+1; i < n; i++) REAL(ans)[i + N * j] = 0.;
| ^
Lapack.c:1091:44: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1091 | for (int i = j+1; i < n; i++) REAL(ans)[i + N * j] = 0.;
| ^
Lapack.c: In function ‘La_chol2inv’:
Lapack.c:1161:13: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1161 | size_t M = m, SZ = sz;
| ^
Lapack.c:1161:21: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1161 | size_t M = m, SZ = sz;
| ^~
Lapack.c:1164:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1164 | REAL(ans)[i + j * SZ] = REAL(Amat)[i + j * M];
| ^
Lapack.c:1164:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1164 | REAL(ans)[i + j * SZ] = REAL(Amat)[i + j * M];
| ^
Lapack.c:1164:44: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1164 | REAL(ans)[i + j * SZ] = REAL(Amat)[i + j * M];
| ^
Lapack.c:1164:40: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1164 | REAL(ans)[i + j * SZ] = REAL(Amat)[i + j * M];
| ^
Lapack.c:1178:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1178 | REAL(ans)[i + j * SZ] = REAL(ans)[j + i * SZ];
| ^
Lapack.c:1178:15: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1178 | REAL(ans)[i + j * SZ] = REAL(ans)[j + i * SZ];
| ^
Lapack.c:1178:43: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1178 | REAL(ans)[i + j * SZ] = REAL(ans)[j + i * SZ];
| ^
Lapack.c:1178:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1178 | REAL(ans)[i + j * SZ] = REAL(ans)[j + i * SZ];
| ^
Lapack.c: In function ‘La_solve’:
Lapack.c:1199:17: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1199 | size_t nl = n;
| ^
In file included from Lapack.h:21,
from Lapack.c:49:
Lapack.c:1232:35: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1232 | Memcpy(REAL(B), REAL(Bin), nl * p);
| ^
../../../src/include/R_ext/RS.h:60:55: note: in definition of macro ‘Memcpy’
60 | #define Memcpy(p,q,n) R_chk_memcpy( p, q, (R_SIZE_T)(n) * sizeof(*p) )
| ^
Lapack.c:1234:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1234 | int *ipiv = (int *) R_alloc(n, sizeof(int));
| ^
In file included from Lapack.h:21,
from Lapack.c:49:
Lapack.c: In function ‘La_qr’:
Lapack.c:1287:39: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1287 | Memcpy(REAL(A), REAL(Ain), (size_t)m * n);
| ^
../../../src/include/R_ext/RS.h:60:55: note: in definition of macro ‘Memcpy’
60 | #define Memcpy(p,q,n) R_chk_memcpy( p, q, (R_SIZE_T)(n) * sizeof(*p) )
| ^
Lapack.c:1300:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1300 | double *work = (double *) R_alloc(lwork, sizeof(double));
| ^~~~~
Lapack.c: In function ‘qr_coef_real’:
Lapack.c:1352:39: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1352 | double *work = (double *) R_alloc(lwork, sizeof(double));
| ^~~~~
Lapack.c: In function ‘qr_qy_real’:
Lapack.c:1392:31: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1392 | work = (double *) R_alloc(lwork, sizeof(double));
| ^~~~~
Lapack.c: In function ‘det_ge_real’:
Lapack.c:1414:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1414 | int *jpvt = (int *) R_alloc(n, sizeof(int));
| ^
Lapack.c:1431:18: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1431 | size_t N1 = n+1;
| ^
Lapack.c:1433:26: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1433 | double dii = REAL(A)[i * N1]; /* ith diagonal element */
| ^
Lapack.c:1439:18: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1439 | size_t N1 = n+1;
| ^
Lapack.c:1440:55: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1440 | for (int i = 0; i < n; i++) modulus *= REAL(A)[i * N1];
| ^
gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fopenmp -fpic -O2 -Wall -Wformat=2 -Wconversion -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -fstack-clash-protection -fstack-protector-strong -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,now -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -c Rsock.c -o Rsock.o
In file included from /usr/include/netdb.h:27,
from Rhttpd.c:79:
Rhttpd.c: In function ‘build_sin’:
Rhttpd.c:121:26: warning: conversion from ‘int’ to ‘__uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion]
121 | sa->sin_port = htons(port);
| ^~~~
Rhttpd.c: In function ‘alloc_buffer’:
Rhttpd.c:243:72: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
243 | struct buffer *buf = (struct buffer*) malloc(sizeof(struct buffer) + size);
| ^
Rhttpd.c:248:17: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
248 | buf->size = size;
| ^~~~
Rhttpd.c: In function ‘collect_buffers’:
Rhttpd.c:260:6: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
260 | len += buf->length;
| ^~
Rhttpd.c:260:9: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion]
260 | len += buf->length;
| ^~~
Rhttpd.c:263:35: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
263 | res = allocVector(RAWSXP, len + buf->length);
| ^
Rhttpd.c:263:35: warning: conversion to ‘R_xlen_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion]
263 | res = allocVector(RAWSXP, len + buf->length);
| ~~~~^~~~~~~~~~~~~
Rhttpd.c: In function ‘send_response’:
Rhttpd.c:370:7: warning: conversion from ‘ssize_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion]
370 | i += n;
| ^
Rhttpd.c: In function ‘uri_decode’:
Rhttpd.c:405:40: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion]
405 | if (*s >= '0' && *s <= '9') ec |= ((unsigned char)(*s - '0')) << 4;
| ^
Rhttpd.c:406:45: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion]
406 | else if (*s >= 'a' && *s <= 'f') ec |= ((unsigned char)(*s - 'a' + 10)) << 4;
| ^
Rhttpd.c:407:45: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion]
407 | else if (*s >= 'A' && *s <= 'F') ec |= ((unsigned char)(*s - 'A' + 10)) << 4;
| ^
Rhttpd.c: In function ‘parse_query’:
Rhttpd.c:457:40: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion]
457 | if (*s >= '0' && *s <= '9') ec |= ((unsigned char)(*s - '0')) << 4;
| ^
Rhttpd.c:458:45: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion]
458 | else if (*s >= 'a' && *s <= 'f') ec |= ((unsigned char)(*s - 'a' + 10)) << 4;
| ^
Rhttpd.c:459:45: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion]
459 | else if (*s >= 'A' && *s <= 'F') ec |= ((unsigned char)(*s - 'A' + 10)) << 4;
| ^
Rhttpd.c: In function ‘parse_request_body’:
Rhttpd.c:487:33: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
487 | memcpy(RAW(res), c->body, c->content_length);
| ~^~~~~~~~~~~~~~~~
Rhttpd.c: In function ‘handler_for_path’:
Rhttpd.c:541:22: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
541 | memcpy(fn, e, c - e); /* create a local C string with the name for the install() call */
| ~~^~~
In file included from Rhttpd.c:58:
Rhttpd.c: In function ‘process_request_’:
../../../src/include/Defn.h:401:19: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
Rhttpd.c:671:31: note: in expansion of macro ‘LENGTH’
671 | unsigned int i = 0, n = LENGTH(sHeaders);
| ^~~~~~
Rhttpd.c:704:17: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
704 | size_t rd = (fsz > 32768) ? 32768 : fsz;
| ^
Rhttpd.c:714:9: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
714 | fsz -= rd;
| ^~
Rhttpd.c:714:12: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
714 | fsz -= rd;
| ^~
In file included from Rhttpd.c:58:
../../../src/include/Defn.h:401:19: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~
Rhttpd.c:753:31: note: in expansion of macro ‘LENGTH’
753 | unsigned int i = 0, n = LENGTH(sHeaders);
| ^~~~~~
../../../src/include/Defn.h:401:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
401 | #define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rhttpd.c:763:42: note: in expansion of macro ‘LENGTH’
763 | send_response(c->sock, (char*) cs, LENGTH(y));
| ^~~~~~
Rhttpd.c: In function ‘worker_input_handler’:
Rhttpd.c:931:14: warning: conversion to ‘long unsigned int’ from ‘ssize_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
931 | c->line_pos += n;
| ^~
Rhttpd.c:947:49: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
947 | !(c->body = (char*) malloc(c->content_length + 1 /* allocate an extra termination byte */ ))) {
| ~~~~~~~~~~~~~~~~~~^~~
Rhttpd.c:958:15: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
958 | c->line_pos -= s - c->line_buf;
| ^~
Rhttpd.c:986:71: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
986 | c->body_pos = (c->content_length < c->line_pos) ? c->content_length : c->line_pos;
| ^
Rhttpd.c:1007:19: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
1007 | c->line_pos -= bol - c->line_buf;
| ^~
Rhttpd.c:1043:65: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion]
1043 | memcpy(c->headers->data + c->headers->length, bol, mend - bol);
| ~~~~~^~~~~
Rhttpd.c:1044:24: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
1044 | c->headers->length += mend - bol;
| ^~
Rhttpd.c:150:27: warning: conversion from ‘int’ to ‘char’ may change value [-Wconversion]
150 | #define CONTENT_FORM_UENC 0x80 /* message content type is application/x-www-form-urlencoded */
| ^~~~
Rhttpd.c:1103:20: note: in expansion of macro ‘CONTENT_FORM_UENC’
1103 | c->attr |= CONTENT_FORM_UENC;
| ^~~~~~~~~~~~~~~~~
Rhttpd.c:1129:26: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
1129 | c->content_length - c->body_pos, 0);
| ^
Rhttpd.c:1142:18: warning: conversion to ‘long unsigned int’ from ‘ssize_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
1142 | c->body_pos += n;
| ^~
Rhttpd.c:1184:58: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1184 | memmove(c->line_buf, c->line_buf + sh, c->line_pos - sh);
| ^
Rhttpd.c:1185:19: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1185 | c->line_pos -= sh;
| ^~
In file included from devX11.c:208:
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘CairoInitPatterns’:
../../../src/library/grDevices/src/cairo/cairoFns.c:136:52: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
136 | xd->patterns = malloc(sizeof(cairo_pattern_t*) * xd->numPatterns);
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘CairoGrowPatterns’:
../../../src/library/grDevices/src/cairo/cairoFns.c:146:58: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
146 | tmp = realloc(xd->patterns, sizeof(cairo_pattern_t*) * newMax);
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘CairoInitClipPaths’:
../../../src/library/grDevices/src/cairo/cairoFns.c:380:50: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
380 | xd->clippaths = malloc(sizeof(cairo_path_t*) * xd->numClipPaths);
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘CairoGrowClipPaths’:
../../../src/library/grDevices/src/cairo/cairoFns.c:390:56: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
390 | tmp = realloc(xd->clippaths, sizeof(cairo_path_t*) * newMax);
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘CairoInitMasks’:
../../../src/library/grDevices/src/cairo/cairoFns.c:558:49: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
558 | xd->masks = malloc(sizeof(cairo_pattern_t*) * xd->numMasks);
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘CairoGrowMasks’:
../../../src/library/grDevices/src/cairo/cairoFns.c:569:55: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
569 | tmp = realloc(xd->masks, sizeof(cairo_pattern_t*) * newMax);
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘CairoInitGroups’:
../../../src/library/grDevices/src/cairo/cairoFns.c:705:50: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
705 | xd->groups = malloc(sizeof(cairo_pattern_t*) * xd->numGroups);
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘CairoGrowGroups’:
../../../src/library/grDevices/src/cairo/cairoFns.c:717:56: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
717 | tmp = realloc(xd->groups, sizeof(cairo_pattern_t*) * newMax);
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘CairoLineType’:
../../../src/library/grDevices/src/cairo/cairoFns.c:958:27: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
958 | unsigned int dt = gc->lty;
| ^~
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘cairoFill’:
../../../src/library/grDevices/src/cairo/cairoFns.c:1025:22: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1025 | CairoColor(gc->fill, xd);
| ~~^~~~~~
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘cairoStroke’:
../../../src/library/grDevices/src/cairo/cairoFns.c:1034:22: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1034 | CairoColor(gc->col, xd);
| ~~^~~~~
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘createImageSurface’:
../../../src/library/grDevices/src/cairo/cairoFns.c:1309:46: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1309 | imageData = (unsigned char *) R_alloc(4*w*h, sizeof(unsigned char));
| ~~~^~
In file included from ../../../src/include/R_ext/GraphicsEngine.h:236,
from devX11.c:57:
../../../src/include/R_ext/GraphicsDevice.h:875:22: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
875 | #define R_ALPHA(col) (((col)>>24)&255)
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c:1314:21: note: in expansion of macro ‘R_ALPHA’
1314 | int alpha = R_ALPHA(raster[i]);
| ^~~~~~~
In file included from devX11.c:208:
../../../src/library/grDevices/src/cairo/cairoFns.c:1317:67: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1317 | imageData[i*4 + 2] = (unsigned char)(R_RED(raster[i]) * alpha / 255);
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c:1318:62: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1318 | imageData[i*4 + 1] = (unsigned char)(R_GREEN(raster[i]) * alpha / 255);
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c:1319:61: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1319 | imageData[i*4 + 0] = (unsigned char)(R_BLUE(raster[i]) * alpha / 255);
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘Cairo_Raster’:
../../../src/library/grDevices/src/cairo/cairoFns.c:1383:63: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
1383 | rasterImage = (unsigned int *) R_alloc(imageWidth * imageHeight,
| ~~~~~~~~~~~^~~~~~~~~~~~~
Rsock.c: In function ‘in_Rsockread’:
Rsock.c:133:45: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
133 | *maxlen = (int) Sock_read(*sockp, *buf, *maxlen, &perr);
| ^~~~~~~
Rsock.c: In function ‘in_Rsockwrite’:
Rsock.c:155:48: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
155 | n = Sock_write(*sockp, *buf + *start, *end - *start, &perr);
| ~~~~~^~~~~~~~
In file included from devX11.c:208:
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘Cairo_Text’:
Rsock.c: In function ‘R_SocketWait’:
Rsock.c:253:27: warning: conversion from ‘__suseconds_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
253 | used += tv.tv_sec + 1e-6 * tv.tv_usec;
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c:2013:26: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2013 | CairoColor(gc->col, xd);
| ~~^~~~~
Rsock.c:253:20: warning: conversion from ‘__time_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
253 | used += tv.tv_sec + 1e-6 * tv.tv_usec;
| ^
Rsock.c: In function ‘R_SocketWaitMultiple’:
Rsock.c:305:53: warning: conversion from ‘__time_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
305 | tv.tv_usec = (int)ceil(1e6 * (mytimeout - used - tv.tv_sec));
| ^
Rsock.c:346:27: warning: conversion from ‘__suseconds_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
346 | used += tv.tv_sec + 1e-6 * tv.tv_usec;
| ^
Rsock.c:346:20: warning: conversion from ‘__time_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
346 | used += tv.tv_sec + 1e-6 * tv.tv_usec;
| ^
Rsock.c: In function ‘R_SockConnect’:
Rsock.c:415:60: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
415 | memcpy((char *)&server.sin_addr, hp->h_addr_list[0], hp->h_length);
| ~~^~~~~~~~~~
In file included from /usr/include/netdb.h:27,
from Rsock.c:166:
Rsock.c:416:29: warning: conversion to ‘__uint16_t’ {aka ‘short unsigned int’} from ‘short int’ may change the sign of the result [-Wsign-conversion]
416 | server.sin_port = htons((short)port);
| ^~~~~~~~~~~
Rsock.c:464:27: warning: conversion from ‘__suseconds_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
464 | used += tv.tv_sec + 1e-6 * tv.tv_usec;
| ^
Rsock.c:464:20: warning: conversion from ‘__time_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
464 | used += tv.tv_sec + 1e-6 * tv.tv_usec;
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c: In function ‘Cairo_Glyph’:
Rsock.c: In function ‘R_SockListen’:
Rsock.c:598:27: warning: conversion from ‘__time_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
598 | double maybe_used = used + tv.tv_sec + 1e-6 * tv.tv_usec;
| ^
Rsock.c:598:46: warning: conversion from ‘__suseconds_t’ {aka ‘long int’} to ‘double’ may change value [-Wconversion]
598 | double maybe_used = used + tv.tv_sec + 1e-6 * tv.tv_usec;
| ^
../../../src/library/grDevices/src/cairo/cairoFns.c:2413:28: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2413 | cairoGlyph.index = glyphs[i];
| ^~~~~~
../../../src/library/grDevices/src/cairo/cairoFns.c:2417:24: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2417 | CairoColor(colour, xd);
| ^~~~~~
Rsock.c: In function ‘R_SockWrite’:
Rsock.c:686:10: warning: conversion to ‘long unsigned int’ from ‘ssize_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
686 | len -= res;
| ^~
devX11.c: In function ‘Cairo_NewPage’:
devX11.c:335:18: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
335 | CairoColor(xd->fill, xd);
| ~~^~~~~~
devX11.c: In function ‘GetGrayScalePixel’:
devX11.c:413:7: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
413 | dr = (RPalette[i].red - gray);
| ^
devX11.c: In function ‘GetPseudoColor1Pixel’:
devX11.c:571:7: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
571 | dr = (RPalette[i].red - r);
| ^
devX11.c:572:7: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
572 | dg = (RPalette[i].green - g);
| ^
devX11.c:573:7: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
573 | db = (RPalette[i].blue - b);
| ^
devX11.c: In function ‘GetTrueColorPixel’:
devX11.c:641:7: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
641 | (((r * RMask) / 255) << RShift) |
| ^
devX11.c:642:7: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
642 | (((g * GMask) / 255) << GShift) |
| ^
devX11.c:643:7: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
643 | (((b * BMask) / 255) << BShift);
| ^
devX11.c: In function ‘RLoadFont’:
devX11.c:988:26: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
988 | snprintf(buf, BUFSIZ, xd->symbolfamily, pixelsize);
| ~~^~~~~~~~~~~~~~
devX11.c:992:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
992 | pixelsize);
| ^~~~~~~~~
devX11.c:993:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
993 | snprintf(buf1, BUFSIZ, family, weight[face & 1], "i", pixelsize);
| ^~~~~~~~
devX11.c:998:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
998 | pixelsize);
| ^~~~~~~~~
devX11.c:876:60: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
876 | #define ADOBE_SIZE(I) ((I) > 7 && (I) < 35 && (adobe_sizes & (1<<((I)-8))))
| ^
devX11.c:1014:40: note: in expansion of macro ‘ADOBE_SIZE’
1014 | if (!tmp || (force_nonscalable && !ADOBE_SIZE(size)) ){
| ^~~~~~~~~~
devX11.c:876:60: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
876 | #define ADOBE_SIZE(I) ((I) > 7 && (I) < 35 && (adobe_sizes & (1<<((I)-8))))
| ^
devX11.c:1024:7: note: in expansion of macro ‘ADOBE_SIZE’
1024 | if ( ADOBE_SIZE(pixelsize) ) {
| ^~~~~~~~~~
devX11.c:1050:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
1050 | snprintf(buf, BUFSIZ, symbolname, pixelsize);
| ^~~~~~~~
devX11.c:1054:7: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
1054 | slant[(face & 2) >> 1 ], pixelsize);
| ^~~~~
devX11.c:1070:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
1070 | snprintf(buf, BUFSIZ, symbolname, 24);
| ^~~~~~~~
devX11.c:1074:7: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
1074 | slant[(face & 2) >> 1 ], 24);
| ^~~~~
In file included from ../../../src/include/R_ext/GraphicsEngine.h:236,
from devX11.c:57:
devX11.c: In function ‘CheckAlpha’:
../../../src/include/R_ext/GraphicsDevice.h:875:22: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
875 | #define R_ALPHA(col) (((col)>>24)&255)
| ^
devX11.c:1137:26: note: in expansion of macro ‘R_ALPHA’
1137 | unsigned int alpha = R_ALPHA(color);
| ^~~~~~~
devX11.c: In function ‘SetColor’:
devX11.c:1147:12: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1147 | int col = GetX11Pixel(R_RED(color), R_GREEN(color), R_BLUE(color));
| ^~~~~~~~~~~
devX11.c:1148:12: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1148 | xd->col = color;
| ^~~~~
devX11.c:1149:30: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1149 | XSetState(display, xd->wgc, col, whitepixel, GXcopy, AllPlanes);
| ^~~
devX11.c:1149:35: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1149 | XSetState(display, xd->wgc, col, whitepixel, GXcopy, AllPlanes);
| ^~~~~~~~~~
devX11.c: In function ‘SetLinetype’:
devX11.c:1219:11: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1219 | (int)(newlwd*xd->lwdscale+0.5),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
devX11.c:1238:11: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1238 | (int)(newlwd*xd->lwdscale+0.5),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
devX11.c: In function ‘X11_Open’:
devX11.c:1350:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
1350 | snprintf(buf, R_PATH_MAX, dsp+5, 1); /* page 1 to start */
| ^~~~~~~~
devX11.c:1376:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
1376 | snprintf(buf, R_PATH_MAX, pp+1, 1); /* page 1 to start */
| ^~~~~~~~
devX11.c:1412:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
1412 | snprintf(buf, R_PATH_MAX, dsp+5, 1); /* page 1 to start */
| ^~~~~~~~
devX11.c:1455:18: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1455 | whitepixel = GetX11Pixel(R_RED(canvascolor), R_GREEN(canvascolor),
| ^~~~~~~~~~~
devX11.c:1457:18: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1457 | blackpixel = GetX11Pixel(0, 0, 0);
| ^~~~~~~~~~~
In file included from ../../../src/include/R_ext/GraphicsEngine.h:236,
from devX11.c:57:
../../../src/include/R_ext/GraphicsDevice.h:870:22: warning: signed conversion from ‘unsigned int’ to ‘int’ changes value from ‘4278190080’ to ‘-16777216’ [-Wsign-conversion]
870 | #define R_RGB(r,g,b) ((r)|((g)<<8)|((b)<<16)|0xFF000000)
| ^
devX11.c:1467:15: note: in expansion of macro ‘R_RGB’
1467 | xd->col = R_RGB(0, 0, 0);
| ^~~~~
devX11.c:1489:35: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1489 | attributes.background_pixel = whitepixel;
| ^~~~~~~~~~
devX11.c:1490:31: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1490 | attributes.border_pixel = blackpixel;
| ^~~~~~~~~~
devX11.c:1587:15: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1587 | hint->width, hint->height,
| ~~~~^~~~~~~
devX11.c:1587:28: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1587 | hint->width, hint->height,
| ~~~~^~~~~~~~
devX11.c:1589:11: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1589 | blackpixel,
| ^~~~~~~~~~
devX11.c:1590:11: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1590 | whitepixel);
| ^~~~~~~~~~
devX11.c:1704:16: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1704 | CairoColor(xd->canvas, xd);
| ~~^~~~~~~~
devX11.c:1748:6: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1748 | iw, ih, DefaultDepth(display, screen))) == 0) {
| ^~
devX11.c:1748:10: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1748 | iw, ih, DefaultDepth(display, screen))) == 0) {
| ^~
devX11.c:1748:14: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1748 | iw, ih, DefaultDepth(display, screen))) == 0) {
| ^~~~~~~~~~~~
devX11.c:1762:33: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1762 | XSetState(display, xd->wgc, blackpixel, whitepixel, GXcopy, AllPlanes);
| ^~~~~~~~~~
devX11.c:1762:45: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1762 | XSetState(display, xd->wgc, blackpixel, whitepixel, GXcopy, AllPlanes);
| ^~~~~~~~~~
devX11.c: In function ‘X11_MetricInfo’:
devX11.c:1878:10: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1878 | first = f->min_char_or_byte2;
| ^
devX11.c:1879:9: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
1879 | last = f->max_char_or_byte2;
| ^
devX11.c: In function ‘X11_Clip’:
devX11.c:1933:15: warning: conversion to ‘short int’ from ‘short unsigned int’ may change the sign of the result [-Wsign-conversion]
1933 | xd->clip.x = (unsigned short) x0 ;
| ^
devX11.c:1934:19: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1934 | xd->clip.width = (unsigned short) x1 - (unsigned short) x0 + 1;
| ^
devX11.c:1937:15: warning: conversion to ‘short int’ from ‘short unsigned int’ may change the sign of the result [-Wsign-conversion]
1937 | xd->clip.x = (unsigned short) x1;
| ^
devX11.c:1938:19: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1938 | xd->clip.width = (unsigned short) x0 - (unsigned short) x1 + 1;
| ^
devX11.c:1942:15: warning: conversion to ‘short int’ from ‘short unsigned int’ may change the sign of the result [-Wsign-conversion]
1942 | xd->clip.y = (unsigned short) y0;
| ^
devX11.c:1943:20: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1943 | xd->clip.height = (unsigned short) y1 - (unsigned short) y0 + 1;
| ^
devX11.c:1946:15: warning: conversion to ‘short int’ from ‘short unsigned int’ may change the sign of the result [-Wsign-conversion]
1946 | xd->clip.y = (unsigned short) y1;
| ^
devX11.c:1947:20: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion]
1947 | xd->clip.height = (unsigned short) y0 - (unsigned short) y1 + 1;
| ^
devX11.c: In function ‘X11_NewPage’:
devX11.c:1981:31: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
1981 | snprintf(buf, R_PATH_MAX, xd->filename, xd->npages);
| ~~^~~~~~~~~~
devX11.c:1989:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1989 | SetColor(xd->fill, xd);
| ~~^~~~~~
devX11.c:1994:12: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1994 | xd->windowWidth, xd->windowHeight);
| ~~^~~~~~~~~~~~~
devX11.c:1994:29: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
1994 | xd->windowWidth, xd->windowHeight);
| ~~^~~~~~~~~~~~~~
devX11.c:2001:15: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
2001 | whitepixel = GetX11Pixel(R_RED(xd->fill),R_GREEN(xd->fill),R_BLUE(xd->fill));
| ^~~~~~~~~~~
devX11.c:2002:44: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2002 | XSetWindowBackground(display, xd->window, whitepixel);
| ^~~~~~~~~~
devX11.c: In function ‘bitgp’:
devX11.c:2027:16: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2027 | xcol.pixel = i;
| ^
devX11.c:2032:26: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2032 | return knowncols[i] | 0xFF000000;
| ^
devX11.c:2034:19: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2034 | xcol.pixel = i;
| ^
devX11.c:2036:56: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2036 | return ((xcol.red>>8)<<16) | ((xcol.green>>8)<<8) | (xcol.blue>>8);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
devX11.c:2039:18: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2039 | r = ((i>>RShift)&RMask) * 255 /(RMask);
| ^
devX11.c:2039:6: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
2039 | r = ((i>>RShift)&RMask) * 255 /(RMask);
| ^
devX11.c:2040:18: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2040 | g = ((i>>GShift)&GMask) * 255 /(GMask);
| ^
devX11.c:2040:6: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
2040 | g = ((i>>GShift)&GMask) * 255 /(GMask);
| ^
devX11.c:2041:18: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2041 | b = ((i>>BShift)&BMask) * 255 /(BMask);
| ^
devX11.c:2041:6: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
2041 | b = ((i>>BShift)&BMask) * 255 /(BMask);
| ^
devX11.c:2042:30: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2042 | return (r<<16) | (g<<8) | b | 0xFF000000;
| ^
devX11.c: In function ‘X11_Close_bitmap’:
devX11.c:2055:8: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2055 | xd->windowWidth, xd->windowHeight,
| ~~^~~~~~~~~~~~~
devX11.c:2055:25: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2055 | xd->windowWidth, xd->windowHeight,
| ~~^~~~~~~~~~~~~~
devX11.c:2062:10: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
2062 | i = GetX11Pixel(R_RED(PNG_TRANS),
| ^~~~~~~~~~~
devX11.c:2065:22: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2065 | r = ((i>>RShift)&RMask) * 255 /(RMask);
| ^
devX11.c:2065:10: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
2065 | r = ((i>>RShift)&RMask) * 255 /(RMask);
| ^
devX11.c:2066:22: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2066 | g = ((i>>GShift)&GMask) * 255 /(GMask);
| ^
devX11.c:2066:10: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
2066 | g = ((i>>GShift)&GMask) * 255 /(GMask);
| ^
devX11.c:2067:22: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2067 | b = ((i>>BShift)&BMask) * 255 /(BMask);
| ^
devX11.c:2067:10: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
2067 | b = ((i>>BShift)&BMask) * 255 /(BMask);
| ^
devX11.c:2068:38: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2068 | pngtrans = (r<<16) | (g<<8) | b | 0xFF000000;
| ^
devX11.c:2081:30: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
2081 | snprintf(buf, R_PATH_MAX, xd->filename, xd->npages);
| ~~^~~~~~~~~~
devX11.c: In function ‘X11_Activate’:
devX11.c:2156:21: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
2156 | snprintf(t, 140, xd->title, ndevNumber(dd) + 1);
| ~~^~~~~~~
devX11.c: In function ‘X11_Deactivate’:
devX11.c:2173:21: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
2173 | snprintf(t, 140, xd->title, ndevNumber(dd) + 1);
| ~~^~~~~~~
devX11.c: In function ‘X11_Rect’:
devX11.c:2201:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2201 | SetColor(gc->fill, xd);
| ~~^~~~~~
devX11.c:2203:18: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2203 | (int)x1 - (int)x0, (int)y1 - (int)y0);
| ~~~~~~~~^~~~~~~~~
devX11.c:2203:37: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2203 | (int)x1 - (int)x0, (int)y1 - (int)y0);
| ~~~~~~~~^~~~~~~~~
devX11.c:2207:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2207 | SetColor(gc->col, xd);
| ~~^~~~~
devX11.c:2210:18: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2210 | (int)x1 - (int)x0, (int)y1 - (int)y0);
| ~~~~~~~~^~~~~~~~~
devX11.c:2210:37: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2210 | (int)x1 - (int)x0, (int)y1 - (int)y0);
| ~~~~~~~~^~~~~~~~~
devX11.c: In function ‘X11_Raster’:
devX11.c:2300:55: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2300 | rasterImage = (unsigned int *) R_alloc(imageWidth * imageHeight,
| ~~~~~~~~~~~^~~~~~~~~~~~~
devX11.c:2313:61: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2313 | flippedRaster = (unsigned int *) R_alloc(imageWidth * imageHeight,
| ~~~~~~~~~~~^~~~~~~~~~~~~
devX11.c:2330:55: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2330 | resizedRaster = (unsigned int *) R_alloc(newW * newH,
| ~~~~~^~~~~~
devX11.c:2335:55: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
2335 | rotatedRaster = (unsigned int *) R_alloc(newW * newH,
| ~~~~~^~~~~~
devX11.c:2351:43: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2351 | image = XCreateImage(display, visual, depth,
| ^~~~~
devX11.c:2359:26: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2359 | imageWidth, imageHeight,
| ^~~~~~~~~~
devX11.c:2359:38: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2359 | imageWidth, imageHeight,
| ^~~~~~~~~~~
devX11.c:2375:33: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2375 | (int) x, (int) y, imageWidth, imageHeight);
| ^~~~~~~~~~
devX11.c:2375:45: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2375 | (int) x, (int) y, imageWidth, imageHeight);
| ^~~~~~~~~~~
devX11.c: In function ‘X11_Cap’:
devX11.c:2389:33: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2389 | xd->windowWidth, xd->windowHeight,
| ~~^~~~~~~~~~~~~
devX11.c:2389:50: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2389 | xd->windowWidth, xd->windowHeight,
| ~~^~~~~~~~~~~~~~
devX11.c: In function ‘X11_Circle’:
devX11.c:2439:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2439 | SetColor(gc->fill, xd);
| ~~^~~~~~
devX11.c:2441:19: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2441 | ix-ir, iy-ir, 2*ir, 2*ir, 0, 23040);
| ~^~~
devX11.c:2441:25: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2441 | ix-ir, iy-ir, 2*ir, 2*ir, 0, 23040);
| ~^~~
devX11.c:2446:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2446 | SetColor(gc->col, xd);
| ~~^~~~~
devX11.c:2448:19: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2448 | ix-ir, iy-ir, 2*ir, 2*ir, 0, 23040);
| ~^~~
devX11.c:2448:25: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2448 | ix-ir, iy-ir, 2*ir, 2*ir, 0, 23040);
| ~^~~
devX11.c: In function ‘X11_Line’:
devX11.c:2467:13: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2467 | SetColor(gc->col, xd);
| ~~^~~~~
devX11.c: In function ‘X11_Polyline’:
devX11.c:2481:33: warning: con
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment