Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Impala 2.8.0
    • Fix Version/s: Impala 2.8.0
    • Component/s: Backend
    • Labels:

      Description

      Looks like clang doesn't like 'auto' in function prototype. This seems to be introduced by the following commit: https://github.com/apache/incubator-impala/commit/707f71b6ea13487c707337785e785487d2f470f2

      ./buildall.sh -skiptests -notests -asan
      
      /kwho-desktop-1/trees/incubator-impala/be/src/util/scope-exit-trigger.h:31:26: error: 'auto' not allowed in function prototype
        ScopeExitTrigger(const auto& trigger) : trigger_(trigger) {}
                               ^~~~
      /kwho-desktop-1/trees/incubator-impala/be/src/service/fe-support.cc:99:20: error: no matching constructor for initialization of 'impala::ScopeExitTrigger'
        ScopeExitTrigger close_runtime_state([&state]() { state.ReleaseResources(); });
      

        Attachments

          Activity

            People

            • Assignee:
              henryr Henry Robinson
              Reporter:
              kwho Michael Ho
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: