[
https://issues.apache.org/jira/browse/PROTON-2077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Stitcher updated PROTON-2077:
------------------------------------
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?
was:
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?
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]