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

using XXX.i as an inlined function file name is non-standard

    XMLWordPrintable

    Details

    • Type: Technical Debt
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.5 Required
    • Component/s: None
    • Labels:
      None

      Description

      The WiredTiger use of XXX.i as the file name for inlined functions is a little odd, generally the XXX.i suffix is reserved for files that do not require pre-processing, and in the case of MSVC, it's a Visual Studio Intermediate file that contains the output of the preprocessor.

      References: [GCC and File Extensions|http://labor-liber.org/en/gnu-linux/development/index.php?diapo=extensions

      We're currently inconsistent, some WiredTiger XXX.h files contain inline functions, some XXX.i files contain #defines.

      We could:

      • merge the XXX.i files into XXX.h files
      • rename the XXX.i files as something else (for example, XXX_inline.h)

        Attachments

          Activity

            People

            Assignee:
            backlog-server-storage-engines Backlog - Storage Engines Team
            Reporter:
            keith.bostic Keith Bostic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: