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

Warnings from configmanager build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: ConfigManager 2.0
    • Labels:
      None
    • Environment:
      osx

      Description

      XSDSchemaParser.cpp:315:79: warning: implicit conversion from 'unsigned long long' to 'unsigned int' changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion]
      unsigned maxOccurs = (maxOccursStr != "unbounded") ? stoi(maxOccursStr) : UINTMAX_MAX;
      /usr/include/stdint.h:144:27: note: expanded from macro 'UINTMAX_MAX'
      #define UINTMAX_MAX UINT64_MAX
      /usr/include/stdint.h:91:27: note: expanded from macro 'UINT64_MAX'
      #define UINT64_MAX 18446744073709551615ULL
      ^~~~~~~~~~~~~~~~~~~~~~~

        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: