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

Rationalise __int64

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Accepted
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JLib
    • Labels:
      None
    • Compatibility:
      Minor

      Description

      We should take a look at the definition of some types and other values in platform.h which have more consistent and portable definitions in c++11 std:: namespace.

      For example we define __int64 as long long, which could be 128 bits on some future system. Use of std::int64_t would avoid this

      This causes some compiler errors on existing systems as std::int64_t is not compatible with our definition of I64F format specifier (despite being the same size).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: