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

PassParameterMeta does not work with C++ Embeds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4.16
    • Fix Version/s: 7.0.0
    • Component/s: eclcc
    • Labels:
      None

      Description

      The PassParameterMeta atom works with C++ libraries but does not work when added to a C++ embed. IE:

      test(streamed dataset(r) ds) := EMBED(C++ : passParameterMeta(true))

      HqlCppWriter::generateParamCpp in hqlwcpp.cpp is checking for the presence of the passParameterMeta attribute on the "body" but it looks like for embeds the body is actual a no_funcdef and it should be checking on the first child of "body".

        Attachments

          Activity

            People

            • Assignee:
              mcmuja01 James McMullan
              Reporter:
              mcmuja01 James McMullan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: