Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-11485

Review WT's usage of casting

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • StorEng - Refinement Pipeline

      WT-10740 and its follow up WT-11484 highlight that how WT casts can cause issues with modern compilers. Some of this is how the API works so we can't change that, but other parts, e.g. with the WT_CELL_UNPACK* structs, is internal and we should review the strategy to be compliant with the compiler and be easy to reason about the code.

       

      The outcome of this ticket is to identify a strategy for what is good / required / bad casting with modern C and then recommend steps forward to achieve that.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            mick.graham@mongodb.com Mick Graham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: