orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ORC-32) Warnings under new version of xcode on MacOS.
Date Thu, 22 Oct 2015 16:26:27 GMT
Owen O'Malley created ORC-32:
--------------------------------

             Summary: Warnings under new version of xcode on MacOS.
                 Key: ORC-32
                 URL: https://issues.apache.org/jira/browse/ORC-32
             Project: Orc
          Issue Type: Bug
            Reporter: Owen O'Malley
            Assignee: Owen O'Malley


The error on the build is:

{code}
[ 82%] Building CXX object c++/src/CMakeFiles/orc.dir/Reader.cc.o
In file included from /Users/owen/work/code/orc/c++/src/Reader.cc:29:
In file included from /Users/owen/work/code/orc/c++/src/wrap/coded-stream-wrapper.h:28:
/Users/owen/work/code/orc/c++/libs/protobuf-2.6.0/src/google/protobuf/io/coded_stream.h:110:9:
error:
      macro name is a reserved identifier [-Werror,-Wreserved-id-macro]
#define GOOGLE_PROTOBUF_IO_CODED_STREAM_H__
        ^
/Users/owen/work/code/orc/c++/src/Reader.cc:1074:48: error: implicit conversion
      changes signedness: 'long long' to 'uint64_t' (aka 'unsigned long long')
      [-Werror,-Wsign-conversion]
        selectType(schema->getSubtype(*columnId-1));
                   ~~~~~~             ~~~~~~~~~^~
/Users/owen/work/code/orc/c++/src/Reader.cc:1083:26: error: implicit conversion
      changes signedness: 'int64_t' (aka 'long long') to 'size_type'
      (aka 'unsigned long') [-Werror,-Wsign-conversion]
    if (!selectedColumns[type.getColumnId()]) {
         ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
/Users/owen/work/code/orc/c++/src/Reader.cc:1084:23: error: implicit conversion
      changes signedness: 'int64_t' (aka 'long long') to 'size_type'
      (aka 'unsigned long') [-Werror,-Wsign-conversion]
      selectedColumns[type.getColumnId()] = true;
      ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
4 errors generated.
make[2]: *** [c++/src/CMakeFiles/orc.dir/Reader.cc.o] Error 1
make[1]: *** [c++/src/CMakeFiles/orc.dir/all] Error 2
make: *** [all] Error 2
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message