[ 
https://issues.apache.org/jira/browse/ARROW-6886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16953183#comment-16953183
 ] 

Paul Taylor commented on ARROW-6886:
------------------------------------

[~apitrou] Yeah this warning is benign, but the team is moving towards a 
zero-tolerance policy for compilation warnings. I'm looking into a fix now, 
hopefully can have a PR ready in time for 0.15.1.

These headers are included by some of our cuda files, so here's the full 
command as generated by cmake:

{noformat}
/usr/local/cuda-10.0/bin/nvcc 
 -DARROW_METADATA_V4
 -Dcudf_EXPORTS
 -Igoogletest/install/include
 -Iinclude
 -I../include
 -I../src
 -I../thirdparty/cub
 -I../thirdparty/jitify
 -I../thirdparty/libcudacxx/include
 -Iarrow/install/include
 -Iarrow/build/flatbuffers_ep-prefix/src/flatbuffers_ep-install/include
 -I/home/ptaylor/dev/rapids/compose/etc/conda/envs/rapids/include  
 -gencode arch=compute_75,code=sm_75
 -gencode arch=compute_75,code=compute_75
 --expt-extended-lambda
 --expt-relaxed-constexpr
 -Werror cross-execution-space-call
 -Xcompiler
 -Wall,-Werror
 --define-macro HT_LEGACY_ALLOCATOR
 -O3
 -DNDEBUG
 -Xcompiler=-fPIC  
 -DJITIFY_USE_CACHE
 -DCUDF_VERSION=0.11.0
 -std=c++14
 -x cu
 -x cuda
 -c /home/ptaylor/dev/rapids/cudf/cpp/src/io/avro/avro_reader_impl.cu
 -o CMakeFiles/cudf.dir/src/io/avro/avro_reader_impl.cu.o && 
/usr/local/cuda-10.0/bin/nvcc 
 -DARROW_METADATA_V4
 -Dcudf_EXPORTS
 -Igoogletest/install/include
 -Iinclude
 -I../include
 -I../src
 -I../thirdparty/cub
 -I../thirdparty/jitify
 -I../thirdparty/libcudacxx/include
 -Iarrow/install/include
 -Iarrow/build/flatbuffers_ep-prefix/src/flatbuffers_ep-install/include
 -I/home/ptaylor/dev/rapids/compose/etc/conda/envs/rapids/include  
 -gencode arch=compute_75,code=sm_75
 -gencode arch=compute_75,code=compute_75
 --expt-extended-lambda
 --expt-relaxed-constexpr
 -Werror cross-execution-space-call
 -Xcompiler
 -Wall,-Werror
 --define-macro HT_LEGACY_ALLOCATOR
 -O3
 -DNDEBUG
 -Xcompiler=-fPIC  
 -DJITIFY_USE_CACHE
 -DCUDF_VERSION=0.11.0
 -std=c++14
 -x cu
 -x cuda
 -M /home/ptaylor/dev/rapids/cudf/cpp/src/io/avro/avro_reader_impl.cu
 -MT CMakeFiles/cudf.dir/src/io/avro/avro_reader_impl.cu.o
 -o $DEP_FILE
{noformat}


> [C++] arrow::io header nvcc compiler warnings
> ---------------------------------------------
>
>                 Key: ARROW-6886
>                 URL: https://issues.apache.org/jira/browse/ARROW-6886
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 0.15.0
>            Reporter: Paul Taylor
>            Priority: Trivial
>
> Seeing the following compiler warnings statically linking the arrow::io 
> headers with nvcc:
> {noformat}
> arrow/install/include/arrow/io/file.h(189): warning: overloaded virtual 
> function "arrow::io::Writable::Write" is only partially overridden in class 
> "arrow::io::MemoryMappedFile"
> arrow/install/include/arrow/io/memory.h(98): warning: overloaded virtual 
> function "arrow::io::Writable::Write" is only partially overridden in class 
> "arrow::io::MockOutputStream"
> arrow/install/include/arrow/io/memory.h(116): warning: overloaded virtual 
> function "arrow::io::Writable::Write" is only partially overridden in class 
> "arrow::io::FixedSizeBufferWriter"
> arrow/install/include/arrow/io/file.h(189): warning: overloaded virtual 
> function "arrow::io::Writable::Write" is only partially overridden in class 
> "arrow::io::MemoryMappedFile"
> arrow/install/include/arrow/io/memory.h(98): warning: overloaded virtual 
> function "arrow::io::Writable::Write" is only partially overridden in class 
> "arrow::io::MockOutputStream"
> arrow/install/include/arrow/io/memory.h(116): warning: overloaded virtual 
> function "arrow::io::Writable::Write" is only partially overridden in class 
> "arrow::io::FixedSizeBufferWriter"
> arrow/install/include/arrow/io/file.h(189): warning: overloaded virtual 
> function "arrow::io::Writable::Write" is only partially overridden in class 
> "arrow::io::MemoryMappedFile"
> arrow/install/include/arrow/io/memory.h(98): warning: overloaded virtual 
> function "arrow::io::Writable::Write" is only partially overridden in class 
> "arrow::io::MockOutputStream"
> arrow/install/include/arrow/io/memory.h(116): warning: overloaded virtual 
> function "arrow::io::Writable::Write" is only partially overridden in class 
> "arrow::io::FixedSizeBufferWriter"
> {noformat}



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

Reply via email to