Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-281

Fix compiler warnings from clang 5.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.4, 1.5.0
    • None
    • None

    Description

      We're currently getting:

      [ 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();
      
                  ^
      
      

      Attachments

        Issue Links

          Activity

            People

              omalley Owen O'Malley
              omalley Owen O'Malley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: