Jeroen created ARROW-7050:
-----------------------------

             Summary: [R] Compiler warning in R bindings
                 Key: ARROW-7050
                 URL: https://issues.apache.org/jira/browse/ARROW-7050
             Project: Apache Arrow
          Issue Type: Bug
          Components: R
    Affects Versions: 0.15.1
            Reporter: Jeroen


As reported by gcc 8.3.0 on Windows. Maybe you should CI with -Werror?

{code}
array_from_vector.cpp: In member function 'arrow::Status 
arrow::r::TypedVectorConverter<Type, Derived>::Ingest(SEXP) [with Type = 
arrow::DoubleType; Derived = 
arrow::r::NumericVectorConverter<arrow::DoubleType>]':
array_from_vector.cpp:383:16: warning: 'value' may be used uninitialized in 
this function [-Wmaybe-uninitialized]
         double value;
                ^~~~~
{code}



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

Reply via email to