Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-17283

Compile problem with clang in recent changes to jptree

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4.0
    • Component/s: JLib
    • Labels:
      None

      Description

      /home/gavin/git/hpcc/system/jlib/jptree.cpp:6130:18: error: 'COrderedPTree::isEquivalent' hides overloaded virtual function [-Werror,-Woverloaded-virtual]
          virtual bool isEquivalent(IPropertyTree *tree) { return (NULL != QUERYINTERFACE(tree, COrderedPTree)); }
                       ^
      /home/gavin/git/hpcc/system/jlib/jptree.ipp:532:18: note: hidden overloaded virtual function 'LocalPTree::isEquivalent' declared here: different qualifiers (const vs none)
          virtual bool isEquivalent(IPropertyTree *tree) const override { return (nullptr != QUERYINTERFACE(tree, LocalPTree)); }
                       ^
      1 error generated.
      

        Attachments

          Activity

            People

            • Assignee:
              jakesmith Jake Smith
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: