Please review.
Signed-off-by: Jacek Caban <[email protected]>
---
mingw-w64-headers/include/sal.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/mingw-w64-headers/include/sal.h b/mingw-w64-headers/include/sal.h
index ef2e3d67..9088d5ab 100644
--- a/mingw-w64-headers/include/sal.h
+++ b/mingw-w64-headers/include/sal.h
@@ -203,6 +203,15 @@
#define _Group_(a)
#define _When_(e, a)
+/* printf/scanf annotations */
+#define _Printf_format_string_
+#define _Scanf_format_string_
+#define _Scanf_s_format_string_
+#define _Format_string_impl_(kind,where)
+#define _Printf_format_string_params_(x)
+#define _Scanf_format_string_params_(x)
+#define _Scanf_s_format_string_params_(x)
+
/* Analysis */
#define _Analysis_assume_(expr)
#define _Analysis_assume_nullterminated_(expr)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public