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

Consolidate platform/compiler.h

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • ALL
    • Programmability 2024-12-23

      (from SERVER-95407 silence and fix individual warnings from GCC 14.2)

      The current split among compiler.h, compiler_gcc.h, compiler_msvc.h make it very difficult to document and maintain the MONGO_COMPILER macros, and it's a noisy way to do what it's doing. It's exhausting to jump between files to see what the same line of code might do on different compilers.

      We could just have one file with appropriate #ifdef/#else/#endif blocks, and features would each be contained to one rather ordinary block of code, with a single discoverable point of documentation.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: