h-vetinari commented on issue #45033:
URL: https://github.com/apache/arrow/issues/45033#issuecomment-6558089378
For arrow v26 and otel v1.30:
```
[743/1008] Building CXX object
src\arrow\flight\sql\CMakeFiles\flight-sql-test-app.dir\test_app_cli.cc.obj
FAILED: [code=2]
src/arrow/flight/sql/CMakeFiles/flight-sql-test-app.dir/test_app_cli.cc.obj
"C:\Program Files\Microsoft Visual
Studio\2022\Enterprise\VC\Tools\MSVC\14.44.35207\bin\Hostx64\x64\cl.exe"
/nologo /TP -DABSL_CONSUME_DLL -DARROW_HAVE_RUNTIME_AVX2
-DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2
-DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DENABLE_HTTP_CLIENT_CURL
-DGFLAGS_IS_A_DLL=1 -DGPR_DLL_IMPORTS -DGRPCXX_DLL_IMPORTS -DGRPC_DLL_IMPORTS
-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 -DHAVE_MSGPACK
-DOPENTELEMETRY_ABI_VERSION_NO=1
-DOPENTELEMETRY_PROTO_API=__declspec(dllimport) -DPROTOBUF_USE_DLLS
-DUSE_IMPORT_EXPORT -D_CRT_SECURE_NO_WARNINGS -I%SRC_DIR%\cpp\build\src
-I%SRC_DIR%\cpp\src -external:I%PREFIX%\Library\include
-external:I%SRC_DIR%\cpp\thirdparty\flatbuffers\include -external:W0 -DNOMINMAX
/DWIN32 /D_WINDOWS /EHsc /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING /EHsc
/Zc:preprocessor /bigobj /u
tf-8 /W3 /wd4800 /wd4996 /wd4
%SRC_DIR%\cpp\src\arrow/telemetry/logging.h(48): warning C4275: non
dll-interface class 'arrow::util::Logger' used as base for dll-interface class
'arrow::telemetry::OtelLogger'
%SRC_DIR%\cpp\src\arrow/util/logger.h(50): note: see declaration of
'arrow::util::Logger'
%SRC_DIR%\cpp\src\arrow/telemetry/logging.h(48): note: see declaration of
'arrow::telemetry::OtelLogger'
%SRC_DIR%\cpp\src\arrow\flight\sql\test_app_cli.cc(66): error C3927: '->':
trailing return type is not allowed after a non-function declarator
%SRC_DIR%\cpp\src\arrow\flight\sql\test_app_cli.cc(66): error C3484: syntax
error: expected '->' before the return type
%SRC_DIR%\cpp\src\arrow\flight\sql\test_app_cli.cc(66): error C3613: missing
return type after '->' ('int' assumed)
%SRC_DIR%\cpp\src\arrow\flight\sql\test_app_cli.cc(66): error C2146: syntax
error: missing ';' before identifier 'S_un_b'
%SRC_DIR%\cpp\src\arrow\flight\sql\test_app_cli.cc(66): error C4430: missing
type specifier - int assumed. Note: C++ does not support default-int
%SRC_DIR%\cpp\src\arrow\flight\sql\test_app_cli.cc(66): error C2146: syntax
error: missing ';' before identifier 's_b2'
%SRC_DIR%\cpp\src\arrow\flight\sql\test_app_cli.cc(66): error C2039:
'S_un_b': is not a member of 'fLS::<unnamed-type-S_un>'
%SRC_DIR%\cpp\src\arrow\flight\sql\test_app_cli.cc(66): note: see
declaration of 'fLS::<unnamed-type-S_un>'
%SRC_DIR%\cpp\src\arrow\flight\sql\test_app_cli.cc(66): error C2737:
'fLS::FLAGS_nohost': const object must be initialized
%SRC_DIR%\cpp\src\arrow\flight\sql\test_app_cli.cc(66): error C2512:
'fLS::StringFlagDestructor::StringFlagDestructor': no appropriate default
constructor available
%SRC_DIR%\cpp\src\arrow\flight\sql\test_app_cli.cc(66): note: while trying
to match the argument list '()'
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]