You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2017/12/18 18:58:00 UTC

[jira] [Updated] (ORC-281) Fix compiler warnings from clang 5.0

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

Owen O'Malley updated ORC-281:
------------------------------
    Summary: Fix compiler warnings from clang 5.0  (was: Fix InputStream.hh with override markers on destructors)

> Fix compiler warnings from clang 5.0
> ------------------------------------
>
>                 Key: ORC-281
>                 URL: https://issues.apache.org/jira/browse/ORC-281
>             Project: ORC
>          Issue Type: Bug
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>
> We're currently getting:
> {code}
> [ 43%] Building CXX object c++/src/CMakeFiles/orc.dir/io/InputStream.cc.o
> In file included from /home/travis/build/apache/orc/c++/src/io/InputStream.cc:20:
> /home/travis/build/apache/orc/c++/src/io/InputStream.hh:75:13: error: '~SeekableArrayInputStream' overrides a destructor but is not marked 'override' [-Werror,-Winconsistent-missing-destructor-override]
>     virtual ~SeekableArrayInputStream();
>             ^
> /home/travis/build/apache/orc/c++/src/io/InputStream.hh:53:13: note: overridden virtual function is here
>     virtual ~SeekableInputStream();
>             ^
> /home/travis/build/apache/orc/c++/src/io/InputStream.hh:104:13: error: '~SeekableFileInputStream' overrides a destructor but is not marked 'override' [-Werror,-Winconsistent-missing-destructor-override]
>     virtual ~SeekableFileInputStream();
>             ^
> /home/travis/build/apache/orc/c++/src/io/InputStream.hh:53:13: note: overridden virtual function is here
>     virtual ~SeekableInputStream();
>             ^
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)