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/07/10 21:40:00 UTC
[jira] [Resolved] (PROTON-2077) Change Minimum supported Visual
Studio compiler to 2015
[ https://issues.apache.org/jira/browse/PROTON-2077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Stitcher resolved PROTON-2077.
-------------------------------------
Fix Version/s: proton-c-0.32.0
Resolution: Fixed
> Change Minimum supported Visual Studio compiler to 2015
> -------------------------------------------------------
>
> Key: PROTON-2077
> URL: https://issues.apache.org/jira/browse/PROTON-2077
> Project: Qpid Proton
> Issue Type: Improvement
> Components: build
> Affects Versions: proton-c-0.27.0
> Reporter: Jiri Daněk
> Assignee: Andrew Stitcher
> Priority: Major
> Fix For: proton-c-0.32.0
>
>
> 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?
--
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