pitrou opened a new issue, #42139:
URL: https://github.com/apache/arrow/issues/42139
### Describe the bug, including details regarding any error messages,
version, and platform.
I get these warnings when compiling in `RelWithDebInfo` mode. These are
probably harmless but it would be good to silence them anyway:
```
[265/572] Building CXX object
src/arrow/CMakeFiles/arrow_objlib.dir/c/bridge.cc.o
/home/antoine/arrow/dev/cpp/src/arrow/c/bridge.cc: In member function
'arrow::Status arrow::{anonymous}::ArrayExporter::Export(const
std::shared_ptr<arrow::ArrayData>&)':
/home/antoine/arrow/dev/cpp/src/arrow/c/bridge.cc:540:33: warning:
'<unnamed>.arrow::<unnamed>::ArrayExporter::export_.arrow::{anonymous}::ExportedArrayPrivateData::dictionary_'
may be used uninitialized [-Wmaybe-uninitialized]
540 | ARROW_DEFAULT_MOVE_AND_ASSIGN(ExportedArrayPrivateData);
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/antoine/arrow/dev/cpp/src/arrow/c/bridge.cc:620:68: note:
'<anonymous>' declared here
620 |
child_exporters_.emplace_back(ArrayExporter{device_interface_});
| ^
[465/572] Building CXX object
src/arrow/gpu/CMakeFiles/arrow-gpu-cuda-benchmark.dir/cuda_benchmark.cc.o
/home/antoine/arrow/dev/cpp/src/arrow/gpu/cuda_benchmark.cc: In function
'void arrow::cuda::CudaBufferWriterBenchmark(benchmark::State&, int64_t,
int64_t, int64_t)':
/home/antoine/arrow/dev/cpp/src/arrow/gpu/cuda_benchmark.cc:42:35: warning:
'manager' may be used uninitialized [-Wmaybe-uninitialized]
42 | ABORT_NOT_OK(manager->GetContext(kGpuNumber).Value(&context));
| ^
/home/antoine/arrow/dev/cpp/src/arrow/gpu/cuda_benchmark.cc:39:22: note:
'manager' was declared here
39 | CudaDeviceManager* manager;
| ^~~~~~~
```
### Component(s)
C++
--
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]