xhochy commented on pull request #8371:
URL: https://github.com/apache/arrow/pull/8371#issuecomment-705578867
Windows fails with
```
In file included from arrowExports.cpp:2:
In file included from
D:/bld/r-arrow_1602163814614/_h_env/Lib/R/library/cpp11/include\cpp11.hpp:5:
In file included from
D:/bld/r-arrow_1602163814614/_h_env/Lib/R/library/cpp11/include\cpp11/as.hpp:5:
In file included from C:\Program Files (x86)\Microsoft Visual
Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include\memory:6:
C:\Program Files (x86)\Microsoft Visual
Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include\xmemory:217:75: error:
indirection requires pointer operand ('const
cpp11::r_vector<int>::const_iterator' invalid)
_Uses_default_construct_t<_Alloc,
decltype(_Unfancy(_UDest)), decltype(*_UFirst)>()));
^~~~~~~~
C:\Program Files (x86)\Microsoft Visual
Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include\vector:1823:11: note:
in instantiation of function template specialization
'std::_Uninitialized_copy<cpp11::r_vector<int>::const_iterator, int *,
std::allocator<int> >' requested here
return (_Uninitialized_copy(_First, _Last, _Dest,
this->_Getal()));
^
C:\Program Files (x86)\Microsoft Visual
Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include\vector:708:22: note:
in instantiation of function template specialization 'std::vector<int,
std::allocator<int> >::_Ucopy<cpp11::r_vector<int>::const_iterator>' requested
here
this->_Mylast() = _Ucopy(_First, _Last,
this->_Myfirst());
^
C:\Program Files (x86)\Microsoft Visual
Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include\vector:723:3: note: in
instantiation of function template specialization 'std::vector<int,
std::allocator<int>
>::_Range_construct_or_tidy<cpp11::r_vector<int>::const_iterator>' requested
here
_Range_construct_or_tidy(_Get_unwrapped(_First),
_Get_unwrapped(_Last), _Iter_cat_t<_Iter>{});
^
D:/bld/r-arrow_1602163814614/_h_env/Lib/R/library/cpp11/include\cpp11/r_vector.hpp:945:10:
note: in instantiation of function template specialization 'std::vector<int,
std::allocator<int> >::vector<cpp11::r_vector<int>::const_iterator, void>'
requested here
return {obj.begin(), obj.end()};
^
././arrow_cpp11.h:217:57: note: in instantiation of function template
specialization 'cpp11::as_cpp<std::vector<int, std::allocator<int> >, int>'
requested here
explicit ConstReferenceInput(SEXP from) : obj_(cpp11::as_cpp<T>(from)) {}
^
arrowExports.cpp:4411:49: note: in instantiation of member function
'arrow::r::ConstReferenceInput<std::vector<int, std::allocator<int> >
>::ConstReferenceInput' requested here
arrow::r::Input<const std::vector<int>&>::type
column_indices(column_indices_sexp);
^
1 error generated.
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]