Compiling CUnit with Visual Studio 2015 will fail as snprintf is now define in the Universal CRT:
Beginning with the UCRT in Visual Studio 2015 and Windows 10, snprintf is no longer identical to _snprintf. The snprintf function behavior is now C99 standard compliant.
This one line path fix the problem:
--- a/CUnit.h
+++ b/CUnit.h
@@ -101,7 +101,7 @@
# else
# define CU_EXPORT
# endif
-# ifdef _MSC_VER
+# if _MSC_VER < 1900
# define snprintf _snprintf
# endif
#else
Anonymous
migrated this bug to https://gitlab.com/cunity/cunit/issues/3