You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2021/11/01 20:19:00 UTC

[jira] [Created] (ORC-1043) Fix C++ conversion compilation error in CentOS 7

Dongjoon Hyun created ORC-1043:
----------------------------------

             Summary: 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.8.0, 1.7.1, 1.6.12
            Reporter: Dongjoon Hyun


{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.3.4#803005)