Skip to content

[R][CI] Windows job failing after R 4.4 release #41398

@nealrichardson

Description

@nealrichardson

Describe the bug, including details regarding any error messages, version, and platform.

See https://github.com/apache/arrow/actions/runs/8849047421/job/24301450969#step:12:83 for example (on main).

g++  -std=gnu++17 -I"C:/R/include" -DNDEBUG -I../windows/arrow-16.0.0.9000/include -DARROW_STATIC -DPARQUET_STATIC -DARROW_DS_STATIC               -DARROW_ACERO_STATIC -DARROW_R_WITH_PARQUET -DARROW_R_WITH_ACERO               -DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS -Werror -I'D:/a/_temp/Library/cpp11/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c extension-impl.cpp -o extension-impl.o
In file included from ../windows/arrow-16.0.0.9000/include/arrow/scalar.h:32,
                 from ../windows/arrow-16.0.0.9000/include/arrow/datum.h:29,
                 from ../windows/arrow-16.0.0.9000/include/arrow/compute/api_aggregate.h:26,
                 from ../windows/arrow-16.0.0.9000/include/arrow/acero/options.h:28,
                 from ./arrow_types.h:38,
                 from extension-impl.cpp:18:
../windows/arrow-16.0.0.9000/include/arrow/extension_type.h:53:15: error: 'virtual std::string arrow::ExtensionType::ToString(bool) const' was hidden [-Werror=overloaded-virtual=]
   53 |   std::string ToString(bool show_metadata = false) const override;
      |               ^~~~~~~~
In file included from extension-impl.cpp:26:
./extension.h:55:15: note:   by 'std::string RExtensionType::ToString() const'
   55 |   std::string ToString() const;
      |               ^~~~~~~~

I'm guessing that RTools 4.4 ships with a newer compiler/toolchain and this is throwing the warning (turned into an error by -Werror). Note C:/rtools44/ in the include paths.

FYI @assignUser

Component(s)

Continuous Integration, R

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions