* installing *source* package ‘qmvs’ ... ** package ‘qmvs’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-13 (GCC) 13.2.0’ using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/qmvs/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c qmvs.cc -o qmvs.o qmvs.cc: In function 'SEXPREC* queue(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': qmvs.cc:44:10: error: 'ncols' was not declared in this scope 44 | N = ncols(AArrival), | ^~~~~ In file included from qmvs.cc:27: Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:58:29: note: in expansion of macro 'ERR0' 58 | if (N != ncols(SServing)) ERR0("not same number of cols"); | ^~~~ qmvs.cc:59:12: error: 'length' was not declared in this scope 59 | if (N != length(TPosition)) ERR0("number of cols does not match length"); | ^~~~~~ Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:59:31: note: in expansion of macro 'ERR0' 59 | if (N != length(TPosition)) ERR0("number of cols does not match length"); | ^~~~ qmvs.cc:60:7: error: 'k' was not declared in this scope 60 | if (k != nrows(SServing)) ERR0("not same number of rowss"); | ^ qmvs.cc:60:12: error: 'nrows' was not declared in this scope 60 | if (k != nrows(SServing)) ERR0("not same number of rowss"); | ^~~~~ Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:60:29: note: in expansion of macro 'ERR0' 60 | if (k != nrows(SServing)) ERR0("not same number of rowss"); | ^~~~ qmvs.cc:61:7: error: 'c' was not declared in this scope 61 | if (c > max_c) ERR0("too many servers"); | ^ Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:61:18: note: in expansion of macro 'ERR0' 61 | if (c > max_c) ERR0("too many servers"); | ^~~~ qmvs.cc:62:7: error: 'k' was not declared in this scope 62 | if (k > max_k) ERR0("too many customers"); | ^ Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:62:18: note: in expansion of macro 'ERR0' 62 | if (k > max_k) ERR0("too many customers"); | ^~~~ In file included from qmvs.cc:24: qmvs.cc:65:20: error: 'allocMatrix' was not declared in this scope; did you mean 'Rf_allocMatrix'? 65 | PROTECT(Result = allocMatrix(REALSXP, N, 5)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ qmvs.cc:68:29: error: 'k' was not declared in this scope 68 | int bytes = sizeof(int) * k, | ^ qmvs.cc:80:14: error: 'LL' was not declared in this scope; did you mean 'L'? 80 | int L = LL[simu]; // rbinom | ^~ | L qmvs.cc:93:19: error: 'Tposition' was not declared in this scope; did you mean 'tposition'? 93 | tposition = Tposition[simu], // R codierung | ^~~~~~~~~ | tposition qmvs.cc:109:22: error: 'orig_misidd' was not declared in this scope 109 | MEMCOPYX(misidd, orig_misidd + simu * k, bytes); | ^~~~~~~~~~~ qmvs.cc:110:23: error: 'bytes_ix' was not declared in this scope; did you mean 'bytes'? 110 | MEMSET(ix, UNSET, bytes_ix); | ^~~~~~~~ | bytes qmvs.cc:113:5: error: 'idx' was not declared in this scope; did you mean 'ix'? 113 | idx = UNSET; | ^~~ | ix qmvs.cc:115:7: error: 'sum' was not declared in this scope 115 | sum += misidd[i]; | ^~~ qmvs.cc:119:19: error: 'sum' was not declared in this scope 119 | if ((resp = sum != 0)) { | ^~~ qmvs.cc:120:9: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 120 | stopat = idx; | ^~~~~~ | strcat qmvs.cc:123:11: error: 'sum' was not declared in this scope 123 | if (sum==0) { | ^~~ qmvs.cc:124:21: error: 'misidt' was not declared in this scope; did you mean 'misidd'? 124 | if ((resp = misidt==0 && tposition<=L)) { | ^~~~~~ | misidd qmvs.cc:125:11: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 125 | stopat = tposition; | ^~~~~~ | strcat qmvs.cc:129:9: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 129 | stopat = misidt==0 ? MINI(idx, tposition) : idx; | ^~~~~~ | strcat qmvs.cc:129:18: error: 'misidt' was not declared in this scope; did you mean 'misidd'? 129 | stopat = misidt==0 ? MINI(idx, tposition) : idx; | ^~~~~~ | misidd qmvs.cc:133:22: error: 'c' was not declared in this scope 133 | for (int i=0; i<=c; el[i++]=RF_INF); | ^ qmvs.cc:139:19: error: 'c' was not declared in this scope 139 | double m = el[c] =//c:not a server, but the fact of entering a new customer | ^ qmvs.cc:144:30: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 144 | ((!resp && left < stopat) || (resp && depid!=stopat))) { | ^~~~~~ | strcat qmvs.cc:144:50: error: 'depid' was not declared in this scope 144 | ((!resp && left < stopat) || (resp && depid!=stopat))) { | ^~~~~ qmvs.cc:155:9: error: 'time' was not declared in this scope 155 | time = m; | ^~~~ qmvs.cc:30:1: note: 'time' is defined in header ''; did you forget to '#include '? 29 | #include "qmvs.h" +++ |+#include 30 | qmvs.cc:165:30: error: 'serving' was not declared in this scope; did you mean 'Serving'? 165 | el[f] = time + serving[entered - 1] * mst; | ^~~~~~~ | Serving qmvs.cc:172:9: error: 'time' was not declared in this scope 172 | time = m; | ^~~~ qmvs.cc:172:9: note: 'time' is defined in header ''; did you forget to '#include '? Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ Basic_utils.h:230:13: note: in expansion of macro 'ERR0' 230 | #define BUG ERR0("unexpected error occurred\n"); | ^~~~ qmvs.cc:178:25: note: in expansion of macro 'BUG' 178 | if (depid <= 0) BUG; | ^~~ qmvs.cc:189:26: error: 'serving' was not declared in this scope; did you mean 'Serving'? 189 | el[f] = time + serving[ix[f] - 1] * mst; | ^~~~~~~ | Serving qmvs.cc:211:26: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 211 | if (resp) srt = out2[stopat]; | ^~~~~~ | strcat Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:213:7: note: in expansion of macro 'ERR0' 213 | ERR0("programming error\n"); | ^~~~ qmvs.cc:215:16: error: 'time' was not declared in this scope 215 | if (srt != time) ERR0("strange error -- pls contact maintainer"); | ^~~~ qmvs.cc:215:16: note: 'time' is defined in header ''; did you forget to '#include '? Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:215:22: note: in expansion of macro 'ERR0' 215 | if (srt != time) ERR0("strange error -- pls contact maintainer"); | ^~~~ qmvs.cc:56:7: warning: unused variable 'Serving' [-Wunused-variable] 56 | *Serving = REAL(SServing); | ^~~~~~~ qmvs.cc: In function 'SEXPREC* LqDist(SEXP, SEXP, SEXP)': qmvs.cc:233:10: error: 'length' was not declared in this scope 233 | n1 = length(E1), | ^~~~~~ qmvs.cc:238:28: error: 'n2' was not declared in this scope; did you mean 't2'? 238 | invn2 = 1.0 / (double) n2, | ^~ | t2 qmvs.cc:248:7: error: 'e1' was not declared in this scope; did you mean 'E1'? 248 | if (e1[i1] < e2[i2]) { | ^~ | E1 qmvs.cc:248:16: error: 'e2' was not declared in this scope; did you mean 'E2'? 248 | if (e1[i1] < e2[i2]) { | ^~ | E2 qmvs.cc:249:5: error: 'v1' was not declared in this scope; did you mean 't1'? 249 | v1 = invn1; | ^~ | t1 qmvs.cc:252:5: error: 'v2' was not declared in this scope; did you mean 't2'? 252 | v2 = invn2; | ^~ | t2 qmvs.cc:255:8: error: 'e1' was not declared in this scope; did you mean 'E1'? 255 | t1 = e1[i1++]; | ^~ | E1 qmvs.cc:256:8: error: 'e2' was not declared in this scope; did you mean 'E2'? 256 | t2 = e2[i2++]; | ^~ | E2 qmvs.cc:258:17: error: 'q' was not declared in this scope 258 | if (!R_finite(q)) { | ^ qmvs.cc:260:11: error: 'v1' was not declared in this scope; did you mean 't1'? 260 | while(v1 < Eins1 || v2 < Eins2) {/* !! Rundungsfehler -- nicht < 1*/ | ^~ | t1 qmvs.cc:260:16: error: 'Eins1' was not declared in this scope 260 | while(v1 < Eins1 || v2 < Eins2) {/* !! Rundungsfehler -- nicht < 1*/ | ^~~~~ qmvs.cc:260:25: error: 'v2' was not declared in this scope; did you mean 't2'? 260 | while(v1 < Eins1 || v2 < Eins2) {/* !! Rundungsfehler -- nicht < 1*/ | ^~ | t2 qmvs.cc:260:30: error: 'Eins2' was not declared in this scope 260 | while(v1 < Eins1 || v2 < Eins2) {/* !! Rundungsfehler -- nicht < 1*/ | ^~~~~ qmvs.cc:264:9: error: 'sum' was not declared in this scope 264 | sum = MAX(sum, diff); | ^~~ qmvs.cc:270:9: error: 'sum' was not declared in this scope 270 | sum = MAX(sum, diff); | ^~~ qmvs.cc:279:11: error: 'v1' was not declared in this scope; did you mean 't1'? 279 | while(v1 < Eins1 || v2 < Eins2) { /* !! Rundungsfehler -- nicht < 1*/ \ | ^~ qmvs.cc:302:7: note: in expansion of macro 'LOOP' 302 | LOOP(diff); | ^~~~ qmvs.cc:279:16: error: 'Eins1' was not declared in this scope 279 | while(v1 < Eins1 || v2 < Eins2) { /* !! Rundungsfehler -- nicht < 1*/ \ | ^~~~~ qmvs.cc:302:7: note: in expansion of macro 'LOOP' 302 | LOOP(diff); | ^~~~ qmvs.cc:279:25: error: 'v2' was not declared in this scope; did you mean 't2'? 279 | while(v1 < Eins1 || v2 < Eins2) { /* !! Rundungsfehler -- nicht < 1*/ \ | ^~ qmvs.cc:302:7: note: in expansion of macro 'LOOP' 302 | LOOP(diff); | ^~~~ qmvs.cc:279:30: error: 'Eins2' was not declared in this scope 279 | while(v1 < Eins1 || v2 < Eins2) { /* !! Rundungsfehler -- nicht < 1*/ \ | ^~~~~ qmvs.cc:302:7: note: in expansion of macro 'LOOP' 302 | LOOP(diff); | ^~~~ qmvs.cc:283:10: error: 'sum' was not declared in this scope 283 | sum += X * (t1 - t); \ | ^~~ qmvs.cc:302:7: note: in expansion of macro 'LOOP' 302 | LOOP(diff); | ^~~~ qmvs.cc:291:10: error: 'sum' was not declared in this scope 291 | sum += X * (t2 - t); \ | ^~~ qmvs.cc:302:7: note: in expansion of macro 'LOOP' 302 | LOOP(diff); | ^~~~ qmvs.cc:279:11: error: 'v1' was not declared in this scope; did you mean 't1'? 279 | while(v1 < Eins1 || v2 < Eins2) { /* !! Rundungsfehler -- nicht < 1*/ \ | ^~ qmvs.cc:304:7: note: in expansion of macro 'LOOP' 304 | LOOP(diff * diff); | ^~~~ qmvs.cc:279:16: error: 'Eins1' was not declared in this scope 279 | while(v1 < Eins1 || v2 < Eins2) { /* !! Rundungsfehler -- nicht < 1*/ \ | ^~~~~ qmvs.cc:304:7: note: in expansion of macro 'LOOP' 304 | LOOP(diff * diff); | ^~~~ qmvs.cc:279:25: error: 'v2' was not declared in this scope; did you mean 't2'? 279 | while(v1 < Eins1 || v2 < Eins2) { /* !! Rundungsfehler -- nicht < 1*/ \ | ^~ qmvs.cc:304:7: note: in expansion of macro 'LOOP' 304 | LOOP(diff * diff); | ^~~~ qmvs.cc:279:30: error: 'Eins2' was not declared in this scope 279 | while(v1 < Eins1 || v2 < Eins2) { /* !! Rundungsfehler -- nicht < 1*/ \ | ^~~~~ qmvs.cc:304:7: note: in expansion of macro 'LOOP' 304 | LOOP(diff * diff); | ^~~~ qmvs.cc:283:10: error: 'sum' was not declared in this scope 283 | sum += X * (t1 - t); \ | ^~~ qmvs.cc:304:7: note: in expansion of macro 'LOOP' 304 | LOOP(diff * diff); | ^~~~ qmvs.cc:291:10: error: 'sum' was not declared in this scope 291 | sum += X * (t2 - t); \ | ^~~ qmvs.cc:304:7: note: in expansion of macro 'LOOP' 304 | LOOP(diff * diff); | ^~~~ qmvs.cc:279:11: error: 'v1' was not declared in this scope; did you mean 't1'? 279 | while(v1 < Eins1 || v2 < Eins2) { /* !! Rundungsfehler -- nicht < 1*/ \ | ^~ qmvs.cc:307:7: note: in expansion of macro 'LOOP' 307 | LOOP(POWER); | ^~~~ qmvs.cc:279:16: error: 'Eins1' was not declared in this scope 279 | while(v1 < Eins1 || v2 < Eins2) { /* !! Rundungsfehler -- nicht < 1*/ \ | ^~~~~ qmvs.cc:307:7: note: in expansion of macro 'LOOP' 307 | LOOP(POWER); | ^~~~ qmvs.cc:279:25: error: 'v2' was not declared in this scope; did you mean 't2'? 279 | while(v1 < Eins1 || v2 < Eins2) { /* !! Rundungsfehler -- nicht < 1*/ \ | ^~ qmvs.cc:307:7: note: in expansion of macro 'LOOP' 307 | LOOP(POWER); | ^~~~ qmvs.cc:279:30: error: 'Eins2' was not declared in this scope 279 | while(v1 < Eins1 || v2 < Eins2) { /* !! Rundungsfehler -- nicht < 1*/ \ | ^~~~~ qmvs.cc:307:7: note: in expansion of macro 'LOOP' 307 | LOOP(POWER); | ^~~~ qmvs.cc:283:10: error: 'sum' was not declared in this scope 283 | sum += X * (t1 - t); \ | ^~~ qmvs.cc:307:7: note: in expansion of macro 'LOOP' 307 | LOOP(POWER); | ^~~~ qmvs.cc:291:10: error: 'sum' was not declared in this scope 291 | sum += X * (t2 - t); \ | ^~~ qmvs.cc:307:7: note: in expansion of macro 'LOOP' 307 | LOOP(POWER); | ^~~~ qmvs.cc:312:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 312 | PROTECT(ans = allocVector(REALSXP, 1)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ qmvs.cc:314:18: error: 'sum' was not declared in this scope 314 | REAL(ans)[0] = sum; | ^~~ qmvs.cc: In function 'SEXPREC* queue1(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': qmvs.cc:325:10: error: 'ncols' was not declared in this scope 325 | N = ncols(AArrival), | ^~~~~ Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:339:29: note: in expansion of macro 'ERR0' 339 | if (N != ncols(SServing)) ERR0("not same number of cols"); | ^~~~ qmvs.cc:340:12: error: 'length' was not declared in this scope 340 | if (N != length(TPosition)) ERR0("number of cols does not match length"); | ^~~~~~ Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:340:31: note: in expansion of macro 'ERR0' 340 | if (N != length(TPosition)) ERR0("number of cols does not match length"); | ^~~~ qmvs.cc:341:7: error: 'k' was not declared in this scope 341 | if (k != nrows(SServing)) ERR0("not same number of rowss"); | ^ qmvs.cc:341:12: error: 'nrows' was not declared in this scope 341 | if (k != nrows(SServing)) ERR0("not same number of rowss"); | ^~~~~ Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:341:29: note: in expansion of macro 'ERR0' 341 | if (k != nrows(SServing)) ERR0("not same number of rowss"); | ^~~~ qmvs.cc:342:7: error: 'c' was not declared in this scope 342 | if (c > max_c) ERR0("too many servers"); | ^ Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:342:18: note: in expansion of macro 'ERR0' 342 | if (c > max_c) ERR0("too many servers"); | ^~~~ qmvs.cc:343:7: error: 'k' was not declared in this scope 343 | if (k > max_k) ERR0("too many customers"); | ^ Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:343:18: note: in expansion of macro 'ERR0' 343 | if (k > max_k) ERR0("too many customers"); | ^~~~ qmvs.cc:346:20: error: 'allocMatrix' was not declared in this scope; did you mean 'Rf_allocMatrix'? 346 | PROTECT(Result = allocMatrix(REALSXP, N, 5)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ qmvs.cc:349:29: error: 'k' was not declared in this scope 349 | int bytes = sizeof(int) * k, | ^ qmvs.cc:360:14: error: 'LL' was not declared in this scope; did you mean 'L'? 360 | int L = LL[simu]; // rbinom | ^~ | L qmvs.cc:373:19: error: 'Tposition' was not declared in this scope; did you mean 'tposition'? 373 | tposition = Tposition[simu], // R codierung | ^~~~~~~~~ | tposition qmvs.cc:389:22: error: 'orig_misidd' was not declared in this scope 389 | MEMCOPYX(misidd, orig_misidd + simu * k, bytes); | ^~~~~~~~~~~ qmvs.cc:390:23: error: 'bytes_ix' was not declared in this scope; did you mean 'bytes'? 390 | MEMSET(ix, UNSET, bytes_ix); | ^~~~~~~~ | bytes qmvs.cc:393:5: error: 'idx' was not declared in this scope; did you mean 'ix'? 393 | idx = UNSET; | ^~~ | ix qmvs.cc:395:7: error: 'sum' was not declared in this scope 395 | sum += misidd[i]; | ^~~ qmvs.cc:399:19: error: 'sum' was not declared in this scope 399 | if ((resp = sum != 0)) { | ^~~ qmvs.cc:400:9: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 400 | stopat = idx; | ^~~~~~ | strcat qmvs.cc:403:11: error: 'sum' was not declared in this scope 403 | if (sum==0) { | ^~~ qmvs.cc:404:21: error: 'misidt' was not declared in this scope; did you mean 'misidd'? 404 | if ((resp = misidt==0 && tposition<=L)) { | ^~~~~~ | misidd qmvs.cc:405:11: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 405 | stopat = tposition; | ^~~~~~ | strcat qmvs.cc:409:9: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 409 | stopat = misidt==0 ? MINI(idx, tposition) : idx; | ^~~~~~ | strcat qmvs.cc:409:18: error: 'misidt' was not declared in this scope; did you mean 'misidd'? 409 | stopat = misidt==0 ? MINI(idx, tposition) : idx; | ^~~~~~ | misidd qmvs.cc:413:22: error: 'c' was not declared in this scope 413 | for (int i=0; i<=c; el[i++]=RF_INF); | ^ qmvs.cc:419:19: error: 'c' was not declared in this scope 419 | double m = el[c] =//c:not a server, but the fact of entering a new customer | ^ qmvs.cc:424:30: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 424 | ((!resp && left < stopat) || (resp && depid!=stopat))) { | ^~~~~~ | strcat qmvs.cc:424:50: error: 'depid' was not declared in this scope 424 | ((!resp && left < stopat) || (resp && depid!=stopat))) { | ^~~~~ qmvs.cc:435:9: error: 'time' was not declared in this scope 435 | time = m; | ^~~~ qmvs.cc:435:9: note: 'time' is defined in header ''; did you forget to '#include '? qmvs.cc:444:30: error: 'serving' was not declared in this scope; did you mean 'Serving'? 444 | el[f] = time + serving[entered - 1] * mst; | ^~~~~~~ | Serving qmvs.cc:451:9: error: 'time' was not declared in this scope 451 | time = m; | ^~~~ qmvs.cc:451:9: note: 'time' is defined in header ''; did you forget to '#include '? Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ Basic_utils.h:230:13: note: in expansion of macro 'ERR0' 230 | #define BUG ERR0("unexpected error occurred\n"); | ^~~~ qmvs.cc:456:25: note: in expansion of macro 'BUG' 456 | if (depid <= 0) BUG; | ^~~ qmvs.cc:467:26: error: 'serving' was not declared in this scope; did you mean 'Serving'? 467 | el[f] = time + serving[ix[f] - 1] * mst; | ^~~~~~~ | Serving qmvs.cc:489:26: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 489 | if (resp) srt = out2[stopat]; | ^~~~~~ | strcat Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:491:7: note: in expansion of macro 'ERR0' 491 | ERR0("programming error\n"); | ^~~~ qmvs.cc:493:16: error: 'time' was not declared in this scope 493 | if (srt != time) ERR0("Strange error -- please contact maintainer."); | ^~~~ qmvs.cc:493:16: note: 'time' is defined in header ''; did you forget to '#include '? Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:493:22: note: in expansion of macro 'ERR0' 493 | if (srt != time) ERR0("Strange error -- please contact maintainer."); | ^~~~ qmvs.cc:337:7: warning: unused variable 'Serving' [-Wunused-variable] 337 | *Serving = REAL(SServing); | ^~~~~~~ qmvs.cc: In function 'SEXPREC* queue2(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': qmvs.cc:513:10: error: 'ncols' was not declared in this scope 513 | N = ncols(AArrival), | ^~~~~ Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:527:29: note: in expansion of macro 'ERR0' 527 | if (N != ncols(SServing)) ERR0("not same number of cols"); | ^~~~ qmvs.cc:528:12: error: 'length' was not declared in this scope 528 | if (N != length(TPosition)) ERR0("number of cols does not match length"); | ^~~~~~ Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:528:31: note: in expansion of macro 'ERR0' 528 | if (N != length(TPosition)) ERR0("number of cols does not match length"); | ^~~~ qmvs.cc:529:7: error: 'k' was not declared in this scope 529 | if (k != nrows(SServing)) ERR0("not same number of rowss"); | ^ qmvs.cc:529:12: error: 'nrows' was not declared in this scope 529 | if (k != nrows(SServing)) ERR0("not same number of rowss"); | ^~~~~ Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:529:29: note: in expansion of macro 'ERR0' 529 | if (k != nrows(SServing)) ERR0("not same number of rowss"); | ^~~~ qmvs.cc:530:7: error: 'c' was not declared in this scope 530 | if (c > max_c) ERR0("too many servers"); | ^ Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:530:18: note: in expansion of macro 'ERR0' 530 | if (c > max_c) ERR0("too many servers"); | ^~~~ qmvs.cc:531:7: error: 'k' was not declared in this scope 531 | if (k > max_k) ERR0("too many customers"); | ^ Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:531:18: note: in expansion of macro 'ERR0' 531 | if (k > max_k) ERR0("too many customers"); | ^~~~ qmvs.cc:534:20: error: 'allocMatrix' was not declared in this scope; did you mean 'Rf_allocMatrix'? 534 | PROTECT(Result = allocMatrix(REALSXP, N, 5)); | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ qmvs.cc:537:29: error: 'k' was not declared in this scope 537 | int bytes = sizeof(int) * k, | ^ qmvs.cc:551:14: error: 'LL' was not declared in this scope; did you mean 'L'? 551 | int L = LL[simu]; // rbinom | ^~ | L qmvs.cc:564:19: error: 'Tposition' was not declared in this scope; did you mean 'tposition'? 564 | tposition = Tposition[simu], // R codierung | ^~~~~~~~~ | tposition qmvs.cc:580:22: error: 'orig_misidd' was not declared in this scope 580 | MEMCOPYX(misidd, orig_misidd + simu * k, bytes); | ^~~~~~~~~~~ qmvs.cc:581:23: error: 'bytes_ix' was not declared in this scope; did you mean 'bytes'? 581 | MEMSET(ix, UNSET, bytes_ix); | ^~~~~~~~ | bytes qmvs.cc:584:5: error: 'idx' was not declared in this scope; did you mean 'ix'? 584 | idx = UNSET; | ^~~ | ix qmvs.cc:586:7: error: 'sum' was not declared in this scope 586 | sum += misidd[i]; | ^~~ qmvs.cc:590:19: error: 'sum' was not declared in this scope 590 | if ((resp = sum != 0)) { | ^~~ qmvs.cc:591:9: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 591 | stopat = idx; | ^~~~~~ | strcat qmvs.cc:594:11: error: 'sum' was not declared in this scope 594 | if (sum==0) { | ^~~ qmvs.cc:595:21: error: 'misidt' was not declared in this scope; did you mean 'misidd'? 595 | if ((resp = misidt==0 && tposition<=L)) { | ^~~~~~ | misidd qmvs.cc:596:11: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 596 | stopat = tposition; | ^~~~~~ | strcat qmvs.cc:600:9: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 600 | stopat = misidt==0 ? MINI(idx, tposition) : idx; | ^~~~~~ | strcat qmvs.cc:600:18: error: 'misidt' was not declared in this scope; did you mean 'misidd'? 600 | stopat = misidt==0 ? MINI(idx, tposition) : idx; | ^~~~~~ | misidd qmvs.cc:604:22: error: 'c' was not declared in this scope 604 | for (int i=0; i<=c; el[i++]=RF_INF); | ^ qmvs.cc:610:19: error: 'c' was not declared in this scope 610 | double m = el[c] =//c:not a server, but the fact of entering a new customer | ^ qmvs.cc:615:30: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 615 | ((!resp && left < stopat) || (resp && depid!=stopat))) { | ^~~~~~ | strcat qmvs.cc:615:50: error: 'depid' was not declared in this scope 615 | ((!resp && left < stopat) || (resp && depid!=stopat))) { | ^~~~~ qmvs.cc:626:9: error: 'time' was not declared in this scope 626 | time = m; | ^~~~ qmvs.cc:626:9: note: 'time' is defined in header ''; did you forget to '#include '? qmvs.cc:635:30: error: 'serving' was not declared in this scope; did you mean 'Serving'? 635 | el[f] = time + serving[entered - 1] * mst; | ^~~~~~~ | Serving qmvs.cc:642:9: error: 'time' was not declared in this scope 642 | time = m; | ^~~~ qmvs.cc:642:9: note: 'time' is defined in header ''; did you forget to '#include '? Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ Basic_utils.h:230:13: note: in expansion of macro 'ERR0' 230 | #define BUG ERR0("unexpected error occurred\n"); | ^~~~ qmvs.cc:647:25: note: in expansion of macro 'BUG' 647 | if (depid <= 0) BUG; | ^~~ qmvs.cc:658:26: error: 'serving' was not declared in this scope; did you mean 'Serving'? 658 | el[f] = time + serving[ix[f] - 1] * mst; | ^~~~~~~ | Serving qmvs.cc:680:26: error: 'stopat' was not declared in this scope; did you mean 'strcat'? 680 | if (resp) srt = out2[stopat]; | ^~~~~~ | strcat Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:682:7: note: in expansion of macro 'ERR0' 682 | ERR0("programming error\n"); | ^~~~ qmvs.cc:684:16: error: 'time' was not declared in this scope 684 | if (srt != time) ERR0("strange error --- please contact maintainer"); | ^~~~ qmvs.cc:684:16: note: 'time' is defined in header ''; did you forget to '#include '? Basic_utils.h:71:17: error: 'error' was not declared in this scope; did you mean 'perror'? 71 | #define RFERROR error | ^~~~~ errors_messages.h:52:27: note: in expansion of macro 'RFERROR' 52 | #define ERR0(X) {ERRLINE; RFERROR(X);} | ^~~~~~~ qmvs.cc:684:22: note: in expansion of macro 'ERR0' 684 | if (srt != time) ERR0("strange error --- please contact maintainer"); | ^~~~ qmvs.cc:525:7: warning: unused variable 'Serving' [-Wunused-variable] 525 | *Serving = REAL(SServing); | ^~~~~~~ make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:200: qmvs.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/qmvs/src' ERROR: compilation failed for package ‘qmvs’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/qmvs-lib/qmvs’ Command exited with non-zero status 1 Time 0:01.99, 1.64 + 0.25