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

Warning: size argument in 'strncmp' call is a comparison

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.0
    • Component/s: JLib
    • Labels:
      None

      Description

      Building using latest Clang gives the warning "warning: size argument in 'strncmp' call is a comparison" in jutil.cpp line 398. The code is indeed incorrect though it's unlikely that it will cause problems in practice.

        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: