jonkeane commented on pull request #11360:
URL: https://github.com/apache/arrow/pull/11360#issuecomment-997087361
This seemed to work, with the exception of rtools35 which looks like maybe a
namespace issue we can fix. I'll take a look next week unless @romainfrancois
beats me to it / knows off the top of his head what might be going on here.
```
altrep.cpp:245:31: error: 'na' is not a member of 'cpp11'
return array->IsNull(j) ? cpp11::na<c_type>()
^
altrep.cpp:245:47: error: expected primary-expression before '>' token
return array->IsNull(j) ? cpp11::na<c_type>()
^
altrep.cpp:245:49: error: expected primary-expression before ')' token
return array->IsNull(j) ? cpp11::na<c_type>()
^
altrep.cpp: In static member function 'static R_xlen_t
arrow::r::altrep::{anonymous}::AltrepVectorPrimitive<sexp_type>::Get_region(SEXP,
R_xlen_t, R_xlen_t,
arrow::r::altrep::{anonymous}::AltrepVectorPrimitive<sexp_type>::c_type*)':
altrep.cpp:283:22: error: 'na' is not a member of 'cpp11'
out[j] = cpp11::na<c_type>();
^
altrep.cpp:283:38: error: expected primary-expression before '>' token
out[j] = cpp11::na<c_type>();
^
altrep.cpp:283:40: error: expected primary-expression before ')' token
out[j] = cpp11::na<c_type>();
^
altrep.cpp: In static member function 'static SEXPREC*
arrow::r::altrep::{anonymous}::AltrepVectorPrimitive<sexp_type>::MinMax(SEXP,
Rboolean)':
altrep.cpp:316:29: error: 'na' is not a member of 'cpp11'
return cpp11::as_sexp(cpp11::na<data_type>());
^
altrep.cpp:316:48: error: expected primary-expression before '>' token
return cpp11::as_sexp(cpp11::na<data_type>());
^
altrep.cpp:316:50: error: expected primary-expression before ')' token
return cpp11::as_sexp(cpp11::na<data_type>());
^
altrep.cpp: In static member function 'static SEXPREC*
arrow::r::altrep::{anonymous}::AltrepVectorPrimitive<sexp_type>::Sum(SEXP,
Rboolean)':
altrep.cpp:343:29: error: 'na' is not a member of 'cpp11'
return cpp11::as_sexp(cpp11::na<data_type>());
^
altrep.cpp:343:48: error: expected primary-expression before '>' token
return cpp11::as_sexp(cpp11::na<data_type>());
^
altrep.cpp:343:50: error: expected primary-expression before ')' token
return cpp11::as_sexp(cpp11::na<data_type>());
^
altrep.cpp: In static member function 'static
arrow::r::altrep::{anonymous}::AltrepVectorPrimitive<sexp_type>::c_type
arrow::r::altrep::{anonymous}::AltrepVectorPrimitive<sexp_type>::Elt(SEXP,
R_xlen_t) [with int sexp_type = 14;
arrow::r::altrep::{anonymous}::AltrepVectorPrimitive<sexp_type>::c_type =
double; SEXP = SEXPREC*; R_xlen_t = int]':
altrep.cpp:247:3: error: control reaches end of non-void function
[-Werror=return-type]
}
^
altrep.cpp: In static member function 'static
arrow::r::altrep::{anonymous}::AltrepVectorPrimitive<sexp_type>::c_type
arrow::r::altrep::{anonymous}::AltrepVectorPrimitive<sexp_type>::Elt(SEXP,
R_xlen_t) [with int sexp_type = 13;
arrow::r::altrep::{anonymous}::AltrepVectorPrimitive<sexp_type>::c_type = int;
SEXP = SEXPREC*; R_xlen_t = int]':
altrep.cpp:247:3: error: control reaches end of non-void function
[-Werror=return-type]
}
^
cc1plus.exe: all warnings being treated as errors
```
https://github.com/apache/arrow/runs/4550863089?check_suite_focus=true#step:17:574
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]