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

Change base C language/compiler requirements to C99 or equivalent

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • proton-c-0.32.0
    • proton-c
    • None

    Description

      The current language supposedly supported for clients by proton-c is C89. The current language allowed for implementing proton-c is the common subset of C89 and C++03. This was to support Visual Studio which at the time didn't support enough C99.

      This led to significant build complexity so we can build proton-c as C++ on Visual Studio.

      Since Visual Studio 2013/2015, Visual Studio has had sufficient C99 support to compile proton.

      It would allow us to significantly simplify the build process, library usage and ongoing code maintenance requirements if we only supported VS2015 and later (or if necessary VS2013 - VS2015 would be better as it has C library compatibility changes). Stripping the complex build hacks and header file hacks that support earlier Visual Studio compilers.

      Attachments

        Issue Links

          Activity

            People

              astitcher Andrew Stitcher
              astitcher Andrew Stitcher
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: