raulcd opened a new issue, #47440: URL: https://github.com/apache/arrow/issues/47440
### Describe the bug, including details regarding any error messages, version, and platform. The C++ Windows MinGW jobs have started failing with a gflags issue: ``` FAILED: [code=1] src/arrow/flight/CMakeFiles/flight-test-server.dir/test_server.cc.obj D:\a\_temp\msys64\mingw64\bin\ccache.exe D:\a\_temp\msys64\mingw64\bin\c++.exe -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DGRPC_ENABLE_ASYNC -DGRPC_NAMESPACE_FOR_TLS_CREDENTIALS_OPTIONS=grpc::experimental -DGRPC_USE_CERTIFICATE_VERIFIER -DGRPC_USE_TLS_CHANNEL_CREDENTIALS_OPTIONS -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DPROTOBUF_USE_DLLS -DUSE_IMPORT_EXPORT -D_CRT_SECURE_NO_WARNINGS -ID:/a/arrow/arrow/build/cpp/src -ID:/a/arrow/arrow/cpp/src -ID:/a/arrow/arrow/cpp/src/generated -isystem D:/a/arrow/arrow/cpp/thirdparty/flatbuffers/include -Wredundant-move -Wno-noexcept-type -Wno-self-move -fdiagnostics-color=always -Wa,-mbig-obj -Wall -Wno-conversion -Wno-sign-conversion -Wdate-time -Wimplicit-fallthrough -Wunused-result -fno-semantic-interposition -mxsave -msse4.2 -O3 -DNDEBUG -O2 -ftree-vectorize -std=c++17 -MD -MT src/arrow/flight/CMakeFiles/flight-test-server.dir/test_server.cc.obj -MF src\arrow\flight\CMakeFiles\flight-t est-server.dir\test_server.cc.obj.d -o src/arrow/flight/CMakeFiles/flight-test-server.dir/test_server.cc.obj -c D:/a/arrow/arrow/cpp/src/arrow/flight/test_server.cc In file included from D:/a/_temp/msys64/mingw64/include/gflags/gflags.h:84, from D:/a/arrow/arrow/cpp/src/arrow/flight/test_server.cc:26: D:/a/_temp/msys64/mingw64/include/gflags/gflags_declare.h:59:23: error: operator '&&' has no left operand 59 | # if GFLAGS_IS_A_DLL && defined(_MSC_VER) | ^~ D:/a/_temp/msys64/mingw64/include/gflags/gflags_declare.h:70:23: error: operator '&&' has no left operand 70 | # if GFLAGS_IS_A_DLL && defined(_MSC_VER) | ^~ D:/a/_temp/msys64/mingw64/include/gflags/gflags.h:89:23: error: operator '&&' has no left operand 89 | # if GFLAGS_IS_A_DLL && defined(_MSC_VER) | ^~ ``` This is happening both on PRs and main: - [AMD64 Windows MinGW MINGW64 C++](https://github.com/apache/arrow/actions/runs/17261153661/job/48982707334#logs) - [AMD64 Windows MinGW CLANG64 C++](https://github.com/apache/arrow/actions/runs/17261153661/job/48982707351#logs) There was a new commit for the gflags package yesterday which potentially could be related: - https://github.com/msys2/MINGW-packages/commit/77b9bfb06e085801b884abd2b2634882d8b36f1e The failing gflags: mingw-w64-x86_64-gflags-2.2.2-6-any successful gflags: mingw-w64-x86_64-gflags-2.2.2-4-any ### Component(s) C++, Continuous Integration -- 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