Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-60970

Compile Error in C++20 mode with GCC 11 if MONGO_COMPILER_NOINLINE is Used on Builder::_growReallocate()

    • Type: Icon: Question Question
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Dev Platform 2021-11-15
    • 64

      benety.goh added this commit, which was based on the suggestions on the Evergreen job. However, it's not clear why this limitation exists. The Builder::_growReallocate() method should not be inlined in any of its call sites. Can you please check the reason and whether it's possible to keepĀ MONGO_COMPILER_NOINLINE on this method?

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            mohammad.dashti@mongodb.com Mohammad Dashti (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: