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

Inappropriate compile error: .. does not export main

    XMLWordPrintable

    Details

    • Type: Regression
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.4
    • Fix Version/s: 6.2.8
    • Component/s: Code Generator
    • Labels:
      None

      Description

      A compile (via the Eclipse plugin) of a module attribute can result in an error message saying that the module does not export main().

      However, if the module attribute has a parameter (even an unused parameter), the error is not raised.

      Not having a main() is only an error if the attribute is to be executed. It would be better if this error was not raised at compile time because the error required the programmer to look at the work unit to verify that the error is just a missing main() and not something that requires attention.

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              johnholt John Holt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: