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

Spurious warnings from generated code when using Clang

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Not specified
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.2
    • Component/s: Code Generator
    • Labels:
      None

      Description

      a.out.cpp:102356:72: warning: unknown attribute 'optimize' ignored [-Wunknown-attributes]
      virtual int docompare(const void * _left, const void * _right) const OPTIMIZE {

      We should disable the pragma entirely on compilers that don't support it.

        Attachments

          Activity

            People

            • Assignee:
              richardkchapman Richard Chapman
              Reporter:
              richardkchapman Richard Chapman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: