Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1609

build C examples with c90 flag for older compilers

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: proton-c-0.17.0
    • Fix Version/s: proton-c-0.18.0
    • Component/s: examples
    • Labels:
      None

      Description

      The main proton library requires a c99 compiler (actually the overlap of c90 and c++03) but the examples should compile with c90 to ensure they work with older compiolers.

      Fix CMakeLists to use the -std=c90 flag for examples with clang and gcc compilers, to get early warning of c90-incompatible code in the examples.

        Attachments

          Activity

            People

            • Assignee:
              aconway Alan Conway
              Reporter:
              aconway Alan Conway
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: