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

Dongjoon Hyun closed ORC-1043.
------------------------------

> Fix C++ conversion compilation error in CentOS 7
> ------------------------------------------------
>
>                 Key: ORC-1043
>                 URL: https://issues.apache.org/jira/browse/ORC-1043
>             Project: ORC
>          Issue Type: Test
>          Components: C++
>    Affects Versions: 1.7.1, 1.6.12
>            Reporter: Dongjoon Hyun
>            Assignee: William Hyun
>            Priority: Major
>             Fix For: 1.7.1, 1.6.12
>
>
> {code}
> [ 75%] Building CXX object c++/test/CMakeFiles/orc-test.dir/TestMurmur3.cc.o
> /root/orc/c++/test/TestMurmur3.cc: In member function 'virtual void 
> orc::TestMurmur3_testHash64_Test::TestBody()':
> /root/orc/c++/test/TestMurmur3.cc:36:53: error: conversion to 'uint32_t {aka 
> unsigned int}' from 'long unsigned int' may alter its value 
> [-Werror=conversion]
>      uint32_t len = sizeof(origin) / sizeof(uint8_t) - 1;
>                                                      ^
> cc1plus: all warnings being treated as errors
> make[2]: *** [c++/test/CMakeFiles/orc-test.dir/TestMurmur3.cc.o] Error 1
> make[1]: *** [c++/test/CMakeFiles/orc-test.dir/all] Error 2
> make: *** [all] Error 2
> FAILED centos7
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to