Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14032 [libhdfs++] Phase 2 improvements
  3. HDFS-12276

libhdfs++: uri parser has clang warnings that break external projects

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • hdfs-client
    • None

    Description

      When trying to do a clang build of libhdfs++ as part of the ORC project I get some warnings that are treated as errors:

      In file included from /home/travis/build/apache/orc/c++/libs/libhdfspp/include/hdfspp/options.h:21:
      /home/travis/build/apache/orc/c++/libs/libhdfspp/include/hdfspp/uri.h:30:7: error: 'uri_parse_error' has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit [-Werror,-Wweak-vtables]
      class uri_parse_error : public std::invalid_argument {
      ^
      2 errors generated.

      These should be fixed.

      Attachments

        Activity

          People

            anatoli.shein Anatoli Shein
            anatoli.shein Anatoli Shein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: