You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Ian Cook (Jira)" <ji...@apache.org> on 2021/06/01 15:10:00 UTC

[jira] [Created] (ARROW-12918) [C++] Build errors with Visual Studio 16.10.31321.278

Ian Cook created ARROW-12918:
--------------------------------

             Summary: [C++] Build errors with Visual Studio 16.10.31321.278
                 Key: ARROW-12918
                 URL: https://issues.apache.org/jira/browse/ARROW-12918
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
    Affects Versions: 4.0.1
            Reporter: Ian Cook


The {{test-build-vcpkg-win}} CI job uses the current {{windows-2019}} GHA runner image, so it often catches build errors caused by MSVC updates.

The Visual Studio version in this image was just updated from *16.**9.31229.75* to *16.10.31321.278* as shown at [https://github.com/actions/virtual-environments/pull/3452/files)]. This seems to have triggered a new error:
{code:java}
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30037\include\xutility(1232,54): error C2794: 'reference': is not a member of any direct or indirect base class of 'std::iterator_traits<_Iter>' [D:\a\crossbow\crossbow\arrow\cpp\build\src\arrow\arrow-stl-test.vcxproj]
          with
          [
              _Iter=arrow::stl::ArrayIterator<arrow::BaseBinaryArray<arrow::BinaryType>,arrow::stl::detail::DefaultValueAccessor<arrow::BaseBinaryArray<arrow::BinaryType>>>
          ] {code}
Full log: [https://github.com/ursacomputing/crossbow/runs/2716032508]

Log from the same CI job just before this update, showing no errors: [https://github.com/ursacomputing/crossbow/runs/2708195132]

There are no apache/arrow commits or vcpkg port updates changes that would explain this error so I strongly suspect it was caused by the Visual Studio update.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)