Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1511

C++ Client. Fix compiling issues in DRILL-1297 patch on clang

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • Client - C++
    • None

    Description

      Two issues:

      • forward enum type declaration is not allowed in C++ 03.
      • clang complains:
      error: found '<::' after a static_cast which forms the digraph '<:’ (aka '[') and a ':', did you mean '< ::'?
          ::exec::shared::QueryType castedType = static_cast<::exec::shared::QueryType> (t);
      found '<::' after a static_cast which forms the digraph '<:'
            (aka '[') and a ':', did you mean '< ::'?
      

      Attachments

        1. DRILL-1511.1.patch
          2 kB
          Xiaomeng Huang

        Issue Links

          Activity

            People

              xiaom Xiaomeng Huang
              xiaom Xiaomeng Huang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: