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

build C examples with c90 flag for older compilers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-c-0.17.0
    • proton-c-0.18.0
    • examples
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: