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

Change Minimum supported Visual Studio compiler to 2015

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: proton-c-0.27.0
    • Fix Version/s: proton-c-0.32.0
    • Component/s: build
    • Labels:
      None

      Description

      The primary goal here is so we can change the project C support to C99 everywhere.

      So we need to ensure that all the C Windows code is actually C99 or actually compile it as C++.

      Because snprintf is only supported in Visual Studio 2015. Using snprintf is the best fix for the buffer overrun in pn_proactor_addr, as per https://github.com/apache/qpid-proton/pull/176

      Also, printf supports %zu for printing size_t (since Visual Studio 2013).

      Does anyone use anything older than Visual Studio 2015 with Proton, at this point?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                astitcher Andrew Stitcher
                Reporter:
                jdanek Jiri Daněk
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: