Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-c-0.27.0
-
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
- is related to
-
PROTON-2080 cc1plus: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
- Closed
-
PROTON-2207 Proton-c clients cannot really be compiled with strict C89 with gnu compatible compilers
- Closed
-
PROTON-2208 Change base C language/compiler requirements to C99 or equivalent
- Closed
- links to