[ 
https://issues.apache.org/jira/browse/ARROW-8620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wes McKinney closed ARROW-8620.
-------------------------------
    Resolution: Duplicate

Dup of ARROW-8608

> arrow header compiler error using nvcc
> --------------------------------------
>
>                 Key: ARROW-8620
>                 URL: https://issues.apache.org/jira/browse/ARROW-8620
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 0.17.0
>         Environment: ubuntu 18.04
> nvcc 9.1
>            Reporter: Committer
>            Priority: Minor
>
> I am using arrow api form the document
> https://arrow.apache.org/docs/developers/cpp/building.html#system-setup
> it works find
> I combine my CUDA code with arrow header the error appears
> nvcc main.cu -o -larrow
> Both my arrow code and CUDA code can compile correctly,put then together the 
> error appears 
>  
> {code:java}
> /usr/local/include/arrow/vendored/variant.hpp:2381:109: error: expansion 
> pattern 'Dummy' contains no argument packs
>      template <bool Dummy = true,
>                                                                               
>                                
> /usr/local/include/arrow/vendored/variant.hpp:2381:278: error: template 
> argument 3 is invalid
>      template <bool Dummy = true,
>                                                                               
>                                                                               
>                                                                               
>                                             
> /usr/local/include/arrow/vendored/variant.hpp:2381:316: error: expansion 
> pattern 'Dummy' contains no argument packs
>      template <bool Dummy = true,
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>     
> /usr/local/include/arrow/vendored/variant.hpp:2381:491: error: template 
> argument 2 is invalid
>      template <bool Dummy = true,
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                        
> /usr/local/include/arrow/vendored/variant.hpp:2381:493: error: template 
> argument 1 is invalid
>      template <bool Dummy = true,
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                      
> /usr/local/include/arrow/vendored/variant.hpp:2381:493: error: template 
> argument 2 is invalid
> /usr/local/include/arrow/vendored/variant.hpp:2381:507: error: template 
> argument 1 is invalid
>      template <bool Dummy = true,
> {code}



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

Reply via email to