h-vetinari opened a new issue, #43398:
URL: https://github.com/apache/arrow/issues/43398

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   In conda-forge, we didn't have windows builds for R>4.1 for a while (needed 
large infrastructural changes), but now that it's sorted, we're having trouble 
getting the builds for r-arrow back on track. They were dropped completely for 
v16, and now, trying to 
[re-add](https://github.com/conda-forge/r-arrow-feedstock/pull/84) them runs 
into compilation errors:
   ```
   In file included from altrep.cpp:18:
   In file included from .\./arrow_types.h:22:
   In file included from .\.\./arrow_cpp11.h:20:
   In file included from C:\Program Files\Microsoft Visual 
Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\include\memory:14:
   In file included from C:\Program Files\Microsoft Visual 
Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\include\xmemory:15:
   C:\Program Files\Microsoft Visual 
Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\include\xutility:1408:13: 
error: object of type 'cpp11::writable::r_vector<double>::iterator' cannot be 
assigned because its copy assignment operator is implicitly deleted
    1408 |         _It = _STD forward<_UIter>(_UIt);
         |             ^
   C:\Program Files\Microsoft Visual 
Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\include\algorithm:3556:10: 
note: in instantiation of function template specialization 
'std::_Seek_wrapped<cpp11::writable::r_vector<double>::iterator, 
cpp11::writable::r_vector<double>::iterator &>' requested here
    3556 |     _STD _Seek_wrapped(_Dest, _UDest);
         |          ^
   
D:/bld/r-arrow_1721706669778/_h_env/lib/R/library/cpp11/include\cpp11/doubles.hpp:149:10:
 note: in instantiation of function template specialization 
'std::transform<cpp11::r_vector<int>::const_iterator, 
cpp11::writable::r_vector<double>::iterator, (lambda at 
D:\bld\r-arrow_1721706669778\_h_env\lib\R\library\cpp11\include\cpp11\doubles.hpp:149:55)>'
 requested here
     149 |     std::transform(xn.begin(), xn.end(), ret.begin(), [](int value) {
         |          ^
   
D:/bld/r-arrow_1721706669778/_h_env/lib/R/library/cpp11/include\cpp11/r_vector.hpp:263:21:
 note: copy assignment operator of 'iterator' is implicitly deleted because 
field 'data_' is of reference type 'const r_vector<double> &'
     263 |     const r_vector& data_;
         |                     ^
   ```
   
   This is with the combination of clang (more specifically 
[`r_clang_win-64`](https://github.com/conda-forge/r_clang_activation-feedstock))
 + MSVC's C++ STL.
   
   ### Component(s)
   
   Packaging, R


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to