Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-2025

Compile using C11 language version

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.16.0
    • 1.16.0
    • None
    • None

    Description

      All supported platforms of Dispatch can compile using C11 (or gnu11) language standard.

      There is a caveat that GCC 4.8.5 claims to support C11 atomics but it doesn't. (It does not define _STDC_NO_ATOMICS_ while in fact the stdatomic.h header is missing.) Thankfully the Dispatch code is able to deal with the situation by using GCC-specific features, so it is not a problem.

      I do not see any downsides to requiring C11 for Dispatch compilation.

      Attachments

        Issue Links

          Activity

            People

              jdanek Jiri Daněk
              jdanek Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: