You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (Jira)" <ji...@apache.org> on 2020/05/05 13:57:00 UTC

[jira] [Created] (PROTON-2208) Change base C language/compiler requirements to C99 or equivalent

Andrew Stitcher created PROTON-2208:
---------------------------------------

             Summary: Change base C language/compiler requirements to C99 or equivalent
                 Key: PROTON-2208
                 URL: https://issues.apache.org/jira/browse/PROTON-2208
             Project: Qpid Proton
          Issue Type: Improvement
          Components: proton-c
            Reporter: Andrew Stitcher


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org