From 3ec3021ee15f0e45b378e4589ad2fdf0344a63de Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 21 Dec 2016 23:51:14 -0800 Subject: Ditch our own snprintf/vsnprintf (C99). Symbol naming fixes for inproc. --- etc/README.adoc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'etc') diff --git a/etc/README.adoc b/etc/README.adoc index 11cd78b8..90faf708 100644 --- a/etc/README.adoc +++ b/etc/README.adoc @@ -49,6 +49,13 @@ for C99 is not always complete. I will stick to the mainstream features, like , the ability to use variadic macros, // comments, and perhaps the occasional use of for() locally scoped variables. +We also insist that you have working vsnprintf, snprintf. Microsoft famously +did not, or worse, had broken ones (that didn't guarantee NULL termination). +Visual Studio 2015 reportedly fixes this. Building with older versions of +Visual Studio for Microsoft platforms may leave you with some brittle code +that could break in some bad ways -- use the latest to avoid this issue. +(I'm not aware of any other platform with this kind of brain damage.) + Naming Conventions ~~~~~~~~~~~~~~~~~~ -- cgit v1.2.3-70-g09d2