Atomics selection macros should be in config.h, not on CPPDEFINES

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Blocker - P1
    • legacy-0.10.0
    • Affects Version/s: None
    • Component/s: Build
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For the server, it is appropriate for the macros that select the AtomicWord/AtomicIntrinsics to be CPPDEFINES, since there is no ABI. However, for the driver, we must make these part of the config.h header so the choice of implementation is fixed at build time, since otherwise the consuming client would need to define, or risk an ODR violation.

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: