Github user omalley commented on the issue:

    https://github.com/apache/orc/pull/134
  
    It looks like it is a "long" vs "long long" problem.
    
    ````
    
/Users/owen/work/code/orc/build/libhdfspp_ep-prefix/src/libhdfspp_ep/lib/common/configuration.cc:85:12:
 error: no viable conversion from returned value of type 'optional<long>' to 
function return type 'optional<long long>'
        return result;
               ^~~~~~
    
/Users/owen/work/code/orc/build/libhdfspp_ep-prefix/src/libhdfspp_ep/third_party/tr2/optional.hpp:427:13:
 note: candidate constructor not viable: no known conversion from 
'std::experimental::optional<long>' to 'std::experimental::nullopt_t' for 1st 
argument
      constexpr optional(nullopt_t) noexcept : OptionalBase<T>() {};
                ^
    
/Users/owen/work/code/orc/build/libhdfspp_ep-prefix/src/libhdfspp_ep/third_party/tr2/optional.hpp:429:3:
 note: candidate constructor not viable: no known conversion from 
'std::experimental::optional<long>' to 'const std::experimental::optional<long 
long> &' for 1st argument
      optional(const optional& rhs)
      ^
    
/Users/owen/work/code/orc/build/libhdfspp_ep-prefix/src/libhdfspp_ep/third_party/tr2/optional.hpp:438:3:
 note: candidate constructor not viable: no known conversion from 
'std::experimental::optional<long>' to 'std::experimental::optional<long long> 
&&' for 1st argument
      optional(optional&& rhs) noexcept(is_nothrow_move_constructible<T>::value)
      ^
    
/Users/owen/work/code/orc/build/libhdfspp_ep-prefix/src/libhdfspp_ep/third_party/tr2/optional.hpp:447:13:
 note: candidate constructor not viable: no known conversion from 
'std::experimental::optional<long>' to 'const long long &' for 1st argument
      constexpr optional(const T& v) : OptionalBase<T>(v) {}
                ^
    
/Users/owen/work/code/orc/build/libhdfspp_ep-prefix/src/libhdfspp_ep/third_party/tr2/optional.hpp:449:13:
 note: candidate constructor not viable: no known conversion from 
'std::experimental::optional<long>' to 'long long &&' for 1st argument
      constexpr optional(T&& v) : OptionalBase<T>(constexpr_move(v)) {}
                ^
    1 error generated.
    make[5]: *** [lib/common/CMakeFiles/common_obj.dir/configuration.cc.o] 
Error 1
    make[4]: *** [lib/common/CMakeFiles/common_obj.dir/all] Error 2
    make[3]: *** [all] Error 2
    ````
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to